var Tooltip=function(pos_left,pos_top,message){var container,INSTANCE=new VSModule;return INSTANCE.remove=function(){container.addClass("conceal"),setTimeout(function(){container.remove()},500)},container=$('
').css({left:pos_left,top:pos_top+13}).appendTo("body"),$("").html(message).appendTo(container),$('').appendTo(container),Tooltip.current&&Tooltip.current.remove(),setTimeout(function(){Tooltip.current=INSTANCE,container.addClass("reveal")}),INSTANCE};Tooltip.galleries=null,VectorStock.LazyImage=function(container){var INSTANCE=new VSModule,windowframe=$(window);function checkVisibility(){var frame_top,frame_bottom,item_top;container.is(":hidden")||(frame_bottom=(frame_top=windowframe.scrollTop())+windowframe.height(),(item_top=container.offset().top)+container.height()>=frame_top-VectorStock.LazyImage.SCROLL_MARGIN&&item_top<=frame_bottom+VectorStock.LazyImage.SCROLL_MARGIN&&(loadImage(),windowframe.off("scroll resize",checkVisibility)))}function loadImage(){var icon=INSTANCE.anchor.loadingIcon(),img=new Image;img.onload=function(){$(img).appendTo(INSTANCE.anchor),setTimeout(function(){container.addClass("reveal"),icon.remove(),INSTANCE.dispatchEvent("loaded",[INSTANCE.id])},10)},img.onerror=function(){container.addClass("error"),icon.remove(),$('!').appendTo(INSTANCE.anchor),INSTANCE.dispatchEvent("error")},img.src=INSTANCE.src}return INSTANCE.anchor=$("a",container),INSTANCE.src=container.data("src"),INSTANCE.id=(INSTANCE.src.match(/(\d+)\.(jpe?g|png|webp)$/)||[null,null])[1],VectorStock.LazyImage.observer_load?(container.bind("loadImage",loadImage),VectorStock.LazyImage.observer_load.observe(container[0])):(windowframe.on("scroll resize",checkVisibility),checkVisibility()),INSTANCE},VectorStock.LazyImage.SCROLL_MARGIN=500,window.IntersectionObserver&&(VectorStock.LazyImage.observer_load=new IntersectionObserver(function(entries,observer){entries.forEach(function(entry){entry.isIntersecting&&($(entry.target).trigger("loadImage"),observer.unobserve(entry.target))})},{root:null,rootMargin:VectorStock.LazyImage.SCROLL_MARGIN+"px",threshold:0}));var VectorAttributionPopupCopyfield=function(fieldset){var input,button,INSTANCE=new VSModule;function highlightInput(){fieldset.addClass("highlight")}function unhighlightInput(){fieldset.removeClass("highlight")}function onURLCopied(){INSTANCE.dispatchEvent("copy",[input.val()])}function copyURLToClipboard(){try{input.select(),document.execCommand("copy")||copyURLToClipboardBackup()}catch(err){copyURLToClipboardBackup()}}function copyURLToClipboardBackup(){onURLCopied(),window.prompt("Copy failed - try copying here instead:",input.val())}return support_copy=!1,INSTANCE.setValue=function(value){input.val(value)},INSTANCE.select=function(){input.select()},function(){input=$("input",fieldset),button=$("button",fieldset);try{support_copy=document.queryCommandSupported("copy"),button.on("mousedown",highlightInput).on("mouseup mouseleave",unhighlightInput).on("click",copyURLToClipboard)}catch(e){fieldset.addClass("fallback")}input.on("copy",onURLCopied)}(),INSTANCE},VectorAttributionPopup=function(vector_id,vector_title,vector_url,vector_artist){var overlay,container,tab_list,tab_content,but_download,but_download_title,INSTANCE=new VSModule,tab_selected=null,copyfield_by_id={};function onClickOverlay(event){$(event.target)[0]==overlay[0]&&INSTANCE.close()}function onClickTab(event){var tab=$(event.target),tab_id=tab.data("tab-id");tab_id!==tab_selected&&(tab_list.filter(".selected").removeClass("selected"),tab.addClass("selected"),tab_content.filter(".selected").removeClass("selected"),tab_content.filter('[data-tab-id="'+tab_id+'"]').addClass("selected"),copyfield_by_id[tab_selected=tab_id].select(),INSTANCE.dispatchEvent("select_tab",[tab_id]))}function onClickDownload(event){but_download.hasClass("disabled")||INSTANCE.dispatchEvent("download"),event.preventDefault()}function onKeyPress(event){"Escape"===event.key&&(INSTANCE.close(),event.stopPropagation())}return INSTANCE.setDownloadStatus=function(is_downloading){is_downloading?(but_download.addClass("disabled"),but_download_title.text("Downloading...")):(but_download.removeClass("disabled"),but_download_title.text("Download Free Vector"))},INSTANCE.close=function(){container&&container.remove(),overlay.remove(),$(document).off("keypress",onKeyPress),INSTANCE.dispatchEvent("close")},function(){overlay=$('').css({height:$(document).height()}).appendTo("body").on("click",onClickOverlay),setTimeout(function(){overlay.addClass("reveal")}),container=$('| File Type | Size |
|---|
Are you sure you’d like to purchase this license using Pay-per-Image?
You could buy with your Subscription instead (you have "+account_details.downloads+" remaining)…
").appendTo(prompt),$('').appendTo(buttons).on("click",function(){opts_payment[INSTANCE.license].set("subscription"),removePrompt(),announceDownloadEvent()})):alt_credits&&($("You could buy with your Credits instead (you have "+account_details.credits+" remaining)…
").appendTo(prompt),$('').appendTo(buttons).on("click",function(){opts_payment[INSTANCE.license].set("credits"),removePrompt(),announceDownloadEvent()})),buttons.appendTo(prompt),setTimeout(function(){prompt.addClass("reveal")},25)):announceDownloadEvent()}return INSTANCE.disableButton=function(label){but_download.prop("disabled",!0),but_download_icon.loadingIcon(),but_download_label_copy=but_download_label.html(),but_download_label.html(label)},INSTANCE.enableButton=function(){but_download.prop("disabled",!1),but_download_icon.empty(),but_download_label.html(but_download_label_copy)},INSTANCE.triggerDownload=function(){area_download.addClass("downloading"),setTimeout(function(){area_download.removeClass("downloading")},850)},INSTANCE.empty=function(){area_options.remove(),area_download.remove()},INSTANCE.license=opts_license.value,INSTANCE.payment=opts_payment[INSTANCE.license]?opts_payment[INSTANCE.license].value:null,INSTANCE.cost=opts_payment[INSTANCE.license]?opts_payment[INSTANCE.license].selected.data("cost"):null,INSTANCE.customization=opts_customization.checked?parseInt(opts_customization.input.data("cost"),10):null,container.attr("data-license")!==opts_license.value&&onLicenseChange(),container.on("mouseover",".option h6 a",showTooltip),opts_license.on("change",onLicenseChange),opts_payment_standard&&opts_payment_standard.on("change",onPaymentChange),opts_payment_editorial&&opts_payment_editorial.on("change",onPaymentChange),opts_payment_expanded&&opts_payment_expanded.on("change",onPaymentChange),opts_customization&&opts_customization.on("change",function(){INSTANCE.customization=opts_customization.checked?parseInt(opts_customization.input.data("cost"),10):null}),but_attribution.on("click",function(){INSTANCE.dispatchEvent("attribution_popup")}),help_download.on("mouseover",onHoverFileSizes),but_download.on("click",attemptDownload),INSTANCE};VectorOptions.LICENSE_FREE="free",VectorOptions.LICENSE_STANDARD="standard",VectorOptions.LICENSE_EDITORIAL="editorial",VectorOptions.LICENSE_EXPANDED="expanded",VectorOptions.LICENSE_EXCLUSIVE="exclusive",VectorOptions.PAYMENT_SINGLEIMAGE="single-image",VectorOptions.PAYMENT_CREDITS="credits",VectorOptions.PAYMENT_SUBSCRIPTION="subscription",VectorOptions.BUTTON_LABEL_FREE="Free Download",VectorOptions.BUTTON_LABEL_DOWNLOAD="Download Image";var VectorImage=function(container,vector_details,account_details){var icon,picture_loaded,picture_img,picture_load,picture_error,INSTANCE=new VSModule,img_high=$(".highres",container),area_panels=$(".panels",container),but_pinterest=$(".pinterest button",area_panels),but_facebook=$(".facebook button",area_panels),but_twitter=$(".twitter button",area_panels),but_email=$(".email button",area_panels),but_composite=$('.composite button[data-action="download"]',area_panels),img_path=vector_details.url.replace(/https?:\/\/[^\/]+/i,""),src_high=img_high.data("src");function onClickImage(event){area_panels.length&&event.target!==area_panels[0]||INSTANCE.dispatchEvent("click")}function popupWindow(url,name,width,height){var name=name||"",width=width||400,height=height||300,win_popup=0,win_left=window.screenX||window.screenLeft,win_top=window.screenY||window.screenTop,win_width=window.outerWidth||document.documentElement.clientWidth,win_height=window.outerHeight||document.documentElement.clientHeight-22,left=Math.round(win_left+(win_width-width)/2),win_popup=Math.round(win_top+(win_height-height)/2.5),win_popup=window.open(url,name,"scrollbars=no,menubar=no,resizable=yes,toolbar=no,location=no,status=yes,left="+left+",top="+win_popup+",width="+width+",height="+height);return win_popup&&win_popup.focus&&win_popup.focus(),win_popup}function shareOnPinterest(){var url_share=vector_details.url+"?utm_source=Pinterest";url_share+="&utm_medium=VectorStock Social Share",url_share+="&utm_campaign=Vector Social Share",url_share+="&utm_content="+vector_details.title;var url_pinterest="https://www.pinterest.com/pin/create/button/?";url_pinterest+="media="+encodeURIComponent(vector_details.media),url_pinterest+="&description="+encodeURIComponent(vector_details.description),url_pinterest+="&url="+encodeURIComponent(url_share),VectorStock.track("send","event","Share","Pinterest",img_path),popupWindow(url_pinterest,"SharePinterest",766,703)}function shareOnFacebook(){var url_share=vector_details.url+"?utm_source=Facebook";url_share+="&utm_medium=VectorStock Social Share",url_share+="&utm_campaign=Vector Social Share",url_share+="&utm_content="+vector_details.title;var url_facebook="https://www.facebook.com/dialog/share?";url_facebook+="app_id=241100862642313",url_facebook+="&display=popup",url_facebook+="&href="+encodeURIComponent(vector_details.url),url_facebook+="&redirect_uri="+encodeURIComponent(url_share),VectorStock.track("send","event","Share","Facebook",img_path),popupWindow(url_facebook,"ShareFacebook",555,469)}function shareOnTwitter(){var url_twitter="https://twitter.com/intent/tweet?";url_twitter+="text="+encodeURIComponent(vector_details.title),url_twitter+="&url="+encodeURIComponent(vector_details.url),VectorStock.track("send","event","Share","Twitter",img_path),popupWindow(url_twitter,"ShareTwitter",550,300)}function shareWithEmail(){VectorStock.track("send","event","Share","Email",img_path),window.location="mailto:?body="+encodeURIComponent(vector_details.url)}function downloadComposite(){INSTANCE.dispatchEvent("download_composite");var params=src_high.match(/\/i\/([a-z0-9\-]+)\/([0-9]+)\/([0-9]+)\/([a-z0-9\-]+)-([0-9]+)\.(jpg|webp)/i);window.location="https:"+VectorStock.domain+"/images/"+params[1]+"/"+params[2]+"/"+params[3]+"/"+params[5]+".jpg?download=1"}return icon=container.loadingIcon("large"),picture_loaded=!1,picture_img=$("img",img_high),picture_load=function(){picture_loaded||(picture_loaded=!0,setTimeout(function(){container.addClass("reveal"),icon.remove()},10))},picture_error=function(event){var img_low;picture_loaded||(picture_loaded=!0,img_low=$("High-res image couldn’t load
You have reached your limit of anonymous free downloads.
Signup now to get unlimited access!