(new HM,"ofuser"),this.Fq&&ne.Gb(I$(this,ZBb)),CY(b,ne));0>dc.indexOf("CrOS")&&
0<=Va(OP,"10.1")&&CY(b,new kQ("profile","photos"));return b};r.HLa=function(ne,b){return L$(y$(y$(y$(Wsb(CY(CY(CY(CY(nub(this,ne,b),Dsb(Asb((new Q$).Gb(I$(this,eub)),b)).qf("album_mode","temporary")),Jvb((new HM).Gb(I$(this,xtb)),"flat")),Gsb(Fsb(Esb((new HM).Gb(I$(this,jtb))).Xc(["camera_sync","profile_photos","profiles_scrapbook"])),I$(this,btb))),V$(U$().Gb(I$(this,utb)))).Bl(""),this.it).Xc(I$(this,atb)),"multiselectEnabled"),"horizNav"),"shadeDialog"),"album")};
var nub=function(ne,b,c){var d='\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043a \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044e "'+(c+'"'),e={};e.evid=b;e.albumName=c;c=X$(ne);Nk(c.Db,"eventId",b);return L$(L$(L$(y$(c.Bl(d).Xc(I$(ne,A$)),"multiselectEnabled"),"ipfd"),"atec",e),"bulkTag")};
oob.prototype.CI=function(ne,b,c,d){d="\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438: "+d;var e=new WBb,h=new VBb;sl(e,5,h);h=M(e,VBb,5);XG(h,1,b);XG(h,2,c);b=cCb(ne.split(":")[1],16).toString(10);XG(e,13,b);b=(new jQ("dragonflyphotos")).qf("photo_metadata",e.We());b.qf("upload_source","LOCAL_PLUS_PAGE");ne={featureId:ne,shareTarget:"LOCAL",photoSource:"LOCAL_PLUS_PAGE"};
b.qf("streamid","updates");pob(this)&&(c=this.aH.getValue("oid"),b.qf("owner_name",Fa(c)));d=y$(L$(CY(CY(M$(X$(this),"default"),b),new HM),"sptm",ne).Bl(d),"multiselectEnabled").Xc(I$(this,ytb));Nk(d.Db,"apt","sp");this.aH&&this.aH.getValue("vie")||CY(d,Jvb((new HM).Gb(I$(this,ktb)),"camerasync"));return d};
var X$=function(ne){var b="//"+window.location.host+"/resources/rpc_relay.html",b=fob(gob(new eob(ne.xv),b),"iframes"),c=new Bk(ne.Db.zw().URL);(c=Pk(c,"origin")||Pk(c,"parent"))&&Tsb(b,c);Nk(b.Db,"actions","loaded");Nk(b.Db,"e",ne.Bl.join(","));c="ru".replace("-","_");Nk(b.Db,"hl",c);c=ne.DI;Nk(b.Db,"vg",c?c.charAt(0):void 0);y$(y$(M$(b,"orig"),"showroomNav"),"driveSortHidden");null!==ne.Xc&&Nk(b.Db,"authuser",ne.Xc);y$(b,"shapeSuggestions");y$(b,"faceRecoPromo");ne.Gv&&y$(b,"pcpfe");pob(ne)&&(ne=
ne.aH.getValue("oid"),Nk(b.Db,"groupId",Fa(ne)));return b};r=oob.prototype;r.Gta=function(ne,b,c,d){b=Asb(new Q$,b);b.Db.ifp=c;c=b.setSize(void 0);c.Db.eata=!0;c=Dsb(c);c.Db.mtp=d;ne?c.Ne(ne):c.qf("album_mode","temporary");d=Wsb(y$(y$(y$(CY(X$(this),c).Xc(I$(this,atb)).Bl(""),"multiselectEnabled"),"navHidden"),"shadeDialog"),this.it).it();ne?N$(d,ne).Xc(I$(this,A$)):(ne=L$(d,"bulkTag"),Nk(ne.Db,"fdtm",5E3));return d};
r.Lsa=function(ne,b,c,d,e){var h={};h.includeAllDocs=!!d;h.eata=!!d;h.mtp=e;h.finalizeAlbum=!d;h.albumName=b;b=y$(y$(y$(Wsb(X$(this).Bl(""),this.it).it().Xc(I$(this,atb)),"multiselectEnabled"),"horizNav"),"shadeDialog");Nk(b.Db,"uploadButton",(new iob("photos")).toString());this.aH&&this.aH.getValue("vie")||!1===c||CY(b,Jvb((new HM).Gb(I$(this,xtb)),"flat"));CY(CY(b,(new HM).Gb(I$(this,jtb))),V$(U$().Gb(I$(this,utb))));c=new Q$;c.Db.che=!0;c=c.Gb(I$(this,fub));c.Db.upload=!0;c=c.Ne(ne);c.Db.eata=
!!d;c=Dsb(c);c.Db.mtp=e;d?CY(b,c):Dd(b.Wm.Db,pa(c)?Qnb(c):c,0);L$(L$(b,"ipfd"),"photosharing");d&&L$(L$(b,"photocuration",h),"bulkTag");ne&&N$(b,ne);return b};r.Qta=function(){var ne=X$(this).Xc(I$(this,z$)),b=(new D$).Gb(I$(this,jub));b.Db.site="youtube.com";ne=CY(ne,b);b=(new E$).Gb(I$(this,ttb));b.Db.type="video";b.Db.site="youtube.com";ne=y$(CY(ne,b).Bl(""),"horizNav");pob(this)||CY(ne,(new