(function(undefined){var f=void 0,h=true,i=null,l=false,m="",aa="\n",ba="\n\n",o=" ",ca=" comment",da=" days ago",ea=" hours ago",fa=" minutes ago",ga=" weeks ago",ha=" | ",ia="!",ja='"',ka='"Helvetica Neue Light", HelveticaNeue-Light, "Helvetica Neue", Helvetica, Arial, sans-serif',la='"]',ma="#",na="#!",oa="#000000",pa="#000080",qa="#00008b",ra="#0000cd",ua="#0000ff",va="#006400",wa="#008000",xa="#008080",ya="#008b8b",za="#009eb8",Aa="#00bfff",Ba="#00ced1",Ca="#00fa9a",Da="#00ff00",Ea="#00ff7f",Fa="#00ffff",Ga="#191970",
Ha="#1e90ff",Ia="#20b2aa",Ja="#228b22",Ka="#2e8b57",La="#2f4f4f",Ma="#32cd32",Na="#333",Oa="#3cb371",Pa="#40e0d0",Qa="#4169e1",Ra="#4682b4",Ta="#483d8b",Ua="#48d1cc",Va="#4b0082",Wa="#555",Xa="#556b2f",Ya="#5f9ea0",Za="#6495ed",$a="#666",ab="#66cdaa",bb="#696969",cb="#6a5acd",db="#6b8e23",eb="#708090",fb="#778899",gb="#7b68ee",hb="#7cfc00",ib="#7fff00",jb="#7fffd4",kb="#800000",lb="#800080",mb="#808000",nb="#808080",ob="#87ceeb",pb="#87cefa",qb="#8a2be2",rb="#8b0000",sb="#8b008b",tb="#8b4513",ub=
"#8fbc8f",vb="#90ee90",wb="#9370db",xb="#9400d3",yb="#98fb98",zb="#9932cc",Ab="#9acd32",Bb="#a0522d",Cb="#a52a2a",Db="#a9a9a9",Eb="#ad3a2b",Fb="#add8e6",Gb="#adff2f",Hb="#afeeee",Ib="#b0c4de",Jb="#b0e0e6",Kb="#b22222",Lb="#b8860b",Mb="#ba55d3",Nb="#bc8f8f",Ob="#bdb76b",Pb="#c0c0c0",Qb="#c71585",Rb="#cd5c5c",Sb="#cd853f",Tb="#d2691e",Ub="#d2b48c",Vb="#d3d3d3",Wb="#d8bfd8",Xb="#da70d6",Yb="#daa520",Zb="#db7093",$b="#dc143c",ac="#dcdcdc",bc="#dda0dd",cc="#deb887",dc="#e0ffff",ec="#e6e6fa",fc="#e9967a",
gc="#editor-frame",hc="#editor-frame .editor-apply",ic="#editor-frame .editor-control",jc="#editor-frame .editor-editor",kc="#editor-frame .editor-list .reset",lc="#editor-frame .editor-list .template",mc="#editor-frame .editor-panel",nc='#editor-frame .template[data-template="',oc="#ee82ee",pc="#eee",qc="#eee8aa",rc="#f08080",sc="#f0e68c",tc="#f0f8ff",uc="#f0fff0",vc="#f0ffff",wc="#f4a460",xc="#f5deb3",yc="#f5f5dc",zc="#f5f5f5",Ac="#f5fffa",Bc="#f8f8ff",Cc="#fa8072",Dc="#faebd7",Ec="#faf0e6",Fc=
"#fafad2",Gc="#fdf5e6",Hc="#ff0000",Ic="#ff00ff",Jc="#ff1493",Kc="#ff4500",Lc="#ff6347",Mc="#ff69b4",Nc="#ff7f50",Oc="#ff8c00",Pc="#ffa07a",Qc="#ffa500",Rc="#ffb6c1",Sc="#ffc0cb",Tc="#ffd700",Uc="#ffdab9",Vc="#ffdead",Wc="#ffe4b5",Xc="#ffe4c4",Yc="#ffe4e1",Zc="#ffebcd",$c="#ffefd5",ad="#fff0f5",bd="#fff5ee",cd="#fff8dc",dd="#fffacd",ed="#fffaf0",fd="#fffafa",gd="#ffff00",hd="#ffffe0",id="#fffff0",jd="#ffffff",kd="#gadget-background",ld="#gadget-dock",md="#gadget-holder",nd="#overview",od="#overview .overview-panel.current",
pd="#search",qd="$1",rd="$2",sd="$3",td="%",ud="&",vd="&#034;",wd="&#039;",xd="&action=",yd="&apa=1",zd="&count=horizontal&text=",Ad="&it=",Bd="&npn=1",Cd="&p=s",Dd="&rt=",Ed="&s=",Fd="&srt=",Gd="&tran=",Hd="'",Id="([0-9]{4})(-([0-9]{2})(-([0-9]{2})(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?",Jd=")",Kd="*",Ld="+",Md=",",p=", ",Nd="-",Od="-1000",Pd="-c",s=".",Qd="...",Rd=".adsense",Sd=".blogger-comments",Td=".blogspot.",Ud=".close",Vd=".comments",Wd=".comments-content",
Xd=".comments-replybox",Yd=".commentview",Zd=".defer",$d=".easter",ae=".editor",be=".editor-panel",ce=".filter",de=".gadget-icon",ee=".gadgetdock",fe=".history",ge=".item",he=".item, .overview-panel",ie=".item[data-id=",je=".jpg",ke=".metrics",le=".next",me=".on",ne=".overview",oe=".overview-content",pe=".overview-panel",qe=".previous",re=".selfselect",se=".share-controls",te=".share-facebook",ue=".share-plusone",ve=".share-twitter",we=".sharing",xe=".shortcuts",ye=".singleton-element",ze=".template",
Ae=".title",Be=".toggle-container",Ce=".toggle-switch",De=".viewitem",Ee=".viewitem-inner",Fe=".viewitem-panel",t="/",Ge="/$1_th.jpg",He="/-/",Ie="//",Je="/0.jpg",Ke="/comments/default",Le="/feeds/",Me="/feeds/pages/default",Ne="/feeds/posts/default",Oe="/search/label/",Pe="/th_$1",u="0",Qe="0.",Re="00",Se="1",Te="1 hour ago",Ue="1 minute ago",Ve="12",We="20",Xe="2000",Ye="90",Ze=":",$e=":text",af="<",bf="<(",cf="<(\\w+)",df="</",ef="</div>",ff="<a name='more'></a>",gf="<br/>",hf="<div>",jf="<img/>",
kf="=",lf='="',mf=">",nf="?",of="?v=3",pf="AM",qf="April",rf="August",sf="AuthorName",tf="AuthorURL",uf="BANNER",vf="BUTTON",wf="Cannot nest blocks with the same tag",w="Date",xf="December",yf="Even",zf="February",Af="First",Bf="Friday",Cf="GET",Df="HALF_BANNER",Ef="ID",Ff="Invalid attribute",Gf="Invalid attribute string",Hf="January",If="July",Jf="June",Kf="L0201",Lf="L0202",Mf="L0203",Nf="L0204",Of="L0205",Pf="L0206",Qf="L0207",Rf="LARGE_RECTANGLE",Sf="LEADERBOARD",Tf="Last",Uf="MEDIUM_RECTANGLE",
Vf="March",Wf="May",Xf="Missing or invalid name",Yf="Missing or invalid tag",Zf="Monday",$f="Next",ag="No scope specified",bg="No term specified",cg="November",dg="Number",eg="October",fg="Odd",gg="Overview",hg="OverviewItem",ig="PM",jg="Page",kg="PlaintextBody",lg="Post",mg="Previous",ng="S0001",og="S0002",pg="S0003",qg="S0004",rg="S0005",sg="S0006",tg="S0007",ug="S0008",vg="S0009",wg="S0011",xg="S0012",yg="S0013",zg="SKYSCRAPER",Ag="SMALL_RECTANGLE",Bg="SMALL_SQUARE",Cg="SQUARE",Dg="Saturday",Eg=
"September",Fg="Summary",Gg="Sunday",Hg="T",Ig="TemplateEditor",Jg="TemplateEditorCSS",Kg="Thursday",Lg="Tuesday",Mg="Unexpected close block",Ng="VERTICAL_BANNER",Og="Value",Pg="ViewItem",Qg="WIDE_SKYSCRAPER",Rg="Wednesday",Sg="Welcome",Tg="Yesterday",Ug="Z",Vg="]",Wg="_",Xg="__filtered",Yg="__nested:",Zg="__templates",$g="_as",x="_relative",ah="_setAccount",bh="_trackPageview",ch="a",dh="absolute",eh="ads",fh="adsense",gh="alternate",hh="alternateurl",ih="am",jh="archive_blogspot",kh="area",lh="author",
mh="b",nh="background-color",oh="background-image",ph="banner",qh="base",rh="beforeunlaod",sh="blitz",th="blitz.nocrawl.",uh="blitz_",vh="block",wh="blogger",xh="blogspot",y="body",yh="border:none; overflow:hidden; width:90px; height:21px;",zh="bottom",Ah="br",Bh="browser:",Ch="button",Dh="button_count",Eh="change",Fh="clearfilter",Gh="clearselection",Hh="clearselection.easter",Ih="clearselection.history",Jh="clearselection.metrics",Kh="clearselection.overview",Lh="clearselection.viewitem",Mh="click",
Nh="click.easter",Oh="click.editor",Ph="click.overview",Qh="click.selfselect",Rh="click.viewitem",Sh="client",Th="closing",Uh="col",Vh="collapse",Wh="collapse-breaks",Xh="color:",Yh="command",Zh="comment-form",$h="comment-view",ai="current",bi="custom",ci="data-defer",di="data-gadget",ei="data-id",fi="data-itemid",z="data-src",gi="data-template",hi="data:",ii="data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",ji="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjAiCiAgIHdpZHRoPSIxNiIKICAgaGVpZ2h0PSIxNiIKICAgaWQ9InN2ZzIiPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM0IiAvPgogIDxnCiAgICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNTMzNDA5MiwtMS42NDM5MjQpIgogICAgIGlkPSJsYXllcjEiPgogICAgPHBhdGgKICAgICAgIGQ9Ik0gNi4wNTYxODMzLDIuNTg4MDUyMSBDIDMuOTM0NTM2LDIuNTg4MDUyMSAyLjIxMjYyMDUsNC4zMDk4ODIzIDIuMjEyNjIwNSw2LjQzMTQyNCBDIDIuMjEyNjIwNSwxMC43NDczODggNi4wNTYwODU3LDEzLjEyMTAxOCA5LjUzMzQwNzgsMTYuNjk5Nzk2IEMgMTMuMDEwODI2LDEzLjEyMTAxOCAxNi44NTQxOTgsMTAuNzQyNjUgMTYuODU0MTk4LDYuNDMxNDI0IEMgMTYuODU0MTk4LDQuMzA5ODgyMyAxNS4xMzIyODUsMi41ODgwNTIxIDEzLjAxMDYzNCwyLjU4ODA1MjEgQyAxMS40NzE2NzQsMi41ODgwNTIxIDEwLjAzMzg0NSwzLjgzMzI0NSA5LjUzMzQwNzgsNC44MDM5OTYzIEMgOS4wMzc1NTE1LDMuODMzMjQ1IDcuNTk1MTQ2OSwyLjU4ODA1MjEgNi4wNTYxODMzLDIuNTg4MDUyMSB6IgogICAgICAgaWQ9InBhdGg3IgogICAgICAgc3R5bGU9ImZpbGw6I2U2MDAwMDtmaWxsLW9wYWNpdHk6MTtzdHJva2U6I2ZmY2RjZDtzdHJva2Utd2lkdGg6MTtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==",
ki="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjAiCiAgIHdpZHRoPSIxNiIKICAgaGVpZ2h0PSIxNiIKICAgaWQ9InN2ZzMzMTEiPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMzMzEzIiAvPgogIDxnCiAgICAgaWQ9ImxheWVyMSI+CiAgICA8cGF0aAogICAgICAgZD0iTSA0LjU0Njg4LDAuOTY4NzUgQyAyLjQyNTIzLDAuOTY4NzUgMC43MDMxMywyLjY5MDk2IDAuNzAzMTMsNC44MTI1IEMgMC43MDMxMyw5LjExNTYyIDQuNTE1MjcsMTEuNTAxNSA3Ljk4NDM4LDE1LjA2MjUgQyA4LjA3NTEyLDE1LjAwNzUgOC4wODMzNSwxNC45OTAyNCA4LjE3MTg4LDE0LjkzNzUgQyA4LjM0ODMyLDE0Ljc1ODIgOC41MjU2OCwxNC41ODAwNCA4LjcwMzEzLDE0LjQwNjI1IEwgNy42NzE4OCwxMi41NjI1IEwgOC40NTMxMywxMS45Njg3NSBMIDcuMjk2ODgsMTAuMTU2MjUgTCA4LjQ4NDM4LDkuMjE4NzUgTCA3LjM1OTM4LDguNDM3NSBMIDguMzkwNjMsNy4yNSBMIDcuMzI4MTMsNiBMIDguMTcxODgsNS4xNTYyNSBMIDcuMjAzMTMsNC41OTM3NSBMIDguMzI4MTMsMy45Mzc1IEwgOC4wMTU2MywzLjE4NzUgQyA3LjUxOTc3LDIuMjE2NzUgNi4wODU4NCwwLjk2ODc1IDQuNTQ2ODgsMC45Njg3NSB6IgogICAgICAgaWQ9InBhdGgzMzAyIgogICAgICAgc3R5bGU9ImZpbGw6I2U2MDAwMDtmaWxsLW9wYWNpdHk6MTtzdHJva2U6I2ZmY2RjZDtzdHJva2Utd2lkdGg6MTtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==",
li="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjAiCiAgIHdpZHRoPSIxNiIKICAgaGVpZ2h0PSIxNiIKICAgaWQ9InN2ZzMzMTEiPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMzMzEzIiAvPgogIDxnCiAgICAgaWQ9ImxheWVyMSI+CiAgICA8cGF0aAogICAgICAgZD0iTSAxMS40NTMxMywwLjkzNzUgQyA5LjkxNDE3LDAuOTM3NSA4LjQ4NDgyLDIuMTg1NSA3Ljk4NDM4LDMuMTU2MjUgTCA4LjI5Njg4LDMuOTA2MjUgTCA3LjE3MTg4LDQuNTYyNSBMIDguMTQwNjMsNS4xMjUgTCA3LjI5Njg4LDUuOTY4NzUgTCA4LjM1OTM4LDcuMjE4NzUgTCA3LjMyODEzLDguNDA2MjUgTCA4LjQ1MzEzLDkuMTg3NSBMIDcuMjY1NjMsMTAuMTI1IEwgOC40MjE4OCwxMS45Mzc1IEwgNy42NDA2MywxMi41MzEyNSBMIDguNjcxODgsMTQuMzc1IEMgMTEuOTQ5NTMsMTEuMTY0OSAxNS4yOTY4OCw4LjgxMDE5IDE1LjI5Njg4LDQuNzgxMjUgQyAxNS4yOTY4OCwyLjY1OTcxIDEzLjU3NDc4LDAuOTM3NSAxMS40NTMxMywwLjkzNzUgeiBNIDguMTQwNjMsMTQuOTA2MjUgQyA4LjA1MjEsMTQuOTU4OTkgOC4wNDM4NywxNC45NzYyNSA3Ljk1MzEzLDE1LjAzMTI1IEMgNy45NjM0OCwxNS4wNDE4OCA3Ljk3NDAzLDE1LjA1MTg1IDcuOTg0MzgsMTUuMDYyNSBDIDguMDM2MTMsMTUuMDA5MjQgOC4wODg3MywxNC45NTg5OCA4LjE0MDYzLDE0LjkwNjI1IHoiCiAgICAgICBpZD0icGF0aDMyOTYiCiAgICAgICBzdHlsZT0iZmlsbDojZTYwMDAwO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTojZmZjZGNkO3N0cm9rZS13aWR0aDoxO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgPC9nPgo8L3N2Zz4K",
mi="date:",ni="defer",oi="defer delay",pi="deferred",qi="delay",ri="discard",si="display",ti="div,h1,h2,h3,h4,h5,h6,p",ui="dynamicviews",vi="embed",wi="error",xi="fadeIn",yi="false",zi="feeds/posts/default",Ai="fetch",Bi="fetch.viewitem",Ci="fetchend",Di="fetchend.metrics",Ei="fetchstart",Fi="fetchstart.metrics",Gi="filter",Hi="font:",Ii="format",Ji="g",Ki="gadget-dock",Li="gadget-dock-fixed",Mi="gadget-dock-sliding",Ni="global-scope",Oi="halfbanner",Pi="hashchange.history",Qi="head",Ri="head #template-editor-css",
Si="height",Ti="hints",Ui="horizontal",Vi="host",Wi="hostchannel",Xi="hr",Yi="href",Zi="hsl(",$i="hsla(",aj="http://",bj="http://apis.google.com/js/plusone.js",cj="http://csi.gstatic.com/csi",dj="http://csi.gstatic.com/csi?v=3&s=blogger",ej="http://img.youtube.com/vi/",fj="http://platform.twitter.com/widgets/tweet_button.html?url=",gj="http://www.facebook.com/plugins/like.php?",hj="http://www.google.com/jsapi",ij="http://www.youtube.com/v/",jj="https:",kj="https://csi.gstatic.com/csi",lj="id",mj=
"iframe",nj="ig",oj="im",pj="image",qj="image:",rj="image:Background",sj="image:Header",tj="img",uj="init",vj="initcomplete",wj="initcomplete.metrics",xj="initialized",yj="input",zj="input#search",Aj="instant",Bj="iswriter",Cj="item",Dj="item_blogspot",Ej="json",Fj="jsonp",Gj="just now",Hj="keydown",Ij="keydown.editor",Jj="keydown.shortcuts",Kj="keygen",Lj="keypress.shortcuts",Mj="keyup.filter",Nj="konami",Oj="lang:",Pj="largerectangle",Qj="lazyload",Rj="leaderboard",Sj="left",Tj="length",Uj="light",
Vj="like",Wj="like-image",Xj="link",Yj="literal",Zj="load",$j="load error",ak="load.metrics",bk="loadcomplete",ck="loading",dk="m",ek="max-height",fk="max-width",gk="mediumrectangle",hk="meta",ik="month",jk="mousedown.easter",kk="mouseover",lk="mousewheel",mk="msie",nk="nd",ok="new",pk="no",qk="none",rk="notouch",sk="number",tk="off",uk="on",vk="opacity",wk="open",xk="overview-open",yk="page",zk="param",Ak="pm",Bk="popstate.history",Ck="prefetched",Dk="preinit",Ek="preload",Fk="prerender",Gk="preserve",
Hk="preserve-breaks",Ik="previous",Jk="prt",Kk="pst",Lk="published",Mk="published-max",Nk="published-min",Ok="px",Pk="rad)",Qk="rd",Rk="related",Sk="render",Tk="rendercomplete",Uk="rendercomplete.metrics",Vk="resize",Wk="rgb(",Xk="rgba(",Yk="rgba(255, 255, 255, 0.0)",Zk="rgba(255, 255, 255, 0.8)",$k="right",al="rotate(",bl="s",cl="sans-serif",dl="script",el="scroll",fl="select",gl="select.easter",hl="select.history",il="select.metrics",jl="select.overview",kl="select.viewitem",ll="showComment",ml=
"size",nl="skyscraper",ol="slot",pl="slow",ql="smallrectangle",rl="smallsquare",sl="source",tl="sq",ul="square",A="src",vl="st",wl="start",B="string",xl="t",yl="table",zl="tag",Al="tag:",Bl="template-editor-css",Cl="templates.editor",Dl="text",El="text,image",Fl="text:BodyBackgroundCSS",Gl="text:Custom CSS",Hl="text:HeaderBackgroundCSS",Il="th",Jl="toggle-active",Kl="token",Ll="top",Ml="touch",Nl="transparent",Ol="trim",Pl="true",Ql="type",Rl="unknown",Sl="unload",Tl="updated",Ul="updated.adsense",
Vl="updated.comments",Wl="updated.editor",Xl="updated.filter",Yl="updated.gadgetdock",Zl="updated.sharing",$l="url",am="v",bm="value",cm="vertical",dm="verticalbanner",em="video",fm="view",gm="viewitem",hm="viewitem-open",im="viewitem.metrics",jm="webkitvisibilitychange",km="white",lm="whitespace",mm="wideskyscraper",nm="width",om="width:110px; height:20px;",pm="wmode",qm="www.youtube.com",rm="x",sm="year",tm="z",um="z-index",vm="{",wm="{/block:",xm="{/template:",ym="{block:",zm="{template:";
function D(){return function(){}}function E(a){return function(){return this[a]}}var F,Am=window.blogger=window.blogger||{};window.console||(window.console={log:D()});function G(){}G.prototype.init=function(a,b){this.value=a;this.start=b;return this};G.prototype.invalid=function(a){if(a)this.Eb=a;return this.Eb||l};G.prototype.apply=D();var Bm=/([^\s=]+)\s*=\s*(\'[^<\']*\'|\"[^\"]*\"|[\S]*)/g,Cm=/([^\s=]+)\s*=\s*(\'[^\']*\'|\"[^\"]*\")/g;G.prototype.extractAttributes=function(a,b){for(var c=b===l?Bm:Cm,d,e=-1;d=c.exec(a);)if(e++,e+=d[0].length,d[1]!==m&&d[2]!==m){var g=d[2].replace(/^(\'|")(.*)(\1)$/,rd);this.attr(d[1],g)}else this.invalid(Ff);e!=a.length&&this.invalid(Gf)};
G.prototype.attr=function(a,b){if(typeof b!=="undefined")this.attributes=this.attributes||{},this.attributes[a]=typeof b===B?b:m+b;if(this.attributes)return this.attributes[a]};
G.prototype.resolveAttr=function(a,b){var c=this.attr(a);if(c){if(Dm.exec(c))return b?Em((new Fm).init(c).apply(b)):f;else if(Gm.exec(c))return b?Em((new Hm).init(c).apply(b)):f;c=c.replace(Im(Dm),function(a){a=b?(new Fm).init(a).apply(b):f;return a!==f?a:m});c=c.replace(Im(Gm),function(a){a=b?(new Hm).init(a).apply(b):f;return a!==f?a:m})}return Em(c)};function Em(a){return a===Pl?h:a===yi?l:a}
function Im(a){return a.global?RegExp(a):(a=a.source,a=a.replace(/^\^/,m).replace(/\$$/,m),RegExp(a,Ji))};function H(){this.Na=[]}$.extend(H.prototype,G.prototype);var Jm=/^{block:([^\s}]+)(?:\s(.+))?}$/,Km=/^(\w+)s$/,Lm=/^(?:Has|If(?!Not))(.+)$/,Mm=/^(?:IfNot)(.+)$/;H.prototype.init=function(a,b){this.value=a;this.start=b;var c=Jm.exec(this.value);(this.tag=c&&c[1])?c[2]&&this.extractAttributes(c[2]):this.invalid(Yf);return this};H.prototype.children=E("Na");H.prototype.add=function(a){this.Na.push(a)};
H.prototype.apply=function(a){var b=Nm(this,a),c=[];if(b)if(b instanceof Array)for(var d=0,e=b.length;d<e;d++){var g=new I(b[d],a),j=g,k=e,n=d+1;j.scope(fg,n%2==1);j.scope(yf,n%2==0);j.scope(dg,n);j.scope(Af,n==1);j.scope(Tf,n==k);k=(k=this.tag.match(Km))&&k[1]||this.tag;j.scope(k+n,h);j.scope(k,j.context);c=c.concat(Om(this,g))}else c=c.concat(Om(this,a));return c.join(m)};
function Nm(a,b){var c=a.tag,d=b.data(c);return typeof d!=="undefined"?d:Mm.test(c)?(c=Mm.exec(c)[1],d=b.data(c),typeof d==="undefined"||d==l):Lm.test(c)?(c=Lm.exec(c)[1],d=b.data(c),typeof d==="undefined"?l:d!=l):b.data(c)}function Om(a,b){for(var c=[],d=0,e;e=a.Na[d];d++)c.push(e.apply(b));return c};function Pm(){}$.extend(Pm.prototype,G.prototype);var Qm=/^{\/(?:block|template):([^\s}]+)}$/;Pm.prototype.init=function(a,b){this.value=a;this.start=b;var c=Qm.exec(this.value);(this.tag=c&&c[1])||this.invalid(Yf);return this};function Rm(a){this.Eb=a}$.extend(Rm.prototype,G.prototype);function Sm(){}$.extend(Sm.prototype,G.prototype);Sm.prototype.apply=E(bm);function Hm(){}$.extend(Hm.prototype,G.prototype);var Gm=/^{(\w+):(.*)}$/;Hm.prototype.init=function(a,b){this.value=a;this.start=b;var c=Gm.exec(this.value);this.scope=c&&c[1];this.term=c&&c[2];if(this.scope)if(this.term){if(c=this.term.search(Cm),c>0)this.extractAttributes(this.term.substr(c),h),this.term=this.term.substring(0,c).replace(/\s+$/,m)}else this.invalid(bg);else this.invalid(ag);this.name=this.scope+Ze+this.term;return this};
Hm.prototype.apply=function(a){if(!this.invalid()){var b=this.scope+Ze+this.term,c=J().template(b);if(c&&!a.scope(Yg+b)){var d=new I(a.context,a);d.scope(Yg+b,h);for(var e in this.attributes)d.scope(e,this.resolveAttr(e,a));return c.apply(d)}else return(c=J().generator(b))?c.call(this,a):a.data(b)}};function Tm(a){this.name=a;this.Oa=[]}$.extend(Tm.prototype,G.prototype);var Um=/^{template:([^\s}]+)(?:\s(.+))?}$/;F=Tm.prototype;F.init=function(a,b){this.value=a;this.start=b;var c=Um.exec(this.value);(this.name=this.tag=c&&c[1])?c[2]&&this.extractAttributes(c[2]):this.invalid(Xf);return this};F.children=E("Oa");F.add=function(a){this.Oa.push(a)};F.raw=function(a){if(typeof a!=="undefined")this.gd=a;return this.gd};
F.find=function(a,b,c){function d(c){if(c&&c.children)for(var j=0,k;k=c.children()[j];j++)k.tag==a&&(k instanceof H||b)&&e.push({parent:c,child:k}),d(k)}var e=[];d(c||this);return e};F.apply=function(a){for(var a=a instanceof I?a:new I(a),b=[],c=0,d;d=this.Oa[c];c++)b.push(d.apply(a));return Vm(this,b.join(m))};
function Vm(a,b,c){c=c||a.attr(lm);if(!c||c==Gk)return b;else if(c==ri)return b.replace(/\s/g,m);else if(c==Ol)return b.replace(/^\s+/,m).replace(/\s+$/,m);else if(c==Vh||c==Hk||c==Wh){b=b.replace(/\n([\t ]+)/g,aa);c==Vh&&(b=b.replace(/\n/g,o));for(var b=b.replace(/\t/g,o),b=b.replace(/ ( )+/g,o),b=b.split(aa),d=0,e=b.length;d<e;d++)b[d]=b[d].replace(/^\s+/,m).replace(/\s+$/,m);b=b.join(aa);return c==Wh?Vm(a,b.replace(/\n[\s]+/g,aa),Ol):b}};function Fm(){}$.extend(Fm.prototype,G.prototype);var Dm=/^{([^\s:}]+)(?:\s(.+))?}$/,Wm=[{prefix:"JSPlaintext",transform:function(a){a=$(hf+a+ef).text();return[Hd,a?a.replace(/\'/g,wd):m,Hd].join(m)}},{prefix:"Plaintext",transform:function(a){return $(hf+a+ef).text()}},{prefix:"URLEncoded",transform:function(a){return encodeURIComponent(a)}},{prefix:"JS",transform:function(a){return[Hd,a?a.replace(/\'/g,wd):m,Hd].join(m)}}];
Fm.prototype.init=function(a,b){this.value=a;this.start=b;var c=Dm.exec(this.value);(this.variable=this.tag=c&&c[1])?c[2]&&this.extractAttributes(c[2]):this.invalid(Yf);if(this.tag)for(var c=0,d;d=Wm[c];c++)if(this.tag.indexOf(d.prefix)===0){this.transform=d.prefix;this.variable=this.tag.substr(d.prefix.length);break}this.name=this.variable;return this};
Fm.prototype.apply=function(a){if(this.variable){var b=J().template(this.tag);if(b&&!a.scope(Yg+this.tag)){var c=new I(a.context,a);c.scope(Yg+this.tag,h);for(var d in this.attributes)c.scope(d,this.resolveAttr(d,a));return b.apply(c)}else{c=(b=J().generator(this.variable))?b.apply(this,[a]):a.data(this.variable);if(!b&&c===f&&this.variable==Og)c=a.context;a:if(a=c,this.transform&&a)for(b=0;c=Wm[b];b++)if(c.prefix===this.transform){a=c.transform(a);break a}return a}}};function Xm(a){this.source=typeof a===B?a:m;this.length=this.source.length;this.column=this.line=this.D=0}F=Xm.prototype;F.hasNext=function(){return this.D<this.length};F.next=function(){if(this.hasNext()){var a=this.source.charAt(this.D);this.D++;a.charAt(0)==aa?(this.line++,this.column=0):this.column++;return a}};F.consume=function(a){if(this.hasNext()){for(var b=[],c=0;c<a;c++)b.push(this.next());return b.join(m)}};
F.remainder=function(){if(this.hasNext()){for(var a=[];this.hasNext();)a.push(this.next());return a.join(m)}};F.peek=function(a){a=a||this.D;if(a<this.length&&a>=0)return this.source.charAt(a)};F.match=function(a,b){var c=this.source.substr(b||this.D);if(typeof a===B){if(c.slice(0,a.length)===a)return a}else if(a instanceof RegExp&&c.search(a)===0)return c.match(a)[0]};F.search=function(a,b){var c=this.source.substr(b||this.D);if(typeof a===B)return c.indexOf(a);else if(a instanceof RegExp)return c.search(a)};function I(a,b){var c=J().converter(a);this.context=c?c(a):a;this.ancestor=b;this.Qa={}}var Ym=/(\w+):([^}]+)/;I.prototype.scope=function(a,b){typeof b!=="undefined"&&(this.Qa[a]=b);return typeof this.Qa[a]!=="undefined"?this.Qa[a]:this.ancestor&&this.ancestor.scope(a)};
I.prototype.value=function(a){var b=this.context&&this.context[a];typeof b==="undefined"&&(b=this.scope(a));if(typeof b==="undefined"&&a.indexOf(s)>=0)for(var a=a.split(s),c=a.shift(),d=this.context[c]||this.scope(c);(c=a.shift())&&d;)if(d=d[c],a.length==0)b=d;else if(!d)break;return b};I.prototype.data=function(a,b){return Ym.test(a)?this.scope(a,b):this.value(a)};function K(){this.ua={};this.vb=[];this.La=[]}var Zm;K.prototype.$c=l;function J(){Zm||(Zm=new K);return Zm}K.prototype.template=function(a,b){typeof b!=="undefined"&&(this.ua[a]=this.compile(b));return this.ua[a]};
K.prototype.generator=function(a,b){if(b&&a){var c={test:a,generator:b};this.La.push(c);this.La.sort(function(a,b){return(typeof b.test===B?b.test.length:0)-(typeof a.test===B?a.test.length:0)});return c.generator}else if(a&&typeof a===B)for(var c=0,d;d=this.La[c];c++)if(typeof d.test===B&&a.indexOf(d.test)===0)return d.generator;else if(d.test instanceof RegExp&&d.test.test(a))return d.generator};
K.prototype.converter=function(a,b){if(a&&typeof b!=="undefined")return this.vb.push({type:a,converter:b}),b;for(var c=0,d;d=this.vb[c];c++)if(a instanceof d.type)return d.converter};var $m=/^{\/?([\w-]+(:[\w\-]+)?(?:(?:[\w:\-\'\"= \.]*[^\s])|(\s*([^\s=]+)\s*=\s*(\'[^\']*\'|\"[^\"]*\"))*)?)}/,an=/{(\w+:)/;
K.prototype.compile=function(a,b){var c=new Xm(a),d=typeof b!=="undefined"?b:h,e=new Tm;e.raw(a);for(var g=e,j=[e],k=i;k=bn(c);){var n=i,n=k.type==Yj?Sm:k.value.indexOf(ym)===0?H:k.value.indexOf(wm)===0?Pm:k.value.indexOf(zm)===0?Tm:k.value.indexOf(xm)===0?Pm:k.value.search(an)===0?Hm:Fm,k=(new n).init(k.value,k.start);if(k instanceof H||k instanceof Tm){if(K.$c)for(n=0;n<j.length;n++){if(j[n].tag==k.tag){k.invalid(wf);break}}else if(g.tag==k.tag){d&&cn(this,j.pop(),c);g=j[j.length-1];continue}g.add(k);
g=k;j.push(g)}else k instanceof Pm?g.tag==k.tag?(d&&cn(this,j.pop(),c),g=j[j.length-1]):(n=new Rm(Mg),n.init(k.value,k.start),g.add(n)):g.add(k)}return e};function cn(a,b,c){b instanceof Tm&&b.name&&(b.raw(c.source.substring(b.start||0,c.D)),a.ua[b.name]=b)}
function bn(a){if(a&&a.hasNext()){var b=a.D,c=a.match($m);if(c)return{type:Kl,value:a.consume(c.length),start:b};else{for(c=[];a.hasNext();){if(a.peek()===vm)if(a.match($m))break;else if(a.match($m,a.D+1)){a.next();c.push(a.consume(a.match($m).length));continue}c.push(a.next())}return{type:Yj,value:c.join(m),start:b}}}};window.templates=window.templates||J;var dn={group:function(a,b){var c=dn.categorizers[b];if(!c)return i;for(var d=[],e=0,g;g=a[e];e++){for(var j=i,k=0,n;n=d[k];k++)if(c.Ma(n,g)){j=n;break}j||(j=c.Ka(g),d.push(j));j.addItem(e,g)}d.sort(function(a,b){return a.unknown||b.unknown?a.unknown?1:-1:c.Ja(a,b)});return d},categorizers:{author:{Ma:function(a,b){return b.author?a.attr(bm)==b.author.name:a.unknown},Ka:function(a){return a.author?new L(a.author.name,{type:lh,value:a.author.name}):new L(Rl,i,h)},Ja:function(a,b){return a.caption.toLowerCase()>
b.caption.toLowerCase()?1:-1}},tag:{Ma:function(a,b){return b.tags&&b.tags.length>0?a.attr(bm)==b.tags[0]:a.unknown},Ka:function(a){return a.tags&&a.tags.length>0?new L(a.tags[0],{type:zl,value:a.tags[0]}):new L(qk,i,h)},Ja:function(a,b){return a.caption.toLowerCase()>b.caption.toLowerCase()?1:-1}},published:{Ma:function(a,b){return b.published?a.attr(sm)==b.published.getFullYear()&&a.attr(ik)==b.published.getMonth():a.unknown},Ka:function(a){return a.published?new L([Hf,zf,Vf,qf,Wf,Jf,If,rf,Eg,eg,
cg,xf][a.published.getMonth()]+o+a.published.getFullYear(),{type:Lk,year:a.published.getFullYear(),month:a.published.getMonth()}):new L(Rl,i,h)},Ja:function(a,b){return a.attr(sm)==b.attr(sm)?a.attr(ik)<b.attr(ik)?1:-1:a.attr(sm)<b.attr(sm)?1:-1}}}};function L(a,b,c){this.caption=a;this.Uc=[];this.Cb=$.extend({},b);this.unknown=c?h:l}
L.prototype={attr:function(a,b){b!=i&&(this.Cb[a]=b);return this.Cb[a]},addItem:function(a,b){this.items().push({index:a,item:b})},values:function(){return $.map(this.items(),function(a){return a.item})},indexes:function(){return $.map(this.items(),function(a){return a.index})},items:E("Uc"),count:function(){return this.items().length}};var M={Bb:/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Vc:/^(?:(([^:\/?#]+):){1}(\/\/)?)|(\/\/)/,Pa:function(){return document.URL},isCrossDomain:function(a){var b=M.decode(),a=a instanceof N?a:new N(a);return b.authority!=a.authority},isSamePage:function(a){var b=M.decode(),a=a instanceof N?a:new N(a);return b.authority==a.authority&&b.path==a.path}};M.decode=function(a){return new N(a||M.Pa())};
M.authority=function(a,b){var c=a||M.Pa(),d=c.match(/^(https?:\/\/)/),d=d?d[0]:aj;if(c=/([^\/]+)\/?(.*)/.exec(c.replace(d,m)))return d+(c[1].indexOf(s)<0&&b?c[1]+s+b:c[1]).toLowerCase()};M.rewritePath=function(a){a=a instanceof N?a:new N(a);if(window.history.pushState)try{return M.Pa()!=a.encode()&&window.history.pushState(i,m,a.encode()),h}catch(b){}a=na+a.path;return window.location.hash!=a?(window.location.hash=a,h):l};function N(a){this.url=a!==i?a:f;this.params={};a&&en(a,this)}
function en(a,b){var c=b||new N,d=M.Vc.exec(a)?M.Bb.exec(a):M.Bb.exec(Ie+a);if(d&&d.length&&(c.scheme=d[2],c.authority=d[4]&&d[4].toLowerCase(),c.path=d[5],c.query=d[7],c.params={},c.fragment=d[9],c.query))for(var d=c.query.split(ud),e=0,g=d.length;e<g;e++)if(d[e]){var j=d[e].split(kf);c.params[j[0]]=j[1]||m}return c}
N.prototype.encode=function(a,b,c){var a=typeof a!=="undefined"?a:h,b=typeof b!=="undefined"?b:h,d;if(c)d=$.param(this.params);else{c=[];for(d in this.params)this.params[d]!==f?c.push(d+kf+this.params[d]):c.push(d);d=c.join(ud)}return[this.scheme?this.scheme+Ze:m,this.authority?Ie+this.authority:m,this.path,a&&d?nf+d:m,b&&this.fragment?ma+this.fragment:m].join(m)};N.prototype.root=function(){return[this.scheme?this.scheme+Ze:m,this.authority?Ie+this.authority:m].join(m)};
N.prototype.param=function(a,b){return typeof b!=="undefined"?(this.params[a]=b,this):this.params[a]};N.prototype.normalize=function(){this.scheme=this.scheme||M.decode().scheme;this.path=this.path||t;return this};var fn=/\/search\/label\/([\w\d\s%]+)/,gn=/\/(\d{4}_)(\d{1,2}_)?(\d{1,2}_)?archive\.html/;function hn(){var a=M.decode(f);if(fn.test(a.path))return Al+decodeURIComponent(fn.exec(a.path)[1]);else if(gn.test(a.path))return a=gn.exec(a.path),[mi,a[1],a[2],a[2]&&a[3]].join(m).replace(/_/g,m)}
function jn(a){if(a&&a.indexOf(Al)==0)return a.substr(4);else if(a&&a.indexOf(mi)==0){var b=a.substr(5),a=parseInt(b.substring(0,4),10),c=b.substring(4,6)||m,b=b.substring(6,8)||m;c?(c=parseInt(c,10)-1,b?b=parseInt(b,10)+1:c++):c=12;return(new Date(a,c,b)).getTime()-1}};function kn(a,b,c){this.i=a;this.kb=l;this.K=0;this.X=this.pageSize(b)||1;this.tc=c?c:0}F=kn.prototype;F.pageSize=function(a){if(typeof a!=="undefined")this.X=parseInt(a,10),this.X=this.X>0?this.X:1;return this.X};F.items=function(){return this.i.items().slice(0,this.K)};F.resource=function(){return this.i.resource()};F.dispose=function(){this.w=i;this.i.dispose()};F.waiting=function(){return this.i.waiting()||!!this.w};F.hasNext=function(){return this.i.items().length>=this.K+1||this.i.hasNext()};
F.reset=function(){this.i.reset();this.K=0};F.prefetch=function(){this.i.next(D())};F.next=function(a){this.w=a||this.w;clearTimeout(this.Oc);this.Oc=setTimeout($.proxy(this.Pc,this),Math.max(1,this.tc))};F.Pc=function(){if(this.i.items().length>=this.K+1){var a=Math.min(this.K+this.X,this.i.items().length),b=this.i.items().slice(this.K,a);this.K=a;a=this.w;this.w=i;a&&a(b)}else if(!this.i.waiting())this.kb?(b=this.w,this.w=i,b&&b(i)):this.i.next($.proxy(this.vc,this))};
F.vc=function(a){if(a==i)this.kb=h;this.next(i)};function ln(){var a=new I(mn());return nn(a)}function on(a){var b=$.isArray(a)?a[0]:a;if(b instanceof P||b instanceof Q){var b=$.isArray(a)?pn(a):qn(a),c,a=$.isArray(a)&&a.length?a[0]:a,a=a instanceof P&&lg||a instanceof Q&&jg||m;$.isArray(b)?(c={},c[a+bl]=b,c=new I(c)):(c=new I(b),c.scope(a,b));b=nn(c)}else b=nn(new I(a));return b}
function nn(a){var b=rn(R(),Ni);if(!b){var b={},c=R().settings,d=S().resource(),e=c.headless||l;c.analytics_id&&!e&&(b.AnalyticsID=c.analytics_id);if(c.adsense_client_id&&!e)b.Adsense=h,(b.AdsenseClient=c.adsense_client_id)&&(b.AdsenseHost=c.adsense_host_id);e=!!R().settings.comments_enabled;b.Comments=e;b.Notes=e;b.Gadgets=!!c.enableGadgets;var g=m,c=$.map(Am.views||[],function(a){var b=a.name||m,b=b.charAt(0).toUpperCase()+b.slice(1);g=a.selected?b:g||b;return{URL:a.url,Label:b,Current:a.selected}});
c.sort(function(a,b){return a.Label<b.Label?-1:a.Label==b.Label?0:1});b.Views=c;b.CurrentView=g;b[Bh+$.browser.type]=h;b[Bh+$.browser.type+$.browser.versionX]=h;b.Mobile=$.support.touch;$.extend(b,sn());if(d)b.PostCount=d.total,d.filter&&d.filter.indexOf(Al)===0&&(b.TagPage=d.filter.substr(4));d=M.decode(d&&d.url).authority||m;b.CustomDomain=d.indexOf(Td)==-1;rn(R(),Ni,b)}for(var j in b)a.scope(j,b[j]);return a}
function sn(){var a={};$.extend(a,{"font:Text":ka,"color:Text":Na,"image:Background":f,"color:Background":pc,"image:Header":f,"color:Header Background":Na,"color:Menu Text":km,"font:Link":ka,"color:Link":za,"color:Link Visited":za,"color:Link Hover":za,"font:Blog Title":ka,"color:Blog Title":Wa,"font:Blog Description":ka,"color:Blog Description":Wa,"font:Post Title":ka,"color:Post Title":Na,"color:Ribbon":$a,"color:Ribbon Hover":Eb,"color:Bubble":$a},R().settings.template_styles);R().settings.additional_css&&
(a[Gl]=R().settings.additional_css);var b=/^(bold|normal|italic|\d+%|\d+px|\s)+/i,c;for(c in a)if(c.indexOf(Hi)==0)a[c]=a[c].replace(b,m);else if(c==rj){var d=/.*url\((.*?)\).*/.exec(a[c]);d&&(a[sj]=a[c]=d[1],a[Fl]=a[Hl]=d[0])}return a}
function mn(){var a={},b=S().resource();if(!b)return a;a.BlogID=b.id;a.Title=b.title;a.Subtitle=a.Description=b.subtitle;a.Posts=pn(S().items());R().settings.pages&&(a.Pages=$.map(R().settings.pages,function(a){return{ID:a.page_id,URL:a.url,Label:a.title}}));b=b.ja||b.url||m;a.RSS=[b,b[b.length-1]==t?m:t,zi].join(m);return a}function pn(a){a=a||S().items();return $.map(a,qn)}function qn(a){return a.Fb?a.Fb:a.Fb=$.extend({},tn(a),un(a),vn(a),wn(a),xn(a))}
function tn(a){var b={},c=a instanceof P&&lg||a instanceof Q&&jg||m;b[c+Ef]=a.id;b.BlogID=a.blogId;b.Title=a.title;b.Body=a.content();if(R().settings.headless){var d=function(a){var b=M.decode(a.attr(A));b.authority=th+b.authority;return a.attr(A,b.encode()).encode()};b.Body=$.tags(b.Body,{tag:em,attr:A,replace:d});b.Body=$.tags(b.Body,{tag:mj,attr:A,replace:d});b.Body=$.tags(b.Body,{tag:vi,attr:A,replace:d});b.Body=$.tags(b.Body,{tag:dl,replace:function(a){return a.attr(A)?d(a):m}})}b.PlaintextBody=
a.text();a.body&&a.body.indexOf(ff)>=0&&(b.Summary=a.summary());b.Permalink=a.link;b.Date=a.published;if(a.author)b[c+sf]=a.author.name,b[c+tf]=a.author.profileUrl;if(a.tags){var e=((S().resource()?S().resource().ja:f)||m)+Oe;b.Tags=$.map(a.tags,function(a){return{Tag:a,URLSafeTag:encodeURIComponent(a),TagURL:e+encodeURIComponent(a)}});b.TagsAsClasses=$.asClasses(a.tags)}if(a.relatedUrl)b.RelatedURL=a.relatedUrl;return b}
function un(a){var b={};b.Photos=$.map(a.images(),function(b){var d=T.full(b);return T.canResize(d)?{Caption:a.title,LinkURL:d,PhotoURL:b,"PhotoURL-HighRes":d}:i});b.Photos&&b.Photos.length&&$.extend(b,b.Photos[0]);b.Videos=$.map(a.videos(),function(b){return{Caption:a.title,Video:b.embed,VideoURL:b.url,PhotoURL:b.thumbnail}});if(b.Videos&&b.Videos.length)b.Video=b.Videos[0].Video,b.VideoURL=b.Videos[0].VideoURL,b.PhotoURL=b.PhotoURL||b.Videos[0].PhotoURL;return b}
function vn(a){var b={},c=a instanceof P&&lg||a instanceof Q&&jg||m;b.Comments=b.Notes=!!R().settings.comments_enabled&&!!a.allowComments&&c==lg;if(b.Comments)b.CommentCount=b.NoteCount=a.commentCount||0,b.CommentCountWithLabel=b.CommentCount+ca+(b.CommentCount!=1?bl:m),b.NoteCountWithLabel=b.CommentCountWithLabel;return b}
function wn(a){var b={},c=a instanceof P&&lg||a instanceof Q&&jg||m,d=S().items(),e=$.inArray(a,d),g;e>=0&&(g=e>0?d[e-1]:i,d=e<d.length-1?d[e+1]:i,b[mg+c]=g?g.link:l,b[$f+c]=d?d.link:S().hasNext());b.SameDayDate=g&&g.published&&g.published.getDate()==a.published.getDate()&&g.published.getMonth()==a.published.getMonth()&&g.published.getFullYear()==a.published.getFullYear()?h:l;b.NewDayDate=!b.SameDayDate;if(e!=-1)a=e+1,b.Odd=a%2==1,b.Even=a%2==0,b.Number=a,b[c+a]=h;return b}
function xn(a){var b={Text:h};b.Photo=a.images().length==1;b.Photoset=a.images().length>1;b.Video=a.videos().length>0;return b};(function(a){function b(a){var b=Il,c=a%10;Math.floor(a/10)%10!=1&&(c==1?b=vl:c==2?b=nk:c==3&&(b=Qk));return b}var c=[Gg,Zf,Lg,Rg,Kg,Bf,Dg],d=[Hf,zf,Vf,qf,Wf,Jf,If,rf,Eg,eg,cg,xf],e=[{test:/^DayOfMonth$/,generator:function(a){if(a=a.data(w))return a.getDate()}},{test:/^DayOfMonthWithZero$/,generator:function(a){if(a=a.data(w))return a.getDate()<10?u+a.getDate():a.getDate()}},{test:/^DayOfWeek$/,generator:function(a){if(a=a.data(w))return c[a.getDay()]}},{test:/^ShortDayOfWeek$/,generator:function(a){if(a=
a.data(w))return c[a.getDay()].substr(0,3)}},{test:/^DayOfWeekNumber$/,generator:function(a){if(a=a.data(w))return a.getDay()||7}},{test:/^DayOfMonthSuffix$/,generator:function(a){if(a=a.data(w))return b(a.getDate())}},{test:/^DayOfYear$/,generator:function(a){if(a=a.data(w))return Math.ceil((a-new Date(a.getFullYear(),0,1)+1)/864E5)}},{test:/^WeekOfYear$/,generator:function(a){if(a=a.data(w))return Math.ceil(Math.ceil((a-new Date(a.getFullYear(),0,1)+1)/864E5)/7)}},{test:/^Month$/,generator:function(a){if(a=
a.data(w))return d[a.getMonth()]}},{test:/^ShortMonth$/,generator:function(a){if(a=a.data(w))return d[a.getMonth()].substr(0,3)}},{test:/^MonthNumber$/,generator:function(a){if(a=a.data(w))return a.getMonth()+1}},{test:/^MonthNumberWithZero$/,generator:function(a){if(a=a.data(w))return a.getMonth()<9?u+(a.getMonth()+1):a.getMonth()+1}},{test:/^Year$/,generator:function(a){if(a=a.data(w))return a.getFullYear()}},{test:/^ShortYear$/,generator:function(a){if(a=a.data(w))return a.getFullYear().toString().substr(2)}},
{test:/^AmPm$/,generator:function(a){if(a=a.data(w))return a.getHours()<12?ih:Ak}},{test:/^CapitalAmPm$/,generator:function(a){if(a=a.data(w))return a.getHours()<12?pf:ig}},{test:/^12Hour$/,generator:function(a){if(a=a.data(w))return a.getHours()>12?a.getHours()-12:a.getHours()||Ve}},{test:/^24Hour$/,generator:function(a){if(a=a.data(w))return a.getHours()}},{test:/^12HourWithZero$/,generator:function(a){if(a=a.data(w))return a=a.getHours()>12?a.getHours()-12:a.getHours()||Ve,a<10?u+a:a}},{test:/^Minutes$/,
generator:function(a){if(a=a.data(w))return a=a.getMinutes(),a<10?u+a:a}},{test:/^Seconds$/,generator:function(a){if(a=a.data(w))return a=a.getSeconds(),a<10?u+a:a}},{test:/^Beats$/,generator:function(a){if(a=a.data(w))return a=a.getMilliseconds(),a<10?Re+a:a<100?u+a:a}},{test:/^Timestamp$/,generator:function(a){if(a=a.data(w))return Math.ceil(a.getTime()/1E3)}},{test:/^TimeAgo$/,generator:function(a){var c=a.data(w);if(c){a=[c.getDate(),b(c.getDate()),o,d[c.getMonth()]].join(m);c.getFullYear()<(new Date).getFullYear()&&
(a+=o+c.getFullYear());var c=((new Date).getTime()-c.getTime())/1E3,e=Math.floor(c/86400);return isNaN(e)||e<0||e>=31?a:e==0&&(c<60&&Gj||c<120&&Ue||c<3600&&Math.floor(c/60)+fa||c<7200&&Te||c<86400&&Math.floor(c/3600)+ea)||e==1&&Tg||e<7&&e+da||e<31&&Math.ceil(e/7)+ga}}},{test:/^ISO8601$/,generator:function(a){if(a=a.data(w))return a.toISOString()}}],g=/^((?:Photo|Portrait)URL)(?:-(\d+)(sq)?)?$/,j=[{test:Xh,generator:function(b){var c=b.data(this.name);if(c){var c=a.color(c),d;for(d in this.attributes)if(d in
c&&a.isFunction(c[d]))c[d](this.resolveAttr(d,b));return a.browser.type==mk&&a.browser.versionX<9?c.alpha()==0?Nl:c.hex():c.rgba()}return Nl}},{test:Hi,generator:function(a){a=a.data(this.name);return a!==f?a:cl}},{test:qj,generator:function(a){a=a.data(this.name);return a!==f?a:ii}}],k=0,n;for(;n=e[k];k++)J().generator(n.test,n.generator);J().generator(g,function(a){var b=g.exec(this.name),c=a.data(b[1]);if(c){var d=b[2]||this.resolveAttr(ml,a),a=b[3]==tl||!!this.resolveAttr(ul,a);if(d&&!isNaN(parseInt(d,
10)))return T.thumbnail(c,parseInt(d,10),a)}return c?c:ii});J().generator(/^Summary$/,function(b){var c=this.resolveAttr(Dl,b);if(!c)if(b.data(Fg))return b.data(Fg);else c=b.data(kg);b=this.resolveAttr(Tj,b)||300;return c&&c.substring?(c=a.trim(c.substring(0,b)),b=c.match(/(?:.|\n|\r)*(\.(?=\s|\n|\r)|\.$)/),(b?b[0]:c).replace(/\n/g,gf)):c});J().generator(Oj,function(a){return a.data(this.name)||this.term});for(k=0;n=j[k];k++)J().generator(n.test,n.generator)})(jQuery);var T={};T.getImage=function(a,b){if(a){var c=$.extend({},T.defaults,b);c.Y=c.Y||Math.min(c.width,c.height);for(var d=0,e;e=T.services[d];d++)if(e.match(a))if(c.yb&&e.rawUrl)return e.rawUrl(a);else if(e.rewriteUrl)return e.rewriteUrl(a,c);return a}};T.thumbnail=function(a,b,c){return T.getImage(a,{Y:b,wb:typeof c!=="undefined"?c:h})};T.full=function(a){return T.getImage(a,{yb:h})};T.canResize=function(a){if(!a)return l;for(var b=0,c;c=T.services[b];b++)if(c.match(a))return h;return l};
T.defaults={pd:100,od:100,Y:i,yb:l,wb:l};
T.services=[{match:function(a){var b=a.match(/(?:bp\.blogspot\.com|ggpht|googleusercontent\.com).*(\/s\d+(?:-[cuh]+)?\/)?/);return(b=(b=b&&!a.match(/(\/(?:[sS]\d+-[cuh]?R[cuh]?|S\d+)\/)/))&&a.match(/\.(jpg|jpeg|gif|png|tif|tiff|bmp|tga)/i))&&!a.match(/((https):((\/\/)|(\\\\))+[\w\d:#@%\/;$()~_\+-=\\\.&]*)\?+.*/)},rewriteUrl:function(a,b){var c=/(\/)(s\d+(?:-[cuh]+)?)(\/)/,d=bl+b.Y+(b.wb?Pd:m),e=qd+d+sd;return a.match(c)?a.replace(c,e):(c=a.lastIndexOf(t),[a.slice(0,c),t,d,a.slice(c)].join(m))},rawUrl:function(a){return a.replace(/(\/)(s\d+(?:-[cuhR]+)?)(\/)/,
t)}},{match:function(a){return a.match(/farm[0-9]+\.static\.flickr\.com\/[^\/]+\/[^_]+_[^_\.]+(_[mstzb])?\.jpg/)},rewriteUrl:function(a,b){for(var c=[{C:mh,size:1024},{C:tm,size:640},{C:Nd,size:500},{C:dk,size:240},{C:xl,size:100},{C:bl,size:75}],d=/(\/[^\/]+\/[^_]+_[^_\.]+)(_[mstzb])?\.jpg/,e=0;e<c.length;e++)if(e==c.length-1||b.Y>=c[e].size)return a.replace(d,qd)+Wg+c[e].C+je;return a},rawUrl:function(a){return a.replace(/_[mstzb]\.jpg$/,je)}},{match:function(a){return a.match(/i[0-9]+\.photobucket.com\/albums\/.*\.jpg$/)},
rewriteUrl:function(a){return a.replace(/\/([^\/]+)$/,Pe)},rawUrl:function(a){return a.replace(/\/th_([^\/]+)$/,qd)}},{match:function(a){return a.match(/i[0-9]+\.tinypic.com\/[^\.]+.jpg$/)},rewriteUrl:function(a){return a.replace(/\/([^.]+).jpg$/,Ge)},rawUrl:function(a){return a.replace(/_th\.jpg$/,je)}},{match:function(a){return a.match(/imbx.us\/[^\.]+.(jpg|png)$/)},rewriteUrl:function(a){return a},rawUrl:function(a){return a}},{match:function(a){return a.match(/\.ak\.fbcdn\.net\/.*photos.+_[abnqst]\.jpg$/)},
rewriteUrl:function(a,b){for(var c=[{C:ch,size:180},{C:bl,size:130},{C:xl,size:75}],d=/_[abnqst]\.jpg$/,e=0;e<c.length;e++)if(e==c.length-1||b.Y>=c[e].size)return a.replace(d,Wg+c[e].C+je)},rawUrl:function(a){return a.replace(/_[abnqst]\.jpg$/,je)}}];function yn(a,b){this.name=a;this.profileUrl=b};function zn(a,b){this.u=a;this.fb=-1;this.pageSize=b||25;this.P=[];this.Q=[];this.aa=l;this.qa=h;this.ra=$.throttle(this.ra);this.gb=$.proxy(this.rc,this);this.eb=$.proxy(this.sc,this)}F=zn.prototype;F.dispose=function(){this.Q=[];this.P=[];delete this.u;delete this.gb;delete this.eb;$(this).unbind()};F.items=function(){return this.u.items()};F.resource=function(){return this.u.resource()};F.waiting=E("aa");F.hasNext=function(a){if(a!==f)this.qa=a;return this.qa!=l};F.reset=function(){this.fb=-1};
F.next=function(a){var b=++this.fb;b<this.P.length?a&&a(this.P[b]):this.qa?(this.Q.push({S:a,index:b}),!this.aa&&!this.hb&&this.ra()):a&&a(i)};F.ra=function(){var a=this.Ga();if(a)a.dataType=M.isCrossDomain(a.url)?Fj:Ej,a.success=this.gb,a.error=this.eb,this.sa=[(new Date).getTime().toString(36),((1+Math.random())*65536|0).toString(36)].join(Nd),S().notify(Ei,this.sa),$.ajax(a),this.aa=h};F.rc=function(a){S().notify(Ci,this.sa);if(a=this.Ha(a))this.P.push(a),$.merge(this.items(),a);this.aa=l;An(this)};
F.sc=function(){S().notify(Ci,this.sa);this.aa=l;$(this).trigger(wi);An(this)};function An(a){a.hb=h;var b=a.Q;a.Q=[];for(var c=0,d;d=b[c];c++)d.index<a.P.length?d.S&&d.S(a.P[d.index]):a.qa?a.Q.push(d):d.S&&d.S(i);a.Q.length>0&&a.ra();a.hb=l;delete a.sa}F.Ga=function(){return i};F.Ha=function(){return i};function Bn(a,b){this.link=this.url=a;this.filter=b;this.id=f;this.ja=this.url};function Cn(){}Cn.prototype.content=function(){return $(hf+this.body+ef)};function Dn(a){this.Yc=a;this.Xc=[]}Dn.prototype.items=E("Xc");Dn.prototype.resource=E("Yc");function En(a,b,c,d){this.link=this.url=a;this.filter=b;this.id=c;this.ja=d||this.link}F=En.prototype;F.allowComments=h;F.compareTo=function(a){if(a&&this.id&&this.id==a.id)return 0;else if(a&&this.published&&a.published)return this.published.getTime()-a.published.getTime();return-1};F.content=function(){if(!this.wa&&this.body)this.wa=$.tags(this.body,{tag:mj,attr:A,attrTest:/\/www.youtube.com\//,replace:Fn}),this.wa=$.tags(this.wa,{tag:vi,replace:Fn});return this.wa};
function Fn(a){if(a.name==vi)return a.attr(pm,Nl).encode();else if(a.name==mj){var b=en(a.attr(A));return b.authority==qm?a.attr(A,b.param(pm,Nl).encode()).encode():a.full}return a.full}F.text=function(){if(!this.Kb)this.Kb=$.toText(this.body,yl);return this.Kb};F.summary=function(a){var a=a||300,b=(this.body||m).indexOf(ff);return b>=0?$.toText(this.body.substr(0,b)):(a=$.trim(this.text().substring(0,a)),(b=a.match(/(?:.|\n|\r)*(\.(?=\s|\n|\r)|\.$)/))?b[0]:a)};
F.images=function(){if(!this.Gb)this.Gb=$.findImages(this.body);return this.Gb};F.videos=function(){if(!this.Lb){var a=/(?:(?:vi?)|(?:\.be)|(?:embed))[=\/]([^\?&]+)/i;this.Lb=$.map($.tags(this.body,{attr:A,attrTest:/(youtube\.com)|(youtu\.be)\//}),function(b){var c=a.exec(b.attr(A));return{embed:b.full,url:c?ij+c[1]:b.attr(A),thumbnail:c?[ej,c[1],Je].join(m):f}})}return this.Lb};
F.thumbnail=function(a){if(a)this.ka=a;if(!this.ka||!T.canResize(this.ka))for(var a=this.images(),b=0,c;c=a[b];b++)if(T.canResize(c)){if(this.ka===f)this.ka=c;return c}return this.ka};function Q(a,b,c,d){En.apply(this,arguments)}Q.prototype=$.extend({},En.prototype,Q.prototype);function P(a,b,c,d){En.apply(this,arguments)}P.prototype=$.extend({},En.prototype,P.prototype);function Gn(a){this.nb=a;this.ga=[];this.ta=/\.*(\/\d{4}\/\d{2}\/[^\/]+)$/;this.fa=/\.*\/p(\/[^\/]+\.html$)/}
Gn.prototype.get=function(a,b){var c;if(this.ta.test(a))c=Hn(this,a);else if(this.fa.test(a)){if(c=In(this,a))return b&&b(c),l;c={type:Cf,url:[this.nb,Me].join(m)+nf+$.param({alt:Ej,v:2,dynamicviews:1})}}if(c){var d=$.grep(this.ga,function(b){return b.identifier==a}).length>0;this.ga.push({S:b,identifier:a});if(d)return h;c.context={self:this,identifier:a};c.dataType=M.isCrossDomain(c.url)?Fj:Ej;c.success=this.Bc;c.error=$.proxy(this.handleError,this);S().notify(Ei,c.identifier);$.ajax(c);return h}else if(b)return b(i),
l};function Hn(a,b){var c=[a.nb,Ne].join(m),d={alt:Ej,v:2,dynamicviews:1};/^\d+$/.test(b)?c+=t+b:a.ta.test(b)&&(d.path=a.ta.exec(b)[1]);return{type:Cf,url:c+nf+$.param(d)}}Gn.prototype.Bc=function(a){this.self&&this.identifier&&(S().notify(Ci,this.identifier),this.self.fd.call(this.self,a,this.identifier))};
Gn.prototype.fd=function(a,b){var c=i;if(this.ta.test(b))c=a&&a.feed&&a.feed.entry.length==1?Jn(a.feed.entry[0]):f;else if(this.fa.test(b)){if(a&&a.feed)this.qb=(c=Kn(a))&&c.items;c=In(this,b)}if(c){var d=this.ga;this.ga=[];for(var e=0,g;g=d[e];e++)g.identifier==b?g.S(c):this.ga.push(g)}};function In(a,b){if(a.qb){var c=$.grep(a.qb,function(c){if(a.fa.test(b)){var e=a.fa.exec(b),c=a.fa.exec(c.url);return e&&c&&e[1]==c[1]}else return c.id==b});return c&&c[0]}};function Ln(a,b){zn.call(this,a,b||50)}Ln.prototype=$.extend({},zn.prototype,Ln.prototype);Ln.prototype.Ga=function(){var a=[this.u.resource().ja||this.u.resource().url,Le,this.u.resource().id,Ke].join(m),b={alt:Ej,v:2,dynamicviews:1,orderby:Lk,reverse:yi,"max-results":this.pageSize};this.ob&&(b[Nk]=(new Date(this.ob)).toISOString());return{type:Cf,url:a+nf+$.param(b)}};
Ln.prototype.Ha=function(a){if(a&&a.feed){var b={};b.B=Mn(a.feed);b.comments=[];if(a.feed.entry)for(var c=0,d;d=a.feed.entry[c];c++)b.comments.push(Nn(d));a=b}else a=f;if(a&&a.comments&&a.comments.length)this.ob=parseInt(a.comments[a.comments.length-1].timestamp)+1;a.B.startIndex+a.B.pageSize>a.B.total&&this.hasNext(l);return a&&a.comments};function Kn(a){if(a&&a.feed){var b={},c=a.feed,d={title:U(c.title),subtitle:U(c.subtitle),updated:(new Date).fromISOString(U(c.updated))},e=/blog-(\d+)/.exec(U(c.id));d.id=e&&e[1]||c.id;if(c.author)d.nd=On(c);b.Nc=d;b.B=Mn(a.feed);b.items=[];if(a.feed.entry)for(c=0;d=a.feed.entry[c];c++)b.items.push(Jn(d));return b}}
function Jn(a){if(a){var b=a.tag||U(a.id),c=a&&/post-/i.test(b)&&new P||a&&/page-/i.test(b)&&new Q||new En;(b=/blog-(\d+)\.\w{4}-(\d+)/.exec(U(a.id)))?(c.blogId=b[1],c.id=b[2]):c.id=a.id;c.title=U(a.title);c.body=a.content?U(a.content):U(a.summary)+Qd;c.updated=(new Date).fromISOString(U(a.updated));c.published=(new Date).fromISOString(U(a.published));if(a.replies||a.thr$total)c.commentCount=parseInt(U(a.replies||a.thr$total),10);c.allowComments=a.thr$total!==f;b=On(a);if(b.length)c.author=b[0];if(a.link&&
($.isArray(a.link)?$.grep(a.link,function(a){if(a.rel==gh)c.link=c.url=a.href;else if(a.rel==Rk)c.relatedUrl=a.href}):c.link=c.url=a.link,c.link&&(b=/(.+)\/\d{4}\/\d{2}\/.*/.exec(c.link))))c.ja=b[1];a.enclosure&&$.grep(a.enclosure,function(a){if(a.type==Rk)c.relatedUrl=a.url});if(a.Tc)c.tags=a.Tc.slice(0);else if(a.category)c.tags=$.map(a.category,function(a){return a.term});(a=a.thumbnail||a.media$thumbnail&&a.media$thumbnail.url)&&c.thumbnail(a);return c}}
function Nn(a){var b=new Cn,c=/blog-(\d+).post-(\d+)/.exec(U(a.id));if(c)b.id=c[2];b.body=U(a.content);b.timestamp=(new Date).fromISOString(U(a.published)).getTime()+m;if(c=On(a))b.author=c[0];if(a.link&&a.link[2])b.link=b.permalink=a.link[2].href;return b}function Mn(a){return{total:parseInt(U(a.totalResults||a.openSearch$totalResults),10),startIndex:parseInt(U(a.startIndex||a.openSearch$startIndex),10),pageSize:a.openSearch$itemsPerPage===f?f:parseInt(U(a.openSearch$itemsPerPage),10)}}
function On(a){var b=[];a.author&&($.isArray(a.author)?b=$.map(a.author,function(a){return new yn(U(a.name),U(a.uri))}):b.push(new yn(U(a.author.name),U(a.author.uri))));return b}function U(a){return a&&a.$t!==f?a.$t:a};function Pn(a,b){zn.call(this,a,b||25);this.Fa=(this.u.resource().filter||m).indexOf(mi)==-1?f:jn(this.u.resource().filter)}Pn.prototype=$.extend({},zn.prototype,Pn.prototype);
Pn.prototype.Ga=function(){var a=[this.u.resource().url,Ne,(this.u.resource().filter||m).indexOf(Al)==-1?m:He+jn(this.u.resource().filter)].join(m),b={alt:Ej,v:2,dynamicviews:1,orderby:Lk,"max-results":this.pageSize};S().settings.apiVersion==3&&(b.proxy_feed=h);this.Fa&&(b[Mk]=(new Date(this.Fa)).toISOString());return{type:Cf,url:a+nf+$.param(b)}};
Pn.prototype.Ha=function(a){if((a=Kn(a))&&a.items&&a.items.length)a.items.sort(function(a,c){return c.published.getTime()-a.published.getTime()}),this.Fa=a.items[a.items.length-1].published.getTime()-1;$.extend(this.resource(),a.Nc);if(a.B&&a.B.total)this.resource().total=a.B.total;a.B.startIndex+a.B.pageSize>a.B.total&&this.hasNext(l);return a&&a.items};function Qn(a,b,c){var d=window.jstiming;if(d&&d.getLabels&&d.getTick){for(var e={},a=a?a.slice(0):[];a.length>0;)for(var g=a.shift(),j=d.getLabels(g)||[],k=0;k<j.length;++k)if(!(j[k][0]===Wg||j[k]===wl)){var n=d.getTick(g,j[k]);e[g.name]?e[g.name].push({label:j[k],tick:n}):e[g.name]=[{label:j[k],tick:n}]}for(var q in e){d=[];for(a=0;a<e[q].length;++a)d.push(e[q][a].label+s+e[q][a].tick);a=$.extend({},c);b&&(a.e=b);var g=[],v;for(v in a)g.push(v+kf+a[v]);d=[dj,xd+q,Ad+d.join(Md),g?ud+g.join(ud):m].join(m);
(new Image).src=d}}};(function(a){function b(b,c){b.each(function(){var b=a.extend({},a.fn.adsense.defaults,j(a(this)),c),d=a(this),r=d.data(fh)||{},g=e(d,b);b&&a.isFunction(b.beforeRender)&&b.beforeRender(g);b=l;if(r.Qc)for(var sa in g){if(g[sa]!==r[sa]){b=h;break}}else b=h;if(b&&g.format&&g.client)d.empty(),window.google_num_ad_slots=0,g.host&&(window.google_ad_host=g.host),g.hostchannel&&(window.google_ad_host_channel=g.hostchannel),g.url&&(window.google_page_url=g.url),g.alternateurl&&(window.google_alternate_ad_url=
g.alternateurl),r=n[g.format],new google.ads.Ad(g.client,d[0],{format:[r.width,rm,r.height,$g].join(m),type:g.type||El}),g.Qc=h,d.data(fh,g)})}function c(){var b=window.google;if(b&&b.ads)return h;else b&&b.load?r||(r=h,b.load(eh,1,{callback:d})):C||(C=h,a.getScript(hj,c));return l}function d(){for(var a=0,b;b=v[a];a++)b();v=[]}function e(b,c){var d={};a.each(k,function(a,b){d[b]=c[b]});d.format&&(d.format=d.format.toLowerCase().replace(/\s|_/g,m));d.type&&(d.type=a.grep(d.type.toLowerCase().split(/\s|_|,|\//),
function(a){return a==Dl||a==pj}).sort().join(Md));d.format=g(b,c);return d}function g(a,b){if(n[b.format])return b.format;for(var c=parseInt(b.maxwidth,10)||parseInt(a.css(fk),10)||parseInt(a.parent().css(fk),10)||a.innerWidth()||a.parent().innerWidth()||9999,d=parseInt(b.maxheight,10)||parseInt(a.css(ek),10)||parseInt(a.parent().css(ek),10)||a.innerHeight()||a.parent().innerHeight()||9999,e=0,r;r=q[e];e++){var g=n[r];if(g.width<=c&&g.height<=d)return r}}function j(b){var c={},d;for(d in a.fn.adsense.defaults){var e=
b.data(d);e&&(c[d]=e)}return c}a.fn.adsense=function(a){if(this.length)if(c())b(this,a);else{var d=this;v.push(function(){b(d,a)})}return this};a.fn.adsense.defaults={format:f,type:f,slot:f,host:f,client:f,hints:f,url:f,alternateurl:f,beforeRender:f,maxwidth:f,maxheight:f};var k=[Ii,Ql,ol,Vi,Sh,Ti,$l,hh,Wi],n={banner:{A:uf,width:468,height:60},button:{A:vf,width:125,height:125},halfbanner:{A:Df,width:234,height:60},largerectangle:{A:Rf,width:336,height:280},leaderboard:{A:Sf,width:728,height:90},
mediumrectangle:{A:Uf,width:300,height:250},skyscraper:{A:zg,width:120,height:600},smallsquare:{A:Bg,width:200,height:200},smallrectangle:{A:Ag,width:180,height:150},square:{A:Cg,width:250,height:250},verticalbanner:{A:Ng,width:120,height:240},wideskyscraper:{A:Qg,width:160,height:600}},q=[gk,Pj,Rj,mm,ph,nl,ul,rl,ql,dm,Oi,Ch],v=[],C=l,r=l})(jQuery);(function(a){a.asClasses=function(b){var c=[];(b=a.isArray(b)?b:b.split(Md))&&(c=a.map(b,function(b){return(b?a.trim(b.toLowerCase()):m).replace(/[^\w\s]|_/g,m).replace(/\s+/g,Wg)}));return c.sort().join(o)}})(jQuery);(function(a,b){var c=/data-(\w+)/;a.fn.attributes=function(d,e){var g=d!==b?d:l,j=e!==b?e:l,k={};this.each(function(){a.each(this.attributes,function(a,b){if(g||b.value)if(j){var d=c.exec(b.name);if(d)k[d[1]]=b.value}else k[b.name]=b.value})});return k}})(jQuery);var Rn=jQuery,Sn,W,Tn;for(Tn in Rn.browser)if(Tn=="version")W=Rn.browser[Tn];else if(Tn=="webkit"||Tn=="chrome"||Tn=="safari"){var Un=navigator.userAgent;Sn=(W=/chrome\/([\d\.]+)/i.exec(Un))&&"chrome"||(W=/version\/([\d\.]+) safari/i.exec(Un))&&"safari"||(W=[i,Rn.browser.version])&&"webkit";W=W&&W[1]}else Sn=Tn;Rn.browser.type=Sn||Rl;Rn.browser.versionX=W?parseInt(W,10):Rl;(function(a){function b(a,b,c){a=Math.min(b,Math.max(0,a));return c!==f&&parseInt(a,10)!=a?(c=Math.pow(10,c),Math.round(a*c)/c):a}function c(a,c,d){var e=j.exec(a),a=e?parseFloat(e[1],10):0;e&&e[2]&&(a=a/100*(c||1));return b(a,c,d)}function d(a){return b(a/1*100,100,0)+td}function e(a){this.a=this.b=this.g=this.r=0;a&&e.parse(a,this)}var g={aliceblue:tc,antiquewhite:Dc,aqua:Fa,aquamarine:jb,azure:vc,beige:yc,bisque:Xc,black:oa,blanchedalmond:Zc,blue:ua,blueviolet:qb,brown:Cb,burlywood:cc,cadetblue:Ya,
chartreuse:ib,chocolate:Tb,coral:Nc,cornflowerblue:Za,cornsilk:cd,crimson:$b,cyan:Fa,darkblue:qa,darkcyan:ya,darkgoldenrod:Lb,darkgray:Db,darkgreen:va,darkgrey:Db,darkkhaki:Ob,darkmagenta:sb,darkolivegreen:Xa,darkorange:Oc,darkorchid:zb,darkred:rb,darksalmon:fc,darkseagreen:ub,darkslateblue:Ta,darkslategray:La,darkslategrey:La,darkturquoise:Ba,darkviolet:xb,deeppink:Jc,deepskyblue:Aa,dimgray:bb,dimgrey:bb,dodgerblue:Ha,firebrick:Kb,floralwhite:ed,forestgreen:Ja,fuchsia:Ic,gainsboro:ac,ghostwhite:Bc,
gold:Tc,goldenrod:Yb,gray:nb,green:wa,greenyellow:Gb,grey:nb,honeydew:uc,hotpink:Mc,indianred:Rb,indigo:Va,ivory:id,khaki:sc,lavender:ec,lavenderblush:ad,lawngreen:hb,lemonchiffon:dd,lightblue:Fb,lightcoral:rc,lightcyan:dc,lightgoldenrodyellow:Fc,lightgray:Vb,lightgreen:vb,lightgrey:Vb,lightpink:Rc,lightsalmon:Pc,lightseagreen:Ia,lightskyblue:pb,lightslategray:fb,lightslategrey:fb,lightsteelblue:Ib,lightyellow:hd,lime:Da,limegreen:Ma,linen:Ec,magenta:Ic,maroon:kb,mediumaquamarine:ab,mediumblue:ra,
mediumorchid:Mb,mediumpurple:wb,mediumseagreen:Oa,mediumslateblue:gb,mediumspringgreen:Ca,mediumturquoise:Ua,mediumvioletred:Qb,midnightblue:Ga,mintcream:Ac,mistyrose:Yc,moccasin:Wc,navajowhite:Vc,navy:pa,oldlace:Gc,olive:mb,olivedrab:db,orange:Qc,orangered:Kc,orchid:Xb,palegoldenrod:qc,palegreen:yb,paleturquoise:Hb,palevioletred:Zb,papayawhip:$c,peachpuff:Uc,peru:Sb,pink:Sc,plum:bc,powderblue:Jb,purple:lb,red:Hc,rosybrown:Nb,royalblue:Qa,saddlebrown:tb,salmon:Cc,sandybrown:wc,seagreen:Ka,seashell:bd,
sienna:Bb,silver:Pb,skyblue:ob,slateblue:cb,slategray:eb,slategrey:eb,snow:fd,springgreen:Ea,steelblue:Ra,tan:Ub,teal:xa,thistle:Wb,tomato:Lc,turquoise:Pa,violet:oc,wheat:xc,white:jd,whitesmoke:zc,yellow:gd,yellowgreen:Ab},j=/(-?[\d\.]+)(%)?/i,k=/#([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})/i,n=/rgb\(\s*(-?\d{1,3}\%?)\s*,\s*(-?\d{1,3}\%?)\s*,\s*(-?\d{1,3}\%?)\s*\)/i,q=/rgba\(\s*(-?\d{1,3}\%?)\s*,\s*(-?\d{1,3}\%?)\s*,\s*(-?\d{1,3}\%?)\s*,\s*([\d\.]+)\s*\)/i,v=/hsl\(\s*(-?\d{1,3}\%?)\s*,\s*(-?\d{1,3}\%?)\s*,\s*(-?\d{1,3}\%?)\s*\)/i,
C=/hsla\(\s*(-?\d{1,3})\s*,\s*(-?\d{1,3}\%)\s*,\s*(-?\d{1,3}\%)\s*,\s*([\d\.]+)\s*\)/i;a.color=function(a){return e.parse(a)};e.parse=function(a,b){var c=b||new e;k.test(a)?c.hex(a):n.test(a)?c.rgb(a):q.test(a)?c.rgba(a):v.test(a)?c.hsl(a):C.test(a)?c.hsla(a):c.name(a);return c};e.prototype.rgb=function(a,b,c){if(a!==f&&a!==l){if(typeof a===B&&b===f)if(c=n.exec(a))a=c[1],b=c[2],c=c[3];else return this;this.rgba(a,b,c,1);return this}return a!==l?[Wk,this.r,p,this.g,p,this.b,Jd].join(m):{r:this.r,g:this.g,
b:this.b}};e.prototype.rgba=function(a,b,d,e){if(a!==f&&a!==l){if(typeof a===B&&b===f)if(e=q.exec(a))a=e[1],b=e[2],d=e[3],e=e[4];else return this;this.r=c(a,255,0);this.g=c(b,255,0);this.b=c(d,255,0);this.a=c(e,1,5);return this}b={r:this.r,g:this.g,b:this.b,a:this.a};return a!==l?[Xk,b.r,p,b.g,p,b.b,p,b.a,Jd].join(m):b};e.prototype.hsl=function(a,b,c){if(a!==f&&a!==l){if(typeof a===B&&b===f)if(c=v.exec(a))a=c[1],b=c[2],c=c[3];else return this;this.hsla(a,b,c,1);return this}b=this.hsla(l);return a!==
l?[Zi,b.h,p,d(b.s),p,d(b.l),Jd].join(m):{h:b.h,s:b.s,l:b.l}};e.prototype.hsla=function(a,e,g,k){if(a!==f&&a!==l){if(typeof a===B&&e===f)if(k=C.exec(a))a=k[1],e=k[2],g=k[3],k=k[4];else return this;var a=(parseFloat(a,10)%360+360)%360/360,e=c(e,1),g=c(g,1),k=c(k,1),j=g<=0.5?g*(e+1):g+e-g*e,q=g*2-j,g=function(a){var b=a<0?a+1:a>1?a-1:a;return b*6<1?q+(j-q)*b*6:b*2<1?j:b*3<2?q+(j-q)*(2/3-a)*6:q};return this.rgba(Math.round(g(a+1/3)*255),Math.round(g(a)*255),Math.round(g(a-1/3)*255),k)}var n=this.r/255,
v=this.g/255,ta=this.b/255,k=this.a,V=Math.max(n,v,ta),e=Math.min(n,v,ta),O,g=(V+e)/2;if(V==e)O=e=0;else{var Sa=V-e,e=g>0.5?Sa/(2-V-e):Sa/(V+e);V==n?O=(v-ta)/Sa+(v<ta?6:0):V==v?O=2+(ta-n)/Sa:V==ta&&(O=4+(n-v)/Sa);O=O/6}O=b(O*360,360,0);e=b(e,1,5);g=b(g,1,5);return a!==l?[$i,O,p,d(e),p,d(g),p,k,Jd].join(m):{h:O,s:e,l:g,a:k}};e.prototype.hex=function(a){if(a!==f&&a!==l)return a=k.exec(a),!a?this:this.rgb(parseInt(a[1].length==1?a[1]+a[1]:a[1],16),parseInt(a[2].length==1?a[2]+a[2]:a[2],16),parseInt(a[3].length==
1?a[3]+a[3]:a[3],16));var b=(u+this.r.toString(16)).substr(-2),c=(u+this.g.toString(16)).substr(-2),d=(u+this.b.toString(16)).substr(-2);return a!==l?ma+b+c+d:{r:b,g:c,b:d}};e.prototype.name=function(a){if(a!==f)return a.toLowerCase()==Nl?this.rgba(0,0,0,0):this.hex(g[a.toLowerCase()]);if(!this.r&&!this.g&&!this.b&&!this.a)return Nl;var a=this.hex(),b;for(b in g)if(g[b]==a)return b};e.prototype.hue=function(a){if(a!==f){var b=this.hsla(l);return this.hsla(a,b.s,b.l,b.a)}return this.hsla(l).h};e.prototype.saturation=
function(a){if(a!==f){var b=this.hsla(l);return this.hsla(b.h,a,b.l,b.a)}return this.hsla(l).s};e.prototype.lightness=function(a){if(a!==f){var b=this.hsla(l);return this.hsla(b.h,b.s,a,b.a)}return this.hsla(l).l};e.prototype.alpha=function(a){return a!==f?(this.a=c(a,1),this):this.a};e.prototype.saturate=function(a){var b=this.hsla(l);b.s+=c(a,1);return this.hsla(b.h,b.s,b.l,b.a)};e.prototype.desaturate=function(a){var b=this.hsla(l);b.s-=c(a,1);return this.hsla(b.h,b.s,b.l,b.a)};e.prototype.lighten=
function(a){var b=this.hsla(l);b.l+=c(a,1);return this.hsla(b.h,b.s,b.l,b.a)};e.prototype.darken=function(a){var b=this.hsla(l);b.l-=c(a,1);return this.hsla(b.h,b.s,b.l,b.a)};e.prototype.shift=function(a){var b=this.hsla(l),c=(a=j.exec(a))?parseFloat(a[1],10):0;a&&a[2]&&(c=c/100*360);b.h+=c;return this.hsla(b.h,b.s,b.l,b.a)}})(jQuery);(function(a){var b=/<img\b([^>]*(?:.*?))\/?>/ig,c=/([^\s=]+)\s*=\s*((?:\')[^<\']*(?:\')|(?:")[^<"]*(?:"))/g;a.findImages=function(a){for(var a=a||m,e=[],g;g=b.exec(a);){g=g[1];for(var j,k,n=h;j=c.exec(g);)if(j[1]!==m&&j[2]!==m){var q=j[1].toLowerCase();j=j[2].replace(/^(\'|")(.*)(\1)$/,rd);if(q==A)k=j;else if(q==nm||q==Si)parseInt(j,10)<=1&&(n=l)}k&&n&&e.push(k)}return e}})(jQuery);(function(a){var b=/url\((['"]?)(.*?)\1\)/;a.fn.fullyLoaded=function(c){if(!a.isFunction(c))return this;var d=[];this.each(function(){a(this).find(Kd).each(function(){var c=a(this);if(c.is(tj)&&!this.complete){var e=c.attr(A);e&&e.indexOf(hi)==-1&&d.push(c.attr(A))}else if(c=c.css(oh))(c=b.exec(c))&&c[2]&&c[2].indexOf(hi)==-1&&d.push(c[2])})});if(d.length){var e=[];a.each(d,function(b,c){e.push(a.Deferred(function(b){var d=new Image;a(d).bind($j,function(){b.resolve()});d.src=c}))});a.when.apply(a,
e).then(c)}else c();return this}})(jQuery);if(!Date.prototype.fromISOString)Date.prototype.fromISOString=function(a){if(a=a&&a.match(RegExp(Id))){var b=0,c=new Date(a[1],0,1);a[3]&&c.setMonth(a[3]-1);a[5]&&c.setDate(a[5]);a[7]&&c.setHours(a[7]);a[8]&&c.setMinutes(a[8]);a[10]&&c.setSeconds(a[10]);a[12]&&c.setMilliseconds(Number(Qe+a[12])*1E3);a[14]&&(b=Number(a[16])*60+Number(a[17]),b*=a[15]==Nd?1:-1);b-=c.getTimezoneOffset();this.setTime(Number(Number(c)+b*6E4));return this}};
if(!Date.prototype.toISOString)Date.prototype.toISOString=function(){function a(a){return a<10?u+a:a}return[this.getUTCFullYear(),Nd,a(this.getUTCMonth()+1),Nd,a(this.getUTCDate()),Hg,a(this.getUTCHours()),Ze,a(this.getUTCMinutes()),Ze,a(this.getUTCSeconds()),Ug].join(m)};(function(a){function b(){var b=d();j=a.grep(j,function(d){var e=a(d),g=e.data(Qj)||a.fn.lazyload.defaults;return c(e,{viewport:b,buffer:g.buffer})?(g.effect||a[g.effect]?a(jf).one(Zj,function(){e.hide().attr(A,e.attr(z));e.removeAttr(z).removeData().removeClass(pi);e[g.effect](g.duration)}).attr(A,e.attr(z)):(e.attr(A,e.attr(z)),e.removeAttr(z).removeData().removeClass(pi)),l):h})}function c(b,c){var g=c&&c.viewport||d(),j=e(b),C=c&&c.buffer||0;C&&(j.top-=C,j.right+=C,j.bottom+=C,j.left-=C);return j.top<=
g.bottom&&j.right>=g.left&&j.bottom>=g.top&&j.left<=g.right&&!b.parents().andSelf().filter(function(){return a(this).css(si)==qk||a(this).css(vk)==u}).length}function d(){var b=a(window);return{top:b.scrollTop(),right:b.scrollLeft()+b.width(),bottom:b.scrollTop()+b.height(),left:b.scrollLeft()}}function e(a){var b=a.offset();return{top:b.top,right:b.left+a.width(),bottom:b.top+a.height(),left:b.left}}var g,j=[];a.fn.lazyload=function(e){var n=e!==f,q=a.extend(a.fn.lazyload.defaults,e),v=q.delay||
0;a(window).bind(el,function(){clearTimeout(g);g=setTimeout(b,v)});var C=d();return this.each(function(){a(this).find(tj).each(function(){c(a(this),{viewport:C,buffer:q.buffer})?a(this).attr(z)&&a(this).attr(A,a(this).attr(z)):(a(this).attr(z)||a(this).attr(z,a(this).attr(A)),q.placeholder?a(this).attr(A,q.placeholder):a(this).removeAttr(A),n&&a(this).data(Qj,q),a(this).addClass(pi),j.push(this))})})};a.fn.lazyload.defaults={buffer:400,delay:250,placeholder:ii,effect:xi,duration:pl}})(jQuery);(function(a){function b(b){if(a(b.target).parents().andSelf().filter(b.data).length){var d=a(b.data),e=d.scrollTop()==0,d=d[0].scrollHeight-d.scrollTop()==d[0].clientHeight,g=b.wheelDelta<0||b.which==32||b.which==40;if((b.wheelDelta>0||b.which==38)&&e||g&&d)return b.preventDefault(),l}}a.fn.scrollLimit=function(c){var d=a.extend({keydown:h,mousewheel:h},c);return this.each(function(){d.keydown&&a(this).bind(Hj,this,b);d.mousewheel&&a(this).bind(lk,this,b)})}})(jQuery);if(!String.prototype.bd)String.prototype.bd=function(){for(var a=0,b=0;b<this.length;++b)a=31*a+this.charCodeAt(b),a%=4294967296;return a};$.support.html5tags=function(){if($.browser.msie)return parseInt($.browser.version,10)>=9;else if($.browser.mozilla)return $.browser.version>=1.9;return h}();$.support.touch="ontouchstart"in document.documentElement;(function(a){function b(b){return RegExp(a.inArray(b.toLowerCase(),k)>=0?g.source.replace(cf,bf+b+Jd):e.source.replace(cf,bf+b+Jd),nj)}function c(b,c,d){var c=(c||m).toLowerCase(),e;for(e in b)if(e.toLowerCase()==c)if(typeof d==="undefined")return h;else if(typeof d===B)return b[e]==d;else if(d instanceof RegExp)return d.test(b[e]);else if(a.isFunction(d))return d(b[e]);return l}function d(a){this.full=a;this.attributes={};a&&d.parse(a,this)}var e=/<(\w+)[^>]*?(?:(?:>((?:.|\n|\r)*?)<\/\1>)|(?:\/>))/ig,
g=/<(\w+)[^>]*?(?:.*?)\/?>/ig,j=/([\w-_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,k=[kh,qh,vi,Ah,Uh,Xi,tj,yj,Xj,hk,zk,Yh,Kj,sl],n={tag:m,attr:m,attrTest:f,replace:f,recurse:h};a.tags=function(g,j){var k=[],r=a.extend({},n,j);if(!g)return r.replace!==f?m:k;r.tag=r.tag.toLowerCase();var sa=r.tag?b(r.tag):e.global?RegExp(e):e,sa=g.replace(sa,function(b){var e=d.parse(b),g=h;if(e.value&&r.recurse){var j=a.tags(e.value,r);r.replace?e.value=j:j&&j.length&&a.merge(k,j)}if(g=
(g=g&&(!r.tag||r.tag==e.name))&&(!r.attr||c(e.attributes,r.attr,r.attrTest)))if(k.push(e),typeof r.replace!=="undefined")return a.isFunction(r.replace)?r.replace(e):r.replace;return b});return typeof r.replace!=="undefined"?sa:k};d.parse=function(a,c){var e=c||new d;e.full=a;var g=b(/<(\w+)/.exec(a)[1]).exec(a);if(g&&g.length)e.full=a,e.name=g[1].toLowerCase(),e.value=g[2],e.attributes={},(g=/<\w+([^>]*)?/.exec(a))&&(g[1]||m).replace(j.global?RegExp(j):j,function(a,b,c,d,g){e.attributes[b]=c||d||
g||m});return e};d.prototype.encode=function(){var b=[];b.push(af+this.name);for(var c in this.attributes){var d=this.attributes[c];b.push(o);b.push(c);this.attributes[c]!==i&&(b.push(lf),b.push(d?d.replace(/\"/g,vd):m),b.push(ja))}!this.value&&this.full.match(/\/>$/)?b.push(this.full.match(/\s?\/>$/)):a.inArray(this.name.toLowerCase(),k)>=0&&this.full.match(/\/?>/)?b.push(this.full.match(/\s?\/?>$/)):(b.push(mf),b.push(this.value),b.push(df+this.name+mf));return b.join(m)};d.prototype.attr=function(a,
b){return typeof b!=="undefined"?(this.attributes[a]=b,this):this.attributes[a]}})(jQuery);(function(a){a.throttle=function(a,c){function d(){var a=k>=q?k:k+1;k=new Date-g>(Math.pow(2,a+1)-1)*n?Math.max(0,k-1):a;j=(Math.pow(2,k)-1)*n;g=new Date}var e=i,g=new Date,j=0,k=0,n=50,q=Math.floor(Math.log((c||3E4)/n)/Math.LN2);return function(){var c=new Date-g;clearTimeout(e);if(c>=j)d(),a.apply(this,arguments);else{var k=this,n=arguments;e=setTimeout(function(){d();a.apply(k,n)},j-c+1)}}}})(jQuery);(function(a,b){var c=[/<head[^>]*?>(?:.|\n|\r)*?<\/head>/ig,/<style[^>]*?>(?:.|\n|\r)*?<\/style>/ig,/<script[^>]*?>(?:.|\n|\r)*?<\/script>/ig,/<object[^>]*?>(?:.|\n|\r)*?<\/object>/ig,/<embed[^>]*?>(?:.|\n|\r)*?<\/embed>/ig,/<applet[^>]*?>(?:.|\n|\r)*?<\/applet>/ig,/<noframes[^>]*?>(?:.|\n|\r)*?<\/noframes>/ig,/<noscript[^>]*?>(?:.|\n|\r)*?<\/noscript>/ig,/<noembed[^>]*?>(?:.|\n|\r)*?<\/noembed>/ig,/<img[^>]*?.*?\/?>/ig];a.toText=function(d,e){for(var d=d||m,g=0,j;j=c[g];g++)d=d.replace(j,m);g=a(hf+
d+ef);g.find(ti).append(ba);g.find(Ah).replaceWith(ba);e!==b&&g.find(e).remove();return a.trim(g.text().replace(/(\n|\r){2}(\s|\n|\r)+/g,ba))}})(jQuery);function Vn(){this.Ac={classic:Kf,flipcard:Of,magazine:Lf,mosaic:Pf,sidebar:Mf,snapshot:Qf,timeslide:Nf};this.zc={banner:xg,button:ng,halfbanner:tg,largerectangle:wg,leaderboard:yg,mediumrectangle:vg,skyscraper:pg,smallsquare:sg,smallrectangle:rg,square:ug,verticalbanner:og,wideskyscraper:qg}}Vn.prototype.init=function(a,b,c){this.c=a;this.f=c;if(!this.c.settings.headless){var d=this;$(this.c).bind(Ul,function(){var a=$(Rd);a.adsense&&a.adsense({beforeRender:$.proxy(d.lc,d)})})}};
Vn.prototype.dispose=function(){$(this.c).unbind(Rd);delete this.c;delete this.f};Vn.prototype.lc=function(a){var b=this.f&&this.f.settings&&this.Ac[this.f.settings.name],c=this.zc[a.format];(b=b&&c?b+Ld+c:b||c)&&(a.hostchannel=b)};function Wn(){}Wn.prototype.init=function(a,b){this.c=a;$(this.c).bind(Vl,function(){$(Sd).filter(function(){return $(this).parents(Vd).andSelf().filter(Vd).data($h)===f}).each(function(){var a=b.find($(this).attr(fi)),d=$(this).parents(Vd).andSelf().filter(Vd);a&&d.length&&(a=new Am.modules.Comments(a,d),$(d).data($h,a))})})};Wn.prototype.dispose=function(){$(this.c).unbind(Vd);delete this.c};function Xn(){this.I=[]}F=Xn.prototype;F.init=function(a){this.c=a;this.c.settings.headless||$(this.c).bind(Nj,$.proxy(this.oc,this))};F.dispose=function(){$(window).unbind($d);$(this.c).unbind($d);delete this.c};F.oc=function(){$(window).bind(jk,$.proxy(this.nc,this));$(window).bind(Nh,$.proxy(this.ab,this));$(this.c).bind(gl,$.proxy(this.ab,this));$(this.c).bind(Hh,$.proxy(this.mc,this))};F.nc=function(a){this.W={x:a.pageX,y:a.pageY}};
F.ab=function(a){if(a&&a.pageX&&a.pageY)this.W={x:a.pageX,y:a.pageY};Yn(this,h)};F.mc=function(){delete this.W;Yn(this,l)};function Yn(a,b){Zn(a);a.I=[];if(b)for(var c=0;c<14;c++)$n(a,ji,{da:100*(Math.random()-0.5),U:-100*Math.random()-250,ca:8*(Math.random()-0.5)});else $n(a,ki,{da:-35,U:-300,ca:-0.9,ba:100}),$n(a,li,{da:35,U:-300,ca:0.9,ba:100});a.uc=setInterval($.proxy(a.wc,a),Xn.md)}
function $n(a,b,c){c=c||{};if(!a.W)a.W={x:$(window).scrollLeft()+$(window).width()/2,y:$(window).scrollTop()+$(window).height()/2};var d=new Image,b={J:$(d).attr(A,b).addClass(Wj).css(si,qk)[0],x:c.x||a.W.x,y:c.y||a.W.y,ba:c.ba||16,size:c.size||Math.random()*25+25,da:c.da||0,U:c.U||0,ea:c.ea||2,qc:c.ea||2,V:c.V||0,ca:c.ca||0};$(b.J).appendTo(y);a.I.push(b)}
F.wc=function(){this.I=$.grep(this.I,function(a){if(a.J)if(a.x+=a.da*0.025,a.y+=a.U*0.025,a.V+=a.ca*0.025,a.ea-=0.025,a.U+=5,a.ea<0)$(a.J).remove(),delete a.J,a=l;else{var b=a.ea/a.qc;$(a.J).css({display:m,height:a.size*(1-b)+a.ba+Ok,left:a.x+Ok,opacity:b,position:dh,top:a.y+Ok,"-webkit-transform":al+a.V+Pk,"-moz-transform":al+a.V+Pk,"-ms-transform":al+a.V+Pk,transform:al+a.V+Pk,width:a.size*(1-b)+a.ba+Ok,"z-index":10001});a=h}else a=l;return a});this.I.length==0&&Zn(this)};
function Zn(a){$.each(a.I||[],function(a,c){c.J&&$(c.J).remove()});a.I=[];clearInterval(a.uc)};function ao(){}F=ao.prototype;F.init=function(a,b){this.c=a;this.d=b;this.la=bo(this);$(this.c).bind(Cl,$.proxy(this.ac,this));$(this.c).bind(Wl,$.proxy(this.na,this));$(window).bind(Oh,$.proxy(this.Zb,this));$(document).bind(Ij,$.proxy(this.$b,this));co(this)};F.dispose=function(){$(window).unbind(ae);$(document).unbind(ae);$(this.c).unbind(ae);delete this.c;delete this.d};F.Zb=function(a){$(a.target).parents().andSelf().filter(gc).length||this.M&&this.M.remove()};
F.$b=function(a){a.which==27&&this.M&&this.M.remove()};function co(a){$.each(a.la.templates,function(a,c){c.modified&&J().template(c.name,c.custom)})}
F.ac=function(){this.M&&this.M.remove();if(window.TemplateEditor&&J().template(Ig)){if(!$(Ri).length){var a=$(J().template(Jg).apply());a.attr(lj,Bl);$(Qi).append(a)}this.M=$(J().template(Ig).apply(this.la));$(y).append(this.M);$(mc).scrollLimit({keydown:l});$(ic).click(this.mb).first().click();$(hc).click($.proxy(this.Ya,this));$(lc).click($.proxy(this.Dc,this));$(kc).click($.proxy(this.Ec,this));$(gc).addClass(Aj);setTimeout(function(){$(gc).removeClass(Aj)},0)}};
F.Dc=function(a){var b=$(a.target).parents().andSelf().filter(ze);if(b.length&&b.attr(gi)&&($(jc).empty(),this.L=$.grep(this.la.templates,function(a){return a.name==b.attr(gi)})[0]))this.ia&&this.ia.dispose(),this.ia=new window.TemplateEditor($(jc)),this.ia.setValue(this.L.modified?this.L.custom||m:this.L.source),$(ic).click(this.mb).last().click(),$(jc).scrollLimit({keydown:l}),$(this.ia).bind(Eh,$.proxy(this.Fc,this))};
F.Ec=function(a){var b=$(a.target).parents().andSelf().filter(ze);if(b.length&&b.attr(gi))return eo(this,b.attr(gi)),fo(this),a.preventDefault(),l};F.Fc=function(){var a=this.ia.getValue();if(this.L.source!=a){var b=this.L.name,c=go(this,b);if(c)c.custom=a,c.modified=h,$(nc+b+la).addClass(bi),J().template(c.name,c.custom),a=ho(this),a[b]=c.custom,window.localStorage&&window.JSON&&window.localStorage.setItem(io(this),window.JSON.stringify(a))}else eo(this,this.L.name);fo(this)};
function fo(a){if(a.c.f.settings&&a.c.f.settings.name!=bi)clearTimeout(a.kc),a.kc=setTimeout($.proxy(a.Ya,a),1500)}F.Ya=function(){this.c.reload()};F.mb=function(){var a=$(this).siblings(me).index(),b=$(this).index();$(this).siblings().removeClass(uk);$(this).addClass(uk);$(this).parent().parent().removeClass(yk+a);$(this).parent().parent().addClass(yk+b);$(this).parent().parent().find(be).each(function(a,d){var e=(a-b)*100;$(d).css(Sj,e+td)})};
function bo(a){var b={templates:[]},c=J().ua,a=ho(a),d;for(d in c)b.templates.push({name:d,source:c[d].raw(),custom:a[d],modified:typeof a[d]!=="undefined"});b.templates.sort(function(a,b){return a.name>b.name?1:-1});return b}function go(a,b){return $.grep(a.la.templates,function(a){return a.name==b})[0]}function io(a){return((a.c.f&&a.c.f.settings?a.c.f.settings.name:m)||m)+Zg}
function ho(a){var b={};window.localStorage&&window.JSON&&(a=window.localStorage.getItem(io(a)))&&(b=window.JSON.parse(a)||{});return b}function eo(a,b){var c=go(a,b);if(c)delete c.custom,c.modified=l,J().template(c.name,c.source),$(nc+b+la).removeClass(bi),c=ho(a),delete c[b],window.localStorage&&window.JSON&&window.localStorage.setItem(io(a),window.JSON.stringify(c))};function jo(){this.xb=l;this.Wa=0}jo.prototype.init=function(a,b){this.c=a;this.d=b;$(this.c).bind(Xl,$.proxy(this.Xa,this));ko(this)};jo.prototype.dispose=function(){$(this.c).unbind(ce);$(pd).unbind(ce);delete this.c;delete this.d};function ko(a){if(!a.xb){var b=$(zj);if(b.length)$(b).bind(Mj,$.proxy(a.Xa,a)),a.xb=h}}jo.prototype.Xa=function(a){a.type==Tl?(ko(this),$(pd).val()&&this.d.items().length!=this.Wa&&this.cb()):(clearTimeout(this.pc),this.pc=setTimeout($.proxy(this.cb,this),300))};
jo.prototype.cb=function(){var a=$(pd).val();if(!a||!(a.length>0))this.c.clearFilter();else{var b=RegExp(a,oj),c=$.grep(this.d.items(),function(a){return b.test(a.title)?h:a.tags&&$.grep(a.tags,function(a){return b.test(a)}).length>0?h:b.test(a.text())});this.Wa=this.d.items().length;this.c.filter(c,a)}};function lo(){this.bb=l;this.Za=0}lo.prototype.init=function(a){this.c=a;this.c.settings.enableGadgets&&$(this.c).bind(Yl,$.proxy(this.na,this))};lo.prototype.dispose=function(){$(this.c).unbind(ee);delete this.c};function mo(a){$(this).css(nh,Yk);$(this).css(um,Od);$(ld).removeClass(Li);$(ld).addClass(Mi);$(md).empty();a.preventDefault();a.stopPropagation();return l}function no(a){a.preventDefault();a.stopPropagation();return l}
lo.prototype.na=function(){if(!this.bb){oo(this);var a=this.c;$(de).each(function(){var b=$(this).attr(di),c=a.getGadget(b);c&&$(this).click(function(){var a=$(kd);a.css(nh,Zk);a.css(um,Xe);$(ld).removeClass(Mi);$(ld).addClass(Li);a=$(md);a.empty();c.invoke(a)})});$(kd).click(mo);$(md).click(no);this.bb=h}};
function oo(a){$(ld).empty();for(var b=0,c;c=a.c.N[b];b++){var d=a;if(c)d.Za++,$(ld).append(c.dockIconHTML()),c=document.getElementById(Ki),c.style.display=vh,d=70*d.Za,d+=10,c.style.height=d+Ok,c.style.marginTop=-d/2+Ok}};function po(){}F=po.prototype;F.init=function(a,b){this.c=a;this.d=b;$(this.c).bind(hl,$.proxy(this.ec,this));$(this.c).bind(Ih,$.proxy(this.dc,this));var c=$.proxy(this.fc,this);$(window).bind(Bk,c).bind(Pi,c)};F.dispose=function(){$(this.c).unbind(fe);$(window).unbind(fe);delete this.c;delete this.d};F.ec=function(a,b){if(b&&b.link&&(qo(this,b.link),b.title)){var c=b.title,d=this.d.resource()&&this.d.resource().title;c+=d?ha+d:m;document.title=c}};
F.dc=function(){qo(this);if(this.d.resource()&&this.d.resource().title)document.title=this.d.resource().title};function ro(a){if(a.d.resource()&&a.d.resource().url)return a.d.resource().url;return(a=M.decode())?(a.path=m,a.encode(l,l)):document.URL}function qo(a,b){var c=M.decode(b||ro(a));c.path=c.path||t;c.scheme=c.scheme||M.decode().scheme;c.authority=c.authority||M.decode().authority;a.pa=h;a.pa=M.rewritePath(c);if(!window.location.hash)a.pa=l}
F.fc=function(){if(this.pa)this.pa=l;else{var a=M.decode(),b=M.decode(ro(this)),c=a.fragment&&a.fragment[0]==ia?a.fragment.substr(1):a.path,a=new N(ro(this));a.path=c||t;b.path=b.path||t;a.scheme=a.scheme||M.decode().scheme;b.scheme=b.scheme||a.scheme;b=b instanceof N?b:new N(b);a.encode(l,l)==b.encode(l,l)?this.c.clearSelection():this.c.select(a.encode(l,l))}};function so(){this.Rc=0;this.ub={};var a=window.performance&&window.performance.timing;if(a&&a.responseStart&&a.navigationStart)this.Rc=a.responseStart-a.navigationStart,this.R=a.responseStart;this.R=this.R||to||(new Date).getTime()}var to=(new Date).getTime();so.prototype.tick=function(a,b){this.ub[a]=(new Date).getTime()-(b&&this.ub[b]||0)-this.R};function uo(){this.pb={};this.rb={};this.ha=[];this.oa=[];this.Z=/\.*(?:(\/\d{4}\/\d{2}\/[^\/]+)|\/p(\/[^\/]+\.html))$/;this.Da=l}F=uo.prototype;
F.init=function(a,b,c){this.c=a;this.d=b;this.f=c;if(!this.c.settings.headless)a=this.f&&this.f.settings&&this.f.settings.name,this.Mb=[sh,a?uh+a.replace(/\s+/g,Wg):m].join(Md),window._gaq&&this.c.settings.analytics_id&&window._gaq.push([ah,this.c.settings.analytics_id]),$(this.c).bind(im,$.proxy(this.Sb,this)),$(this.c).bind(il,$.proxy(this.Ob,this)),$(this.c).one(Jh,$.proxy(this.Nb,this)),$(this.d).bind(Fi,{start:h},$.proxy(this.Sa,this)),$(this.d).bind(Di,{end:h},$.proxy(this.Sa,this)),this.f&&
($(this.f).one(wj,$.proxy(this.Pb,this)),$(this.f).bind(ak,$.proxy(this.Qb,this)),$(this.f).bind(Uk,$.proxy(this.Rb,this))),a=$.proxy(this.Ra,this),$(window).bind(rh,a),setInterval(a,15E3)};F.dispose=function(){this.Ra();$(this.c).unbind(ke);$(this.d).unbind(ke);$(this.f).unbind(ke);delete this.c;delete this.d;delete this.f};
F.Sa=function(a,b){if(b!=this.d.resource().url)if(a.data&&a.data.start){var c=this.Z.test(b)?Dj:jh;if(c==jh){if(this.T)return;this.T=b}X(this,b,c,x)}else(c=X(this,b))&&c.tick(vl),this.Z.test(b)&&c&&c.tick(x)};F.Pb=function(){if(!this.d.resource().filter){var a=X(this,a,xh),b=(new so).R;if(a&&a.t&&a.t.start)a.t.start[0]=b;else if(a&&a.R)a.R=b}var a=M.decode();this.Z.test(a.path)||(delete a.params.base_url,vo(this,a.encode()))};
F.Nb=function(){var a=this.d.resource()&&this.d.resource().url;a&&!this.d.resource().filter&&vo(this,a)};F.Rb=function(){var a;this.Da?(a=this.T,delete this.T):(a=this.d.resource().url,this.Da=h);var b=X(this,a);b&&(b.tick(Jk,x),wo(this,a,$(y)))};F.Qb=function(){if(!this.T&&this.Da)this.T=Ck,X(this,this.T,jh,x)};F.Ob=function(a,b){var c=xo(this,b);X(this,c)||X(this,c,Dj,x)};
F.Sb=function(a,b,c){a=xo(this,b);b&&b.url&&vo(this,b.url);(b=X(this,a))||(b=X(this,a,Dj,x));b&&(b.tick(Jk),c=c?$(c):$(y),wo(this,a,c))};function X(a,b,c,d){var e=$.grep(a.ha,function(a){return a.identifier==b});if(e&&e.length)return e[0]&&e[0].timer;else if(c!==f){if(a.Z.test(b))if(a.pb[b])return;else a.pb[b]=h;e=new (window.jstiming&&window.jstiming.Timer||so);e.name=c;d!==f&&e.tick(d);a.ha.push({identifier:b,timer:e});return e}}
function yo(a,b){var c=$.grep(a.ha,function(a){return a.identifier==b});if(c.length)a.oa.push(c[0]),a.ha=$.grep(a.ha,function(a){return a.identifier==b},h)}function wo(a,b,c){c&&X(a,b)&&c.fullyLoaded(function(){var c=X(a,b);c&&(c.tick(Kk,x),yo(a,b))})}function xo(a,b){var c=a.Z.exec(typeof b==B?b:b&&b.url);return c?c[1]||c[2]:b}F.Ra=function(){if(this.oa.length){var a=$.map(this.oa,function(a){return a.timer});this.oa=[];Qn(a,this.Mb,{blogId:this.d.resource().id})}};
function vo(a,b){var c=M.decode(b).normalize().encode();b&&!a.rb[c]&&!M.isCrossDomain(c)&&(a.rb[c]=h,$.ajax({type:Cf,async:h,url:M.decode(b).param(ui,1).param(am,0).encode()}),window._gaq&&b&&window._gaq.push([bh,b]))};function zo(){}zo.Ba=1E3;F=zo.prototype;F.init=function(a,b){this.c=a;this.d=b;this.c.settings.headless&&delete zo.Ba;$(this.c).bind(jl,$.proxy(this.Xb,this));$(this.c).bind(Kh,$.proxy(this.Ub,this));this.ya=$.proxy(this.c.next,this.c);this.Aa=$.proxy(this.c.previous,this.c);this.za=$.proxy(this.c.clearSelection,this.c);this.Tb=$.proxy(this.Wb,this);$.proxy(this.ld,this);$(window).bind(Ph,$.proxy(this.Vb,this))};
F.dispose=function(){$(y).removeClass(xk);$(document).unbind(ne);$(window).unbind(ne);$(this.c).unbind(ne);delete this.c;delete this.d};F.Wb=function(a){a=$(a.target).parents().andSelf().filter(pe);if(a.length){var b=a.find(oe);a.toggleClass(wl,b.scrollTop()==0)}};F.Vb=function(a){this.ma&&($(a.target).parents().andSelf().filter(he).length||this.c.clearSelection())};
F.Xb=function(a,b,c){var a=$(nd),d=$.inArray(b,this.d.items())>=0;d&=!this.c.settings.headless;if(a.length&&(a.hasClass(Th)||!d))delete this.ma,clearTimeout(this.Ta),$(nd).remove(),a=[];if(d){var e=$(J().template(hg).apply(on(b))).not($e);if(a.length){var c=b.compareTo?b.compareTo(this.ma):-1,g=$(od);if(g.length){if(c==0)return;g.removeClass(ai);g.addClass(c<0?Sj:$k);e.addClass(c<0?$k:Sj);setTimeout(function(){g.remove()},zo.Ba||0)}e.appendTo(a);setTimeout(function(){e.removeClass($k).removeClass(Sj)},
0)}else if(a=$(J().template(gg).apply(on(b))).prependTo(y),a.append(e),c=c?$(c):$(ie+b.id+Vg)){var j={top:e.css(Ll),right:e.css($k),bottom:e.css(zh),left:e.css(Sj)},d=c.offset(),k=$(window).scrollLeft(),n=$(window).scrollTop();d&&(c={top:d.top-n,right:$(window).width()-(d.left-k)-c.outerWidth(),bottom:$(window).height()-(d.top-n)-c.outerHeight(),left:d.left-k},e.addClass(Aj).css(c),setTimeout(function(){e.removeClass(Aj).css(j)},0))}this.ma=b;a.addClass(wk);e.addClass(ai).addClass(wl);e.find(oe).focus().bind(el,
this.Tb);e.find(le).bind(Mh,Ao(this.ya));e.find(qe).bind(Mh,Ao(this.Aa));e.find(Ud).bind(Mh,Ao(this.za));e.find(oe).scrollLimit();$(y).addClass(xk);this.c.notify(gm,b,e);this.c.updated()}};function Ao(a){return function(b){b.stopPropagation();b.preventDefault();a()}}F.Ub=function(){$(nd).addClass(Th);$(y).removeClass(xk);delete this.ma;clearTimeout(this.Ta);this.Ta=setTimeout(function(){$(nd).remove()},zo.Ba||0)};function Bo(){}var Co=/^a$/i;Bo.prototype.init=function(a,b){this.c=a;this.d=b;$(y).bind(Qh,$.proxy(this.ic,this))};Bo.prototype.dispose=function(){$(y).unbind(re);delete this.c;delete this.d};
Bo.prototype.ic=function(a){if(!a.metaKey&&(Co.test(a.target.nodeName)||$(a.target).parents(ch).length)){var b=M.decode($(a.target).attr(Yi)||$(a.target).parents(ch).attr(Yi)),c=this.d.resource()&&M.decode(this.d.resource().url);if((!b.authority||b.authority==c.authority)&&/\.html$/i.test(b.path))return this.c.select(b.encode()),a.preventDefault(),a.stopPropagation(),l}};function Do(){this.zb=l}F=Do.prototype;F.init=function(a){this.c=a;this.c.settings.headless||$(this.c).bind(Zl,$.proxy(this.na,this))};F.dispose=function(){$(this.c).unbind(we);delete this.c};F.na=function(){var a=$.proxy(this.kd,this);$(se).each(function(){function b(){$(c).find(Zd).andSelf().removeClass(ni);a()}var c=this;if($(this).data(ni))$(this).one(kk,b);else $(this).data(qi)&&($(this).children().andSelf().addClass(oi),setTimeout(b,$(this).data(qi)||0))});a()};
F.kd=function(){this.Ab();Eo();Fo()};F.Ab=function(){var a=window.gapi,b=$(ue).filter(function(){return!$(this).data(xj)&&!$(this).hasClass(ni)});if(b.length)if(!a||!a.plusone){if(!this.zb)this.zb=h,$.getScript(bj,$.proxy(this.Ab,this))}else b.each(function(){var b=$(this).attributes(l,h);$(this).data(xj,h);a.plusone.render($(this).get(0),b)})};
function Eo(){$(ve).filter(function(){return!$(this).data(xj)&&!$(this).hasClass(ni)}).each(function(){$(this).data(xj,h);var a=$(document.createElement(mj)).attr({allowtransparency:Pl,frameborder:u,scrolling:pk,src:[fj,encodeURIComponent($(this).data($l)),zd,encodeURIComponent($(this).data(Dl))].join(m),style:om});$(this).append(a)})}
function Fo(){$(te).filter(function(){return!$(this).data(xj)&&!$(this).hasClass(ni)}).each(function(){$(this).data(xj,h);var a=$(document.createElement(mj)).attr({allowtransparency:Pl,frameborder:u,scrolling:pk,src:[gj,$.param({href:$(this).data($l),send:yi,layout:Dh,action:Vj,show_faces:yi,colorscheme:Uj,width:Ye,height:We})].join(m),style:yh});$(this).append(a)})};function Go(){this.$=m;this.$a=new Date}Go.prototype.init=function(a,b){this.c=a;this.d=b;$(document).bind(Lj,$.proxy(this.hc,this));$(document).bind(Jj,$.proxy(this.gc,this))};Go.prototype.dispose=function(){$(document).unbind(xe);delete this.c;delete this.d};var Y={j:"next",p:"next",k:Ik,n:Ik,":t":"templates"};Y[String.fromCharCode(37)]=Ik;Y[String.fromCharCode(39)]="next";Y[String.fromCharCode(27)]="clearSelection";
Y[$.map([38,38,40,40,37,39,37,39,98,97],function(a){return String.fromCharCode(a).toLowerCase()}).join(m)]=Nj;Go.prototype.hc=function(a){return Ho(this,a)};Go.prototype.gc=function(a){if($.inArray(a.which,[27,37,38,39,40])!==-1)return Ho(this,a)};
function Ho(a,b){if(/input|textarea|select|option|button/i.test(b.target.tagName))return h;var c=String.fromCharCode(b.which).toLowerCase(),d=new Date;a.$=d-a.$a<1E3?a.$+c:c;a.$a=d;c=0;for(d=a.$.length;c<d;c++){var e=a.$.substr(c);if(Y[e]){a.$=m;if($.isFunction(Y[e]))Y[e]();else if(a.c[Y[e]])a.c[Y[e]]();else a.c.notify(Y[e]);b.preventDefault();return l}else for(var g in Y)if(g.indexOf(e)==0)return}};function Io(a,b,c){this.z=a;this.q=$(b);this.settings=$.extend({},{pageSize:50,loadAfter:2E3},this.defaults,c);this.z.comments=i;this.ib=l;this.F=Am.data().commentIterator(this.z,this.settings.pageSize);this.init()}Io.prototype.defaults={};var Jo=document.URL;F=Io.prototype;
F.init=function(){var a=this.z.comments?0:this.settings.loadAfter||0,b=this.q.find(Ce).length,c=this.q.attr(ci)==Pl,d=M.decode(Jo);if(d.path==M.decode(this.z.url).path)d.fragment&&d.fragment.indexOf(Zh)>=0?(c=l,this.ib=h):d.param(ll)&&(c=l);R().settings.headless&&(c=l);b&&this.q.find(Ce).click($.proxy(this.Ea,this));if(b){if(this.q.find(Be).addClass(Jl).toggle(l),!c)this.lb=setTimeout($.proxy(this.Ea,this),a)}else this.lb=setTimeout($.proxy(this.load,this),a)};
F.Ea=function(){this.jb?this.q.find(Be).toggleClass(Jl).slideToggle():(this.xc=h,this.load())};F.dispose=function(){clearTimeout(this.lb);this.q&&$(this.q).unbind(Yd);this.F.dispose();delete this.q;delete this.z};F.items=function(){return this.F.items()};F.load=function(a){if(!this.jb)if(this.z.comments)this.sb(this.z.comments);else if((!this.F.waiting()||a===l)&&this.F.hasNext())Ko(this,h),this.F.next($.proxy(this.sb,this))};
F.sb=function(a){Ko(this,l);this.jb=h;this.z.comments=a||[];this.render(a);Lo(this);this.xc&&this.Ea();if(this.ib){var b=this;setTimeout(function(){var a=b.q.find(Xd);a.length&&a[0].scrollIntoView&&a[0].scrollIntoView(h)},250)}};function Ko(a,b){b!==f&&a.q.toggleClass(ck,b)}
F.render=function(a){if(a){var b=this,a={id:this.z.id,data:a,loadNext:function(a){b.F.hasNext()?b.F.next(function(d){Ko(b,l);d?($.merge(b.z.comments,d),a(d)):a(i)}):a(i)},hasMore:function(){return b.F.hasNext()},getMeta:$.proxy(this.yc,this)};window.goog&&window.goog.comments&&window.goog.comments.render($(this.q).find(Wd)[0],a)}};function Lo(a){a=a.q.find(Xd);a.length&&!a.attr(A)&&a.attr(z)&&a.attr(A,a.attr(z))}
F.yc=function(a,b){var c;if(Bj===a){c=this.z;var d=b&&b.author?b.author.profileUrl:i;c=d==(c&&c.author?c.author.profileUrl:i)&&d!=i?Pl:yi}else c=i;return c};function Mo(){}Mo.Ua=1E3;F=Mo.prototype;F.init=function(a,b){this.c=a;this.d=b;this.c.settings.headless&&delete Mo.Ua;var c=$.proxy(this.cc,this);$(this.c).bind(kl,c);$(this.c).bind(Bi,{Yb:h},c);$(this.c).bind(Lh,$.proxy(this.bc,this))};F.dispose=function(){$(y).removeClass(hm);$(this.c).unbind(De);delete this.c;delete this.d};
F.cc=function(a,b){var c=!(!a.data||!a.data.Yb);if(c||!(b.compareTo&&b.compareTo(this.Va)==0)){var d=$(Fe).length==0&&!c;this.Ca();if(!($.inArray(b,this.d.items())>=0)||this.c.settings.headless){var e=c?on({Placeholder:h}):on(b),g=$(J().template(Pg).apply(e)).not($e);g.find(Ee).scrollLimit();g.find(Ud).bind(Mh,$.proxy(this.Ca,this));$(y).addClass(hm).prepend(g.toggleClass(ok,d));d&&setTimeout(function(){g.removeClass(ok)},1);if(!c)this.c.notify(gm,b,g),this.c.updated(),this.Va=b;var j=$.proxy(this.c.clearSelection,
this.c);$(window).bind(Rh,function(a){$(a.target).parents().andSelf().filter(Fe).length||j()})}}};F.Ca=function(){$(y).removeClass(hm);delete this.Va;$(Fe).each(function(){if(!$(this).hasClass(Th)){$(this).addClass(Th);var a=this;setTimeout(function(){$(a).remove()},Mo.Ua||0)}});$(window).unbind(De)};F.bc=function(){this.Ca()};function No(){this.gadgetType=m}No.prototype.invoke=D();No.prototype.init=D();No.prototype.template=function(a){return(a=J().template(a))?$.trim(a.apply(m)):m};No.prototype.dockIconHTML=function(){return m};function Z(a,b,c){this.data=b||S();this.ui=c||R();this.settings=$.extend({},{name:fm,scrollBuffer:400,pageSize:25,infiniteScroll:h},this.defaults,a);this.va=[];this.Ia=[];this.async(this.Sc)}F=Z.prototype;F.defaults={};F.Jb=l;F.dispose=function(){Oo(this)};F.nameEvent=function(a){return this.settings.name?a+s+this.settings.name:a};F.bind=function(a,b,c,d){b=this.nameEvent(b);d===h?($(a).live(b,c),$.inArray(a,this.Ia)===-1&&this.Ia.push(a)):($(a).bind(b,c),$.inArray(a,this.va)===-1&&this.va.push(a))};
F.async=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if($.isFunction(d)){var e=this;setTimeout(function(){d.apply(e,c)},0)}};F.template=function(a,b){var c=J().template(a);return c?$.trim(c.apply(this.templateData(b))||m):m};F.templateData=function(a){a=typeof a!=="undefined"?on(a):ln();this.scope(a);return a};F.scope=D();
F.onItemClick=function(a){var b=$(a.target),b=b.hasClass(Cj)?b:b.parents(ge),c=b.attr(ei);if(c&&!a.metaKey){if($(a.target).is(ch)){var d=M.decode(this.data.resource().url),e=M.decode($(a.target).attr(Yi));if(e.authority&&e.authority!=d.authority&&$(a.target).parents().andSelf().filter(Ae).length)return}a.stopPropagation();a.preventDefault();this.ui.select(c,b);return l}};F.preventMore=function(a){if(typeof a!=="undefined")this.Jb=!!a;return this.Jb};
F.maybeMore=function(a){!this.preventMore()&&!this.ui.settings.headless&&(a||this.settings.infiniteScroll&&this.needMore())&&this.async(this.Ib)};
F.needMore=function(){var a=l,b=this.settings.infiniteScroll;$.inArray(b,[cm,Pl,uk,h])>=0?b=cm:b==Ui?b=Ui:$.inArray(b,[yi,tk,l])>=0&&(b=tk);if(b&&b!=tk){if(b==cm)b=$(document).height()-$(window).height()-$(window).scrollTop(),a=this.settings.scrollBuffer>=b;else if(b==Ui)b=$(document).width()-$(window).width()-$(window).scrollLeft(),a=this.settings.scrollBuffer>=b;else{var c=$(b);if(c.length){var b=$(window).scrollTop(),d=$(window).scrollLeft()+$(window).width(),e=$(window).scrollTop()+$(window).height(),
g=$(window).scrollLeft(),j=c.offset();if(j)var a=j.top,k=j.left+c.width(),c=j.top+c.height(),j=j.left,a=a<=e&&k>=g&&c>=b&&j<=d}}a||(b=this.ui.current())&&$.inArray(b,this.data.items())==this.data.items().length-1&&(a=h)}return a};F.Sc=function(){this.ui.view(this);$(this).triggerHandler(Dk);this.onPreInit();this.async(this.Zc)};
F.Zc=function(){$(y).addClass(this.settings.name);$.support.touch?$(y).addClass(Ml):$(y).addClass(rk);this.bind(window,el,$.proxy(this.Ic,this));this.bind(window,Vk,$.proxy(this.Lc,this));this.bind(ge,Mh,$.proxy(this.onItemClick,this),h);var a=$.proxy(this.Hc,this);this.bind(this.data,bk,function(b,c){a(c)});this.bind(this.ui,fl,$.proxy(this.Mc,this));this.bind(this.ui,Gh,$.proxy(this.za,this));this.bind(this.ui,Gi,$.proxy(this.Gc,this));this.bind(this.ui,Fh,$.proxy(this.Jc,this));$(this).triggerHandler(uj);
this.onInit();this.async(this.Kc)};F.Kc=function(){$(this).triggerHandler(vj);this.onInitComplete();this.async(this.Ib)};F.Ib=function(){!this.data.waiting()&&this.data.hasNext()&&this.onPreLoad()!==l&&($(this).triggerHandler(Ek),this.async(this.cd))};F.cd=function(){this.onLoad()!==l&&($(this).triggerHandler(Zj),$(y).addClass(ck),this.data.next(parseInt(this.settings.pageSize,10)||1))};
F.Hc=function(a){$(y).removeClass(ck);$(this).triggerHandler(bk,[a]);this.onLoadComplete(a);this.async(this.ed,a)};F.ed=function(a){if(!this.ui.settings.headless||!/\.*(?:(\/\d{4}\/\d{2}\/[^\/]+)|\/p(\/[^\/]+\.html))$/.test(M.decode().path))this.onPreRender(a)===l?this.ui.updated():($(this).triggerHandler(Fk,[a]),this.async(this.jd,a))};F.jd=function(a){$(this).triggerHandler(Sk,[a]);this.onRender(a);this.async(this.hd)};
F.hd=function(a){$(this).triggerHandler(Tk,[a]);this.onRenderComplete(a);this.ui.updated();this.async(this.maybeMore)};function Oo(a){if(a.onUnload()!==l){$(a).triggerHandler(Sl);if(a.settings&&a.settings.name){$(y).removeClass(a.settings.name);var b=s+a.settings.name;$.each(a.va,function(a,d){$(d).unbind(b)});$.each(a.Ia,function(){$(document).unbind(b)});delete a.va}delete a.ui;delete a.data;delete a.settings}}F.Lc=function(a){this.onResize(a);this.maybeMore()};
F.Ic=function(a){this.onScroll(a);this.maybeMore()};F.Mc=function(a,b){if(!this.ui.settings.headless)this.onSelect(b)};F.za=function(){this.onClearSelection()};F.Gc=function(a,b,c){this.onFilter(b,c)};F.Jc=function(){this.onClearFilter()};F.G=D();F.dd=D();F.xa=D();F.Hb=D();F.onPreInit=Z.prototype.G;F.onInit=Z.prototype.G;F.onInitComplete=Z.prototype.G;F.onPreLoad=Z.prototype.G;F.onLoad=Z.prototype.G;F.onLoadComplete=Z.prototype.xa;F.onPreRender=Z.prototype.xa;F.onRender=Z.prototype.xa;
F.onRenderComplete=Z.prototype.xa;F.onUnload=Z.prototype.G;F.onResize=Z.prototype.Hb;F.onScroll=Z.prototype.Hb;F.onSelect=Z.prototype.dd;F.onClearSelection=Z.prototype.G;F.onFilter=D();F.onClearFilter=Z.prototype.G;function Po(a){this.configure(a)}var Qo;function S(){Qo||(Qo=new Po);return Qo}Po.prototype.notify=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift(),e=this;setTimeout(function(){$(e).triggerHandler(d,c)},0);return this};Po.prototype.configure=function(a){this.settings=$.extend({},Ro,a);return this};var Ro={batchSize:25};F=Po.prototype;
F.open=function(a,b,c){var d=a,e=b,g=c||this.settings.batchSize;arguments.length||(d=M.decode(),e=(e=/\/search\/label\/([\w\d\s%]+)/.exec(d.path))?Al+decodeURIComponent(e[1]):f,d=d.root());this.m=new kn(this.iterator(d,e),g);this.tb=new Gn(d)};F.items=function(){return this.m?this.m.items():[]};F.resource=function(){if(this.m)return this.m.resource()};F.waiting=function(){return this.m?this.m.waiting():l};F.hasNext=function(){return this.m?this.m.hasNext():l};
F.next=function(a,b){if(this.m){var c,d=0;a&&($.isFunction(a)?c=a:d=parseInt(a,10));b&&($.isFunction(b)?c=b:d=parseInt(b,10));!isNaN(d)&&d>0&&this.m.pageSize(d);this.w=c;this.m.next($.proxy(this.Cc,this))}};F.reset=function(){this.m&&this.m.reset()};F.Cc=function(a){this.notify(bk,a);this.w&&(this.w(a),delete this.w)};F.find=function(a){if(a){var b=/^\d+$/.test(a),a=b?a:M.decode(a).encode(l,l),c=$.grep(this.items(),function(c){return a==(b?c.id:c.url)});if(c&&c.length>0)return c[0]}};
F.iterator=function(a,b,c){return new Pn(new Dn(new Bn(a,b)),c||this.settings.batchSize)};F.item=function(a,b){return!(!this.tb||!this.tb.get(a,b))};F.commentIterator=function(a,b){return new Ln(new Dn(a),b||this.settings.batchSize)};function So(a){this.H=[];this.N=[];this.O={};this.configure(a)}var To,Uo={modules:[Vn,Wn,Xn,ao,jo,po,uo,Bo,Do,Go,Mo],showWelcome:h};function R(){if(!To)To=new So,To.configure(),To.d=S();return To}F=So.prototype;F.dispose=function(){this.removeModules();$(this).unbind();return this};F.configure=function(a){this.settings=$.extend({},Uo,a);if(M.decode().param(tm)!==f)this.settings.headless=h,$(y).addClass(Aj);this.settings.feeds_api&&(this.d.settings.apiVersion=this.settings.feeds_api);return this};
function rn(a,b,c){if(c!==f)return a.O=a.O||{},a.O[b]=c,a;if(a.O)return a.O[b]}F.addModule=function(a,b){if(a){for(var c=0,d;d=this.H[c];c++)if(a.constructor===d.constructor)if(b){this.removeModule(d);break}else return this;this.H.push(a);a.init&&a.init(this,this.d,this.f)}return this};F.removeModules=function(){$.each(this.H,function(a,b){b&&b.dispose&&b.dispose()});this.H=[]};F.removeModule=function(a){if(a)a.dispose&&a.dispose(),this.H=$.grep(this.H,function(b){return b===a},h);return this};
F.addGadget=function(a,b){if(this.settings.enableGadgets&&a){for(var c=0,d;d=this.N[c];c++)if(a.gadgetType===d.gadgetType)if(b){Vo(this,d);break}else return;this.N.push(a);a.init&&a.init(this,this.d,this.f)}return this};function Vo(a,b){if(b)a.N=$.grep(a.N,function(a){return a===b},h)}F.getGadget=function(a){for(var b=0,c;c=this.N[b];b++)if(c.gadgetType==a)return c};F.register=function(a,b){if(b!==l)a.prototype=$.extend({},Z.prototype,a.prototype);this.jc=a;return this};
F.view=function(a,b){var c,d,e=this;a&&(typeof a===B?d=a:c=a);b&&(typeof b===B?d=b:c=b);d=d||M.decode().root();if(!c&&d){this.f&&this.f.dispose();if(this.settings.showWelcome&&(c=J().template(Sg)))$(y).children().not(ye).remove(),$(y).append(c.apply(ln()));this.d.open(d,hn());this.d.next(function(){e.d.reset();e.f=new e.jc})}else if(c)this.f=c,this.d=this.f.data,this.H.length||$.each(this.settings.modules,function(a,b){e.addModule(new b)});this.O={};this.o=-1;return this};
F.reload=function(){this.d.resource()&&this.view(this.d.resource().url);return this};F.current=function(){if(this.o>=0&&this.o<this.d.items().length)return this.d.items()[this.o]};F.hasPrevious=function(){return this.d.items().length>0&&this.o>0};F.hasNext=function(){var a=this.d.items().length;return a>0&&(this.o<a.length-1||this.d.hasNext())};
F.next=function(){var a=this.ya();if(a!=-1)return a<this.d.items().length?this.select(this.d.items()[this.o=a]):this.d.hasNext()&&!this.d.waiting()&&this.f.maybeMore(h),this};F.ya=function(){var a=rn(this,Xg);if(a){var b=$.inArray(this.current(),a),a=a[Math.min(a.length-1,b+1)];return $.inArray(a,this.d.items())}else return this.o+1};F.previous=function(){var a=this.Aa();if(a>=0&&a<this.d.items().length)this.select(this.d.items()[this.o=a]);return this};
F.Aa=function(){var a=rn(this,Xg);if(a){var b=$.inArray(this.current(),a),a=a[Math.max(0,b-1)];return $.inArray(a,this.d.items())}else return Math.max(0,this.o-1)};
F.select=function(a,b){var c=a;if(c===f){var d=this.d.resource()&&this.d.resource().url;d&&!M.isSamePage(d)&&(d=M.decode(),d.path!=t&&(c=d.encode(l,l)))}var d=-1,e;typeof c==sk||typeof c==B?(e=this.find(c),d=$.inArray(e,this.d.items())):c&&(d=$.inArray(c,this.d.items()),d>=0&&(e=c));if(e){this.o=d>=0?d:this.o;if(b===l)return this;this.notify(fl,e,b)}else if(c&&b!==l){var g=this;this.d.item(c,function(a){if(a)g.o=$.inArray(g.find(a.id),g.d.items()),g.notify(fl,g.current()||a)})&&$(this).triggerHandler(Ai,
c)}return this};F.clearSelection=function(){return this.notify(Gh)};F.find=function(a){return this.d.find(a)};F.filter=function(a,b){a&&rn(this,Xg,a).notify(Gi,a,b);return this};F.clearFilter=function(){return rn(this,Xg,i).notify(Fh,this.d.items())};F.updated=function(){return this.notify(Tl,this.d.items())};F.notify=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift(),e=this;setTimeout(function(){$(e).triggerHandler(d,c)},0);return this};var Wo={core:{view:Z,gadget:No},data:S,modules:{Overview:zo,Shortcuts:Go,Comments:Io},ui:R,templates:J,tools:{path:M,categorizer:dn,thumbnailer:T},views:[]},Xo;for(Xo in Wo)Am[Xo]=Wo[Xo];if(window.jstiming){window.jstiming.Db={};window.jstiming.Wc=1;var Yo=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],c!=f?e=c:e=e[0],d-e};window.jstiming.getTick=Yo;window.jstiming.getLabels=function(a){var b=[],c;for(c in a.t)b.push(c);return b};var Zo=function(a,b,c){var d=m;window.jstiming.pt&&(d+=Fd+window.jstiming.pt,delete window.jstiming.pt);try{window.external&&window.external.tran?d+=Gd+window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+=Gd+window.gtbExternal.tran():
window.chrome&&window.chrome.csi&&(d+=Gd+window.chrome.csi().tran)}catch(e){}var g=window.chrome;if(g&&(g=g.loadTimes))g().wasFetchedViaSpdy&&(d+=Cd),g().wasNpnNegotiated&&(d+=Bd),g().wasAlternateProtocolAvailable&&(d+=yd);a.ad&&(d+=ud+a.ad);var j=a.t,k=j.start,g=[],n=[],q;for(q in j)if(q!=wl&&q.indexOf(Wg)!=0){var v=j[q][1];v?j[v]&&n.push(q+s+Yo(a,q,j[v][0])):k&&g.push(q+s+Yo(a,q))}delete j.start;if(b)for(var C in b)d+=ud+C+kf+b[C];(b=c)||(b=jj==document.location.protocol?kj:cj);return[b,of,Ed+(window.jstiming.sn||
wh)+xd,a.name,n.length?Ad+n.join(Md):m,m,d,Dd,g.join(Md)].join(m)},$o=function(a,b,c){a=Zo(a,b,c);if(!a)return m;var b=new Image,d=window.jstiming.Wc++;window.jstiming.Db[d]=b;b.onload=b.onerror=function(){delete window.jstiming.Db[d]};b.src=a;b=i;return a};window.jstiming.report=function(a,b,c){if(document.webkitVisibilityState==Fk){var d=l,e=function(){if(!d){b?b.prerender=Se:b={prerender:Se};var g;document.webkitVisibilityState==Fk?g=l:($o(a,b,c),g=h);g&&(d=h,document.removeEventListener(jm,e,
l))}};document.addEventListener(jm,e,l);return m}return $o(a,b,c)}};})();

