{"size": 24536, "ext": "js", "max_stars_repo_path": "assets/www/mobile/templates.mobile.activity.selector.js", "max_stars_repo_name": "maxxam11/feedly", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "assets/www/mobile/templates.mobile.activity.selector.js", "max_issues_repo_name": "maxxam11/feedly", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "assets/www/mobile/templates.mobile.activity.selector.js", "max_forks_repo_name": "maxxam11/feedly", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 1168.380952381, "max_line_length": 16142, "alphanum_fraction": 0.6793283339}
templates=templates||{};templates.mobile=templates.mobile||{};templates.mobile.activity=templates.mobile.activity||{};templates.mobile.activity.selector=templates.mobile.activity.selector||{};(function(){var h=devhd.i18n.L,a=devhd.i18n.$L,e=[],f="",i=templates.mobile.activity.selector;function g(l){var k=arguments,j;for(j=1;j<k.length;j++){l.push(k[j])
}}function d(j){try{if(j==null){return""}if(typeof j!="string"){return j}if(typeof j.replace!="function"){return j}return j.replace(/\</g,"&lt;").replace(/\>/g,"&gt;")}catch(k){return""}}function c(j){if(j==null){return""}if(typeof j!="string"){return j}if(typeof j.replace!="function"){return j}return j.replace(/\&/g,"&amp;").replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/\\/g,"\\\\").replace(/\"/g,"&quot;").replace(/[\f\r\t\n]/g," ").replace(/\</g,"&lt;").replace(/\>/g,"&gt;")
}function b(j){if(aString==null){return null}return aString.replace(/<\/?[^>]+>/gi,"")}i.css=function(n){var j=[];g(j,e[0],PANEL_W,e[1],feedlyTheme.se_back,e[2],feedlyTheme.se_color,e[3],LIST_BAR,e[4],family("regular"),e[5],NAVIGATION_BAR,e[6],NAVIGATION_BAR,e[7],LIST_BAR,e[8],feedlyTheme.se_meta,e[9],PAD,e[10],PAD,e[11],family("regular"),e[12],feedlyTheme.se_block,e[13],Math.floor((54-40)/2),e[14],Math.floor((LIST_BAR-40)/2),e[15],Math.floor((LIST_BAR-40)/2),e[16],svg(themable("mobile-selector-right-arrow")),e[17]);
if(ANDROID_LOW()==false){g(j,e[18])}g(j,e[19],feedlyTheme.se_border,e[20],LIST_BAR,e[21],LIST_BAR,e[22],LIST_BAR,e[23],PANEL_W-34-54-PAD,e[24],LIST_BAR,e[25],LIST_BAR,e[26],family("regular"),e[27],LIST_BAR,e[28],PAD,e[29],feedlyTheme.se_block,e[30],family("regular"),e[31],feedlyTheme.se_border,e[32],feedlyTheme.se_border,e[33]);if(SETTING("device_os")!="android"){g(j,e[34])
}g(j,e[35],PANEL_W-54-18-10-35-12*2-1,e[36],family("regular"),e[37],feedlyTheme.se_meta,e[38],family("regular"),e[39],(LIST_BAR-16)/2,e[40],LIST_BAR,e[41],LIST_BAR,e[42],svg(themable("mobile-checkbox-unchecked")),e[43],svg(themable("mobile-checkbox-checked")),e[44],feedlyTheme.se_highlight,e[45],LIST_BAR,e[46],LIST_BAR,e[47],LIST_BAR,e[48],LIST_BAR,e[8],feedlyTheme.se_color,e[30],family("regular"),e[49],LIST_BAR,e[11],family("regular"),e[50],PANEL_W-2*PAD,e[51],PAD,e[52],PAD,e[53],(562/2)-4*PAD,e[6],2*PAD,e[54],-PAD,e[55],LETTER_SPACING,e[30],family("header"),e[56],PAD,e[57],PAD,e[58],FEEDLY_GREEN,e[59],PAD,e[10],PAD,e[60],PAD,e[61],FEEDLY_GREEN,e[62],feedlyTheme.secondary_text,e[63],feedlyTheme.secondary,e[64],FEEDLY_GREEN,e[65]);
for(var k=0;k<7;k++){g(j,e[66],k,e[67],PALETTE[k],e[30]);if(ANDROID_LOW()==false){g(j,e[68])}g(j,e[69],k,e[70],feedlyTheme.se_empty,e[71])}g(j,e[72],svg(themable("mobile-selector-feedly")),e[73],svg(themable("mobile-selector-favorite")),e[74],svg(themable("mobile-selector-saved")),e[75],svg(themable("mobile-selector-latest")),e[76],svg(themable("mobile-selector-tag")),e[77]);
var m=10;var o=Math.floor((PANEL_W-1-2*m-2*20)/3-2);var l=o+15;g(j,e[78],Math.floor((l-30-26)/2),e[79],o,e[51],l,e[80],feedlyTheme.se_border,e[81],m,e[57],m,e[82],l-26,e[51],26,e[83],PAD,e[60],PAD,e[84],18*2,e[51],18*2,e[85],19,e[86],PANEL_W-3*OUTER-2*18,e[87]);return j.join(f)};i.layoutGetStarted=function(k){var j=[];g(j,e[88],FEEDLY_GREEN_HI,e[89],PAD,e[90],PANEL_W-3*PAD,e[91]);
if(k.logged){g(j,e[92])}else{g(j,e[93])}g(j,e[94]);return j.join(f)};i.layout=function(j){var k=[];g(k,e[95],PANEL_W,e[96],PAD,e[97],feedlyTheme.se_meta,e[98],H-2*PAD,e[99]);return k.join(f)};i.social=function(k){var j=[];return j.join(f)};i.layoutSources=function(s,u){var w=[];var x=s.cats;var n=s.others.slice(0,750);var y=s.mustReads.slice(0,250);
var m=s.unconfigured;var t=s.mustReadUnreadCount;var o=s.userEmail||"";for(var r=0;r<x.length;r++){x[r].index=r}if(m==false){g(w,e[100]);if(s.subscriptionCount>0){g(w,e[101],2*PAD,e[102],s.readingListUnreadCount==0?"empty":"",e[103],s.readingListTerm,e[104])}g(w,e[105],TREAD("cat_global.must")||"closed",e[106],(y==null||y.length==0)?"none":"block",e[107],s.mustReadTerm,e[108],s.mustReadUnreadCount==0?"empty":"",e[109],s.mustReadTerm,e[110],s.mustReadTerm,e[111],prettyCount(s.mustReadUnreadCount),e[112]);
if(TREAD("cat_global.must")=="open"){g(w,i.sources(y,"cat_global.must",u))}g(w,e[113],2*PAD,e[114],s.readingListTerm,e[115],s.readingListUnreadCount==0?"empty":"",e[103],s.readingListTerm,e[116],s.readingListTerm,e[117],prettyCategoryCount(s.readingListUnreadCount),e[118]);g(w,i.categories(x,null,u));g(w,e[119]);g(w,i.social(s));if(n.length>0){g(w,e[120],TREAD("cat_global.uncategorized")||"closed",e[121]);
if(TREAD("cat_global.uncategorized")=="open"){for(var p=0;p<n.length;p++){g(w,i.source(n[p],u))}}g(w,e[94])}g(w,e[122],2*PAD,e[91]);if(s.tags!=null&&s.tags.length>0){g(w,i.tags(s.tags))}g(w,e[123],2*PAD,e[124]);var k=TREAD("more")||"closed";g(w,e[125],2*PAD,e[91]);g(w,i.shortcut("Recently Read","list://user/-/state/com.google/read"));g(w,i.shortcut("Edit Content","action:switchToEditMode"));
g(w,i.shortcut("Switch Theme","action:toggleTheme"));if(ANDROID()==false){g(w,i.shortcut("Clear caches","action:clearCaches"))}g(w,i.shortcut("Connections","action:connections"));g(w,i.shortcut("Settings","action:settings"));g(w,e[126]);g(w,i.action("Re-order Alphabetically","resetCategoriesOrdering"));g(w,i.shortcut("Console","console"));g(w,i.shortcut("IO Stats","stats"));
g(w,i.shortcut("Unit Tests","tests"));g(w,i.shortcut("Rate Us !!","action:app/396069556"));g(w,i.shortcut("Install: Evernote","action:app/281796108"));g(w,e[127]);g(w,i.shortcut("Logout","action:logout"));g(w,e[119]);var l="";var v="";var q=null;if(s.profile!=null&&s.profile.cover!=null&&s.profile.cover.picture!=null){q=s.profile.cover.picture}else{if(s.profile!=null&&s.profile.picture!=null){q=s.profile.picture
}}switch(s.session.provider){case"Twitter":l="@"+s.profile.twitter;v="via Twitter";break;case"Facebook":l=s.profile.email||s.profile.fullName;v="via Facebook";break;case"Evernote":l=s.profile.email||s.profile.fullName;v="via Evernote";break;case"WindowsLive":l=s.profile.email||s.profile.fullName;v="via Microsoft";break;case"Google":case"GooglePlus":l=s.profile.email||s.profile.fullName;
v="via Google";break;default:l=s.profile.email||s.profile.fullName;v="via "+(s.session.provider||"Unknown")}g(w,e[128],2*PAD,e[129],q,e[130],l,e[131],v,e[132])}g(w,e[133],feedlyApplicationVersion,e[134]);return w.join(f)};i.tags=function(k){var j=[];for(var l=0;l<k.length&&l<100;l++){if(k[l].label!=null&&k[l].id.indexOf("global.")!=0){g(j,e[135],k[l].label,e[136],l==k.length-1?"bbordered":"",e[137],k[l].id,e[138],k[l].label,e[139])
}}return j.join(f)};i.action=function(k,l){var j=[];g(j,e[140],l,e[141],k,e[142]);return j.join(f)};i.shortcut=function(l,k){var j=[];g(j,e[143],c(k),e[144],l,e[119]);return j.join(f)};i.categories=function(l,j,n){var k=[];for(var m=0;m<l.length&&m<1000;m++){var o=j||TREAD("cat_"+l[m].flsId)||(m<3?"open":"closed");g(k,e[145],c(l[m].flsId),e[136],o,e[146],c(l[m].flsId),e[147],c(l[m].index),e[148],c("cat_"+l[m].flsId),e[149],c(l[m].flsId),e[150],c(l[m].flsId),e[151],isEmpty(l[m].unreadCount)?"empty":"",e[152],c(l[m].flsId),e[103],c(l[m].flsId),e[153],l[m].label,e[154],c(l[m].flsId),e[117],prettyCategoryCount(l[m].unreadCount),e[155],c(l[m].flsId),e[156]);
if(o=="open"){g(k,i.sources(l[m].subscriptions,"cat_"+l[m].flsId,null,n))}g(k,e[94])}return k.join(f)};i.sources=function(n,p,q,r){var s=[];var k=1000;var u=1000;var m=q||5;var t=[];var l=[];for(var o=0;o<n.length;o++){if(n[o].unreadCount==null||n[o].unreadCount>0){t.push(n[o])}else{l.push(n[o])}}if(t.length==0&&l.length>0){t=l.slice(0,m);l=l.slice(m)
}for(var o=0;o<t.length;o++){g(s,i.source(t[o],r))}if(l.length>0){g(s,e[157],p,e[158],p,e[159],l.length,e[160],l.length>1?"s":"",e[161],p,e[162]);for(var o=0;o<l.length;o++){g(s,i.source(l[o],false))}g(s,e[163])}return s.join(f)};i.source=function(m,l){var k=[];var j=computeFavicon(m.u||m.id.slice("feed/".length));g(k,e[164],c(m.flsId||m.id),e[165],c(m.flsId||m.id),e[166],c(m.title),e[167]);
if(l){g(k,e[168],j,e[169])}else{g(k,e[170],j,e[171])}g(k,e[172],c(m.flsId||m.id),e[173],c(m.flsId||m.id),e[174],prettyCount(m.unreadCount),e[175],d(m.title),e[176]);return k.join(f)};i.layoutTop=function(){var j=[];g(j,e[177],PANEL_W,e[178],feedlyTheme.se_back,e[2],feedlyTheme.se_color,e[179],PANEL_W,e[180],PANEL_W,e[181],NAVIGATION_BAR,e[182],NAVIGATION_BAR,e[21],NAVIGATION_BAR,e[183],family("regular"),e[184],NAVIGATION_BAR-12,e[185]);
return j.join(f)};i.layoutBottom=function(){var j=[];g(j,e[186],PANEL_W,e[187],feedlyTheme.se_back,e[2],feedlyTheme.se_color,e[188],family("regular"),e[184],NAVIGATION_BAR,e[189],Math.floor(PANEL_W-2*18),e[190],NAVIGATION_BAR-2*18-2,e[191],NAVIGATION_BAR-2*18-2,e[29],FEEDLY_GREEN,e[192],PANEL_W,e[193]);return j.join(f)};e=["\nbody\n{\nmargin : 0px;\npadding : 0px;\nwidth : ","px;\noverflow : hidden;\nbackground : ",";\ncolor : ",";\nline-height : ","px;\nfont-size : 16px;\n","\n-webkit-touch-callout : none;\n-webkit-user-select : none;\n-webkit-tap-highlight-color : rgba( 0, 0, 0, 0 );\n-webkit-text-size-adjust : none;\n}\n.editable .nonEditable\n{\ndisplay : none;\n}\nbody.editable\n{\npadding-top : ","px;\npadding-bottom : ","px;\n}\n*\n{\n-webkit-tap-highlight-color : rgba( 0, 0, 0, 0 );\n-webkit-user-select : none;\n}\n.footer\n{\nfont-size : 12px;\n; line-height : ","px;\ncolor : ",";\nmargin-top : ","px;\npadding-left : ","px;\n","\n}\n.block\n{\nbackground : ","; \n}\n.block.open_ \n{\nmargin-bottom : 40px;\n}\n.touchable\n{\ndisplay : block;\n-webkit-touch-callout : none;\n-webkit-user-select : none;\n-webkit-tap-highlight-color : rgba( 0, 0, 0, 0 );\nuser-select : none;\n}\n.handleHolder\n{\npadding : ","px; \npadding-top : ","px; \npadding-bottom : ","px; \nfloat : left;\nheight : 40px;\nwidth : 40px;\noverflow : hidden;\nopacity : 0.5;\n}\n.handle\n{\nbackground-image : url( "," );\nbackground-position : center center;\nbackground-repeat : no-repeat;\n-webkit-background-size : 44px 44px;\nbackground-size : 44px 44px;\nheight : 40px;\nwidth : 40px;\nborder-radius : 20px;\nopacity : 1;\n"," -webkit-transition : -webkit-transform 0.25s;\n"," }\n.open .handle\n{\n-webkit-transform : rotate( 90deg );\n}\n.sources\n{\ndisplay : none;\n}\n.open .sources\n{\ndisplay : block;\n}\n.header\n{\nposition : relative;\nz-index : 2px;\nmargin-right : -1px;\nborder-top : 1px solid ",";\n}\n.header .labelHolder\n{\nheight : ","px;\noverflow : hidden;\nline-height : ","px;\n}\n.header .label\n{\nline-height : ","px;\nfont-size : 16px;\nfont-weight : normal;\ndisplay : inline-block;\nwidth : ","px;\noverflow : hidden;\nwhite-space : nowrap;\ntext-overflow : ellipsis;\nfont-weight : normal;\ntext-transform : capitalize;\n}\n.header .unreadCount\n{\ndisplay : inline-block;\nfont-size : 13px;\nwidth : 34px;\nline-height : ","px;\noverflow : hidden;\ntext-align : right;\nopacity : 0.4;\n}\n.source\n{\nheight : ","px;\noverflow : hidden;\nclear : both;\nfont-size : 13px;\npadding-left : 54px;\n","\n}\n.shortcut\n{\nheight : ","px;\noverflow : hidden;\nclear : both;\nfont-size : 13px;\npadding-left : ","px;\nbackground-color : ",";\n","\n}\n.tbordered\n{\nborder-top : 1px solid ",";\n}\n.bbordered\n{\nborder-bottom : 1px solid ",";\n}\n.title\n{\nfloat : left;\noverflow : hidden;\nwhite-space : nowrap;\n"," text-overflow : ellipsis;\n","\nwidth : ","px;\n-webkit-touch-callout : none;\n-webkit-user-select : none;\ntext-transform : capitalize;\nfont-size : 14px;\n","\n}\n.meta\n{\nfloat : right;\npadding-left : 12px;\npadding-right : 12px;\ncolor : ",";\nfont-size : 14px;\nwidth : 35px;\ntext-align : right;\n","\n}\n.faviconPlaceholder, .faviconPlaceholderMaterialized\n{\nfloat : left;\nmargin : ","px;\nmargin-left : 0px;\nmargin-right : 10px;\nheight : 18px;\nwidth : 18px;\noverflow : hidden;\nbackground-repeat : no-repeat;\nbackground-size : 16px 16px;\nbackground-position : center center;\nborder-radius : 3px;\n}\n.editable .faviconPlaceholder\n{\ndisplay : none;\n}\n.checkbox\n{\nfloat : left;\nheight : ","px;\nwidth : ","px;\nbackground-repeat : no-repeat;\n-webkit-background-size : 60px 60px;\nbackground-size : 60px 60px;\nbackground-position : center center;\noverflow : hidden;\ndisplay : none;\n}\n.editable .checkbox\n{\ndisplay : block;\n}\n.editable .meta\n{\ndisplay : none;\n}\n.unchecked .checkbox\n{\nbackground-image : url( "," );\nopacity : 0.25;\n}\n.checked .checkbox\n{\nbackground-image : url( "," );\n}\n.checked\n{\nbackground-color : ",";\n}\n.icon\n{\nfloat : left;\nheight : ","px;\nwidth : 54px;\noverflow : hidden;\nbackground-repeat : no-repeat;\n-webkit-background-size : ","px ","px;\n}\n.more\n{\nfont-size : 13px;\nheight : ","\n}\n.question\n{\nfont-size : 16px;\nheight : ","\n}\n#homeIntro\n{\nbackground : url( images/mobile-home@2x.jpg ) center center no-repeat;\nwidth : ","px;\nheight : ","px;\npadding : ","px;\npadding-top : ",";\n-webkit-background-size : cover;\nbackground-size : cover;\nmargin-top : ","px;\nline-height : 17px;\nfont-size : 16px;\ntext-align : center;\ncolor : rgba( 255, 255, 255, 0.6 );\nbox-shadow : 0px 1px 2px rgba( 0, 0, 0, 0.5 );\n}\n.panelTitle\n{\npadding-top : 12px;\nfont-weight : bold;\nline-height : 44px;\nfont-size : 24px;\nletter-spacing : ","\n}\n.panelDescription\n{\nfont-size : 16px;\nline-height : 1.6em;\nmargin-top : ","px;\nmargin-bottom : ","px;\n}\n.button\n{\nbackground-color : ",";\ncolor : white;\nfont-size : 16px;\nline-height : 44px;\nmargin-bottom : ","px;\npadding-right : ","px;\nborder-radius : 3px;\ntext-align : center;\n}\n.button.feedly\n{\nbackground-color : ",";\ncolor : white;\n}\n.button.secondary\n{\nbackground-color : transparent;\ncolor : ",";\nborder : 1px solid ",";\n}\n.hi\n{\nbackground-color : ",";\ncolor : white;\n}\n"," .background","\n{\nbackground-color : "," -webkit-transition : -webkit-transform 0.25s linear, color 1s linear;\ntransition : -webkit-transform 0.25s linear, color 1s linear;\n"," }\n.background",".empty\n{\nbackground-color : ",";\n}\n","\n.backgroundSaved\n{\nbackground-color : #74a62b;\n}\n.backgroundAdd\n{\nbackground-color : #649125;\n}\n#my_icon\n{\nbackground-image :url( "," );\n}\n#must_icon\n{\nbackground-image :url( "," );\n}\n#saved_icon\n{\nbackground-image :url( "," );\n}\n#latest_icon\n{\nbackground-image :url( "," );\n}\n.tagIcon\n{\nbackground-image :url( "," );\n}\n","\n.hub\n{\nfloat : left;\nborder-radius : 3px;\nbackground-position : center ","px;\nbackground-size : 30px 30px;\nbackground-repeat : no-repeat;\nwidth : ","px;\nborder : 1px solid ",";\noverflow : hidden;\ncursor : pointer;\nmargin-right : ","px;\n}\n.etiquette\n{\nmargin-top : ","px;\ntext-align : center;\nfont-size : 12px;\nbackground-color : #FFF;\nline-height : 26px;\nfont-size : 12px;\ntext-transform : capitalize;\n}\n.cover\n{\npadding-left : ","px;\n}\n.profilePhoto \n{\nbackground-size : cover;\nwidth : ","px;\nborder : 1px solid rgba( 0, 0, 0, 0.2 );\nborder-radius : ","px; \noverflow : hidden;\nmargin-right : 8px;\nfloat : left;\n}\n.profileInfo \n{\nline-height : 19px;\nfont-size : 14px;\nmax-width : ","px;\ntext-overflow : ellipsis;\noverflow : hidden;\n}\n",'\n<div style="padding-left:20px; padding-right:20px; margin-top: 10px">\n<div class="panelTitle">\nMake feedly yours\n</div>\n<div class="panelDescription" style="opacity:0.7; margin-bottom:30px; line-height:1.35em">\nYour favorite sites will be here when you add them to your feedly.\n</div>\n<div class="touchable button feedly nonEditable" data-touch-highlight="','" data-app-action="showStore" data-end-activity="yes">\n<div class="label">Add Content</div>\n</div>\n<div class="touchable button secondary nonEditable" data-url="explore" data-end-activity="yes">\n<div class="label">Explore</div>\n</div>\n<div style="position:absolute; bottom:',"px; width:",'px">\n',' <div class="touchable button secondary" data-app-action="logout" data-end-activity="yes">\nLogout\n</div>\n',' <div class="question">Existing user?</div>\n<div class="touchable button secondary nonEditable" data-app-action="askLogin" data-end-activity="yes">\n<div class="label">Login</div>\n</div>\n'," </div>\n</div>\n",'\n<div id="selector" style="width:','px; overflow:hidden">\n<div style="padding:',"px; color:","; line-height:12px; line-height:",'px; text-align:center">\nSynchronizing my feedly...\n</div>\n</div>\n',' <div class="bbordered">\n',' <div id="my_block" class="block nonEditable" style="margin-top:','px">\n<div class="header touchable" data-url="my">\n<div class="handleHolder" data-url="my">\n<div id="my_icon" class="countSensitive handle touchable ','"\ndata-flsId="','"\n></div>\n</div>\n<div class="labelHolder">\n<div class="label">Home<div class="unreadCount"></div></div>\n</div>\n</div>\n</div>\n',' \n<div id="cat_global.must_block" \nclass="block ','" \nstyle="display:','"\n>\n<div class="header touchable"\ndata-container="cat_global.must_sources"\ndata-source="mustReads"\ndata-handle="cat_global.must_sources"\ndata-url="list://','"\n>\n<div class="handleHolder toggleable" data-toggle="cat_global.must">\n<div id="must_icon" class="countSensitive handle toggleable ','" \ndata-flsId="','"\n></div>\n</div>\n<div class="labelHolder">\n<div class="label">Must Reads</div><div id="','_unreadCount" class="unreadCount mustReadUnreadCount">','</div>\n</div>\n</div>\n<div id="cat_global.must_sources" class="sources">\n',' </div>\n</div>\n<div id="saved_block" class="block bbordered nonEditable">\n<div class="header touchable" data-url="list://user/-/tag/global.saved">\n<div class="handleHolder">\n<div id="saved_icon" class="handle"></div>\n</div>\n<div class="labelHolder">\n<div class="label full">Saved For Later</div>\n</div>\n</div>\n</div>\n<div id="latest_block" class="block nonEditable" style="margin-top:','px">\n<div class="header touchable" data-url="list://','">\n<div class="handleHolder">\n<div id="latest_icon"\nclass="countSensitive handle touchable ','"\n></div>\n</div>\n<div class="labelHolder">\n<div class="label">All</div><div id="','_unreadCount" class="unreadCount">','</div>\n</div>\n</div>\n</div>\n<div id="categories" >\n',"\n</div>\n",' <div id="cat_global.uncategorized_block" class="block ','">\n<div class="header"\ndata-toggle="cat_global.uncategorized"\ndata-container="cat_global.uncategorized_sources"\ndata-source="others"\ndata-handle="cat_global.uncategorized_sources"\n>\n<div class="handleHolder toggleable">\n<div class="handle toggleable"></div>\n</div>\n<div class="labelHolder">\n<div class="label full">Uncategorized</div>\n</div>\n</div>\n<div id="cat_global.uncategorized_sources" class="sources">\n',' </div>\n<div id="tags" style="margin-top:',' </div>\n<div style="margin-top:','px">\n<div style="margin:10px" class="touchable button secondary nonEditable" data-app-action="showStore" data-end-activity="no">\n<div class="label">Add website</div>\n</div>\n<div style="margin:10px" class="touchable button secondary nonEditable" data-url="explore" data-end-activity="yes">\n<div class="label">Explore</div>\n</div>\n</div>\n',' <div class="nonEditable bbordered" style="margin-top:',"\n<!--\n","\n-->\n",'\n<div class="cover" style="margin-top:','px">\n<div class="profilePhoto" style="background-image:url( ',' )"></div>\n<div class="profileInfo">','</div>\n<div class="profileInfo">',"</div>\n</div> \n",'\n<div class="footer nonEditable">\nVersion '," <br/>\n</div>\n",' <div id="tag_','_block" class="block ',' nonEditable">\n<div class="header touchable" data-url="list://','">\n<div class="handleHolder">\n<div class="handle tagIcon"></div>\n</div>\n<div class="labelHolder">\n<div class="label full">',"</div>\n</div>\n</div>\n</div>\n",'\n<div class="touchable source" data-app-action="','" >\n<div class="tbordered">\n',"\n</div>\n</div>\n",'\n<div class="touchable shortcut tbordered" data-url="','">\n',' <div id="cat_','">\n<div class="header touchable"\ndata-container="cat_','_sources"\ndata-source="cats" data-index="','"\ndata-handle="','"\ndata-url="list://','"\n>\n<div class="handleHolder toggleable" data-toggle="cat_','">\n<div class="countSensitive handle toggleable ','"\ndata-toggle="cat_','"\n></div>\n</div>\n<div class="labelHolder">\n<div class="label">','</div><div id="','</div>\n</div>\n</div>\n<div id="cat_','_sources" class="sources">\n',' <div style="padding-left:54px" class="more touchable" data-more="','_more"><div class="tbordered" data-more="','_more">Show '," more source",'</div></div>\n<div id="','_more" style="display:none">\n'," </div>\n",' <div class="unchecked checkable touchable source" data-checkState="unchecked" data-feedId="','" data-url="list://','" data-hint="','">\n<div class="tbordered">\n<div class="checkbox"></div>\n',' <div class="faviconPlaceholderMaterialized" style="background-image:url( ',' )"></div> \n',' <div class="faviconPlaceholder" data-favicon="','"></div>\n',' <div id="','_unreadCountHolder" class="meta feedUnreadCountHolder" data-feedId="','">','</div>\n<div class="title">',"</div>\n</div>\n</div>\n",'\n<html>\n<head>\n<title>selectorTop</title>\n<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,width=',',user-scalable=no">\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n<style>\nbody\n{\nbackground : ',";\nmargin : 0px;\npadding : 0px;\nwidth : ",";\nmax-width : ",";\nheight : ","px;\nmax-height : ","px;\nfont-size : 18px;\ntext-align : center;\n","\n-webkit-touch-callout : none;\n-webkit-user-select : none;\n-webkit-tap-highlight-color : rgba( 0, 0, 0, 0 );\n-webkit-text-size-adjust : none;\n}\n.button\n{\nline-height : ",'px;\ncolor : #FFF;\nbackground-color : #808080;\ntext-align : center;\nfont-size : 14px;\n}\n</style>\n<!--inject.bridge-->\n<script>\nwindow.onload = function()\n{\n$B.core.wm.markAsReady(); \ndocument.body.ontouchend = function()\n{\n// send an app action request to the parent\n$B.core.wm.postMessage( "parent",\n{\ntype : "mode",\naction : "view"\n}\n);\n}\n}\n<\/script>\n</head>\n<body>\n<div class="button" style="display:none; position:absolute; right: 6px; top: 6px">Done</div>\nEdit\n</body>\n</html>\n','\n<html>\n<head>\n<title>selectorBottom</title>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,width=',',user-scalable=no">\n<style>\nbody\n{\nmargin : 0px;\npadding : 0px;\nwidth : 100%;\noverflow : hidden;\nbackground : ',";\nfont-size : 14px;\n","px;\ncolor : #FFF;\nbackground-color : #808080;\ntext-align : center;\nfont-size : 14px;\nfloat : left;\nwidth : 50%;\n}\n.disabled .button\n{\ncolor : rgba( 255, 255, 255, 0.33 );\n}\n.bar\n{\nwidth : ","px;\nmargin : 18px;\nheight : ","px;\nborder : 1px solid #BBB;\n}\n.cursor\n{\nheight : ",";\n}\n</style>\n<!--inject.bridge-->\n<script>\nvar PANEL_W = ",';\n// RECEIVING MODEL CHANGE EVENTS FROM THE PARENT\nfunction ONEVENT( message )\n{\ntry\n{\nswitch( message.type )\n{\ncase "count":\ndocument.getElementById( "actions" ).style.display = "block";\ndocument.getElementById( "progress" ).style.display = "none";\nif( message.count == 0 )\n{\ndocument.body.className = "disabled";\ndocument.getElementById( "remove" ).innerHTML = "Remove";\n}\nelse\n{\ndocument.body.className = "enabled";\ndocument.getElementById( "remove" ).innerHTML = "Remove (" + message.count + ")";\n}\nbreak;\ncase "progress":\ndocument.getElementById( "actions" ).style.display = "none";\ndocument.getElementById( "progress" ).style.display = "block";\ndocument.getElementById( "cursor" ).style.width = Math.floor( ( PANEL_W - 2 * 18 ) * message.i / message.n ) + "px";\nbreak;\ndefault:\n///D $feedly( "[selector] ON EVENT:" + JSON.stringify( message ) );\n}\n}\ncatch( e )\n{\n$feedly( "[selector$bottom] ON EVENT FAILED: " + e.name + " -- " + e.message + " -- " + JSON.stringify( message ) );\n}\n}\nwindow.onload = function(){\n$B.core.wm.markAsReady(); \ndocument.getElementById( "remove" ).ontouchend = function(){\n// send an app action request to the parent\n$B.core.wm.postMessage( "parent",\n{\ntype : "edit",\naction : "remove"\n}\n);\n}\ndocument.getElementById( "cancel" ).ontouchend = function(){\n// send an app action request to the parent\n$B.core.wm.postMessage( "parent",\n{\ntype : "edit",\naction : "cancel"\n}\n);\n}\n};\n<\/script>\n</head>\n<body>\n<div id="actions">\n<div id="remove" class="button" style="background-color:#a30800">Remove</div>\n<div id="cancel" class="button" style="color:#FFF">Cancel</div>\n</div>\n<div id="progress" style="display:none">\n<div id="bar" class="bar">\n<div id="cursor" class="cursor"></div>\n</div>\n</div>\n</body>\n</html>\n']
})();