/*! Polarr.co Copyright 2022-12-28. All rights reserved. No part of the materials including graphics, logos, designs, codes, available in this Web site may be copied, photocopied, reproduced, translated or reduced to any electronic medium or machine-readable form, in whole or in part, without specific permission. Distribution for commercial purposes is prohibited. ............................................................................... ................................................................................ .......................................M........................................ .......................................M........................................ .......................................M........................................ ............... .. .......... ........M...... . ......... ... ........... ............MM ... MN .....MM....MM ...M... MM....OM..... :M?...MM.............. .......... M........,M ..DM .......M ..M.. M........MM...M7....M................ ..........M..........MD. M..........M..M..M .........M.. M....M:..... ... ... .. ..........M ......... M. M..........M..M. M .........$M.M.....M................. ..........M..........M8. M..........M..M..M .........MM.M.....M................. ..........MM........ M...NM,.......M ..M.. M........NMM.M.....M................. ..........M.NM....~MZ......MM ...MM ...M....MM.. .8M $M.M.....M................. ..........M...... ........... ................, ...... ...................... ..........M..................................................................... ..........M..................................................................... .. .......M.......................................................... ... ... .. ................................................................................ polarr_homepage_v2 2022-12-28 */ this.polarr_homepage_templates=this.polarr_homepage_templates||{},this.polarr_homepage_templates["src/china/views/templates/download_icon"]=function(i){var e="";return e+='
'},this.polarr_homepage_templates["src/china/views/templates/module_collection"]=function(i){var e,s="",t=i||{};return function(i,t,l,a,o,r,d,n,c,u,v,p){s+='Polayoutu is community of photographers based in China who contribute photos under the Creative Commons Zero License. All photos are publicly voted on and curated on a weekly-basis. You can download and use these photos for any purposes without worrying about copyright. Polayoutu is also actively maintained by Polarr, Inc.
${this.total_upvote_count}
张已。`)}},PAGE_COLLECTIONS=class{constructor(t){this.scroll_end=this.scroll_end.bind(this),t=t||{},({target:this.target,author:this.author,volume:this.volume}=t),this.YOUTU_MINIMUM_ISO=YOUTU_MINIMUM_ISO,HOME.ws.request("GET","collections/get_edition_num",{},t=>{var e,i,s;if(this.latest_volume=t.data.edition,this.volumes=[this.volume],this.load_more=!this.volume,this.volume_divs=[],this.end_point=HOME.ws.rooturl(),!this.volumes[0])for(this.volume=this.latest_volume,e=i=s=this.latest_volume;s<=1?i<=1:i>=1;e=s<=1?++i:--i)this.volumes.push(e);return HOME.ui.render(this.target,"page_collections",this,!0,t=>{return this.parent=t,(window.navigator.userLanguage||window.navigator.language).indexOf("zh")<0&&(this.parent.find(".collection_foreign_users").show(),this.parent.find(".collection_search_bar input").attr("placeholder","Search for photos")),this.user_auth=new MODULE_POPUP({target:".collection_user_auth",hide_on_start:!0,login:!0,end_point:this.end_point}),this.user_subscribe=new MODULE_POPUP({target:".collection_user_subscribe",hide_on_start:!0,subscribe:!0,end_point:this.end_point}),this.parent.find(".subscribe").click(()=>this.user_subscribe.show()),this.parent.find(".user_page_link").click(t=>(t.preventDefault(),this.user_auth.check(()=>location.href=`/u/${this.user_auth.user_name}`))),this.parent.find(".user_signup").click(t=>(t.preventDefault(),this.user_auth.show())),this.parent.find(".submit").click(()=>this.user_auth.check(()=>this.user_submit=new MODULE_POPUP({target:".collection_user_submit",submit:!0,end_point:this.end_point}))),this.parent.find(".show_rules").click(t=>(t.preventDefault(),this.rules=new MODULE_POPUP({target:".collection_user_rules",rules:!0}))),this.parent.find(".one_col_button").click(()=>(this.parent.removeClass("two_col"),this.parent.find(".one_col_button").removeClass("inactive"),this.parent.find(".two_col_button").addClass("inactive"))),this.parent.find(".two_col_button").click(()=>(this.parent.addClass("two_col"),this.parent.find(".two_col_button").removeClass("inactive"),this.parent.find(".one_col_button").addClass("inactive"))),this.parent.find(".collection_volume_title .bg").css({transform:"scale(1.1)","-webkit-transform":"scale(1.1)"}),this.parent.find(".wx_wrapper .wx_button").click(()=>this.parent.find(".youtu_qr").qrcode(window.location.href)),this.parent.find(".collection_search_bar input").keyup(t=>(clearTimeout(this.search_keyup_timeout),this.search_keyup_timeout=setTimeout(()=>{var e;if((e=$(t.target).val().split(" ").join("+")).length>0)return HOME.ws.request("get",`${this.end_point}/collections/get_entries_by_tags/${e}`,{},t=>{var e,i,s,r,n;for(this.parent.find(".collection_search_result").empty(),this.parent.find(".collection_search_result").append(`