Últimas

Front Park

” );
!function(t,e,i){function o(i,o,n){var r=e.createElement(i);return o&&(r.id=Z+o),n&&(r.style.cssText=n),t(r)}function n(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var o;return void 0===this.cache[e]&&(o=t(this.el).attr(“data-cbox-“+e),void 0!==o?this.cache[e]=o:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=k.length,i=(z+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?(“x”===e?W.width():n())/100:1)*parseInt(t,10))}function s(t,e){return t.get(“photo”)||t.get(“photoRegex”).test(e)}function l(t,e){return t.get(“retinaUrl”)&&i.devicePixelRatio>1?e.replace(t.get(“photoRegex”),t.get(“retinaSuffix”)):e}function d(t){“contains”in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(){z=0,rel&&”nofollow”!==rel?(k=t(“.”+te).filter(function(){var e=t.data(this,Y),i=new r(this,e);return i.get(“rel”)===rel}),z=k.index(_.el),-1===z&&(k=k.add(_.el),z=k.length-1)):k=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function p(i){var n;G||(n=t(i).data(“colorbox”),_=new r(i,n),rel=_.get(“rel”),g(),$||($=q=!0,c(_.get(“className”)),x.css({visibility:”hidden”,display:”block”}),L=o(se,”LoadedContent”,”width:0; height:0; overflow:hidden; visibility:hidden”),b.css({width:””,height:””}).append(L),D=T.height()+H.height()+b.outerHeight(!0)-b.height(),j=C.width()+E.width()+b.outerWidth(!0)-b.width(),A=L.outerHeight(!0),N=L.outerWidth(!0),_.w=a(_.get(“initialWidth”),”x”),_.h=a(_.get(“initialHeight”),”y”),L.css({width:””,height:_.h}),J.position(),u(ee),_.get(“onOpen”),O.add(R).hide(),x.focus(),_.get(“trapFocus”)&&e.addEventListener&&(e.addEventListener(“focus”,d,!0),ae.one(re,function(){e.removeEventListener(“focus”,d,!0)})),_.get(“returnFocus”)&&ae.one(re,function(){t(_.el).focus()})),v.css({opacity:parseFloat(_.get(“opacity”)),cursor:_.get(“overlayClose”)?”pointer”:”auto”,visibility:”visible”}).show(),_.get(“closeButton”)?B.html(_.get(“close”)).appendTo(b):B.appendTo(“”),w())}function f(){!x&&e.body&&(V=!1,W=t(i),x=o(se).attr({id:Y,”class”:t.support.opacity===!1?Z+”IE”:””,role:”dialog”,tabindex:”-1″}).hide(),v=o(se,”Overlay”).hide(),M=t([o(se,”LoadingOverlay”)[0],o(se,”LoadingGraphic”)[0]]),y=o(se,”Wrapper”),b=o(se,”Content”).append(R=o(se,”Title”),F=o(se,”Current”),P=t(‘‘).attr({id:Z+”Previous”}),K=t(‘‘).attr({id:Z+”Next”}),I=o(“button”,”Slideshow”),M),B=t(‘‘).attr({id:Z+”Close”}),y.append(o(se).append(o(se,”TopLeft”),T=o(se,”TopCenter”),o(se,”TopRight”)),o(se,!1,”clear:left”).append(C=o(se,”MiddleLeft”),b,E=o(se,”MiddleRight”)),o(se,!1,”clear:left”).append(o(se,”BottomLeft”),H=o(se,”BottomCenter”),o(se,”BottomRight”))).find(“div div”).css({“float”:”left”}),S=o(se,!1,”position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;”),O=K.add(P).add(F).add(I),t(e.body).append(v,x.append(y,S)))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),p(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get(“overlayClose”)&&J.close()}),t(e).bind(“keydown.”+Z,function(t){var e=t.keyCode;$&&_.get(“escKey”)&&27===e&&(t.preventDefault(),J.close()),$&&_.get(“arrowKey”)&&k[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on(“click.”+Z,”.”+te,i):t(“.”+te).live(“click.”+Z,i)),!0):!1}function w(){var n,r,h,d=J.prep,c=++le;q=!0,U=!1,u(he),u(ie),_.get(“onLoad”),_.h=_.get(“height”)?a(_.get(“height”),”y”)-A-D:_.get(“innerHeight”)&&a(_.get(“innerHeight”),”y”),_.w=_.get(“width”)?a(_.get(“width”),”x”)-N-j:_.get(“innerWidth”)&&a(_.get(“innerWidth”),”x”),_.mw=_.w,_.mh=_.h,_.get(“maxWidth”)&&(_.mw=a(_.get(“maxWidth”),”x”)-N-j,_.mw=_.w&&_.w1&&(U.height=U.height/i.devicePixelRatio,U.width=U.width/i.devicePixelRatio),_.get(“scalePhotos”)&&(r=function(){U.height-=U.height*e,U.width-=U.width*e},_.mw&&U.width>_.mw&&(e=(U.width-_.mw)/U.width,r()),_.mh&&U.height>_.mh&&(e=(U.height-_.mh)/U.height,r())),_.h&&(U.style.marginTop=Math.max(_.mh-U.height,0)/2+”px”),k[1]&&(_.get(“loop”)||k[z+1])&&(U.style.cursor=”pointer”,U.onclick=function(){J.next()}),U.style.width=U.width+”px”,U.style.height=U.height+”px”,setTimeout(function(){d(U)},1))}),setTimeout(function(){U.src=n},1)):n&&S.load(n,_.get(“data”),function(e,i){c===le&&d(“error”===i?o(se,”Error”).html(_.get(“xhrError”)):t(this).contents())})}var v,x,y,b,T,C,E,H,k,W,L,S,M,R,F,I,K,P,B,O,_,D,j,A,N,z,U,$,q,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:”elastic”,speed:300,fadeOut:300,width:!1,initialWidth:”600″,innerWidth:!1,maxWidth:!1,height:!1,initialHeight:”450″,innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:9000,slideshowStart:”start slideshow”,slideshowStop:”stop slideshow”,photoRegex:/.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:”@2x.$1″,current:”imagem {current} de {total}”,previous:”anterior”,next:”próximo”,close:”fechar”,xhrError:”Erro ao carregar.”,imgError:”Erro ao carregar.”,returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr(“href”)},title:function(){return this.title}},Y=”colorbox”,Z=”cbox”,te=Z+”Element”,ee=Z+”_open”,ie=Z+”_load”,oe=Z+”_complete”,ne=Z+”_cleanup”,re=Z+”_closed”,he=Z+”_purge”,ae=t(““),se=”div”,le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get(“loop”)||k[z+1])&&(t(),h=setTimeout(J.next,_.get(“slideshowSpeed”)))}function i(){I.html(_.get(“slideshowStop”)).unbind(s).one(s,o),ae.bind(oe,e).bind(ie,t),x.removeClass(a+”off”).addClass(a+”on”)}function o(){t(),ae.unbind(oe,e).unbind(ie,t),I.html(_.get(“slideshowStart”)).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+”on”).addClass(a+”off”)}function n(){r=!1,I.hide(),t(),ae.unbind(oe,e).unbind(ie,t),x.removeClass(a+”off “+a+”on”)}var r,h,a=Z+”Slideshow_”,s=”click.”+Z;return function(){r?_.get(“slideshow”)||(ae.unbind(ne,n),n()):_.get(“slideshow”)&&k[1]&&(r=!0,ae.one(ne,n),_.get(“slideshowAuto”)?i():o(),I.show())}}();t.colorbox||(t(f),J=t.fn[Y]=t[Y]=function(e,i){var o,n=this;if(e=e||{},t.isFunction(n))n=t(““),e.open=!0;else if(!n[0])return n;return n[0]?(f(),m()&&(i&&(e.onComplete=i),n.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),o=new r(n[0],e),o.get(“open”)&&p(n[0])),n):n},J.position=function(e,i){function o(){T[0].style.width=H[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-j+”px”,b[0].style.height=C[0].style.height=E[0].style.height=parseInt(x[0].style.height,10)-D+”px”}var r,h,s,l=0,d=0,c=x.offset();if(W.unbind(“resize.”+Z),x.css({top:-9e4,left:-9e4}),h=W.scrollTop(),s=W.scrollLeft(),_.get(“fixed”)?(c.top-=h,c.left-=s,x.css({position:”fixed”})):(l=h,d=s,x.css({position:”absolute”})),d+=_.get(“right”)!==!1?Math.max(W.width()-_.w-N-j-a(_.get(“right”),”x”),0):_.get(“left”)!==!1?a(_.get(“left”),”x”):Math.round(Math.max(W.width()-_.w-N-j,0)/2),l+=_.get(“bottom”)!==!1?Math.max(n()-_.h-A-D-a(_.get(“bottom”),”y”),0):_.get(“top”)!==!1?a(_.get(“top”),”y”):Math.round(Math.max(n()-_.h-A-D,0)/2),x.css({top:c.top,left:c.left,visibility:”visible”}),y[0].style.width=y[0].style.height=”9999px”,r={width:_.w+N+j,height:_.h+A+D,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?void(g=e):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){o(),q=!1,y[0].style.width=_.w+N+j+”px”,y[0].style.height=_.h+A+D+”px”,_.get(“reposition”)&&setTimeout(function(){W.bind(“resize.”+Z,J.position)},1),i&&i()},step:o})},J.resize=function(t){var e;$&&(t=t||{},t.width&&(_.w=a(t.width,”x”)-N-j),t.innerWidth&&(_.w=a(t.innerWidth,”x”)),L.css({width:_.w}),t.height&&(_.h=a(t.height,”y”)-A-D),t.innerHeight&&(_.h=a(t.innerHeight,”y”)),t.innerHeight||t.height||(e=L.scrollTop(),L.css({height:”auto”}),_.h=L.height()),L.css({height:_.h}),e&&L.scrollTop(e),J.position(“none”===_.get(“transition”)?0:_.get(“speed”)))},J.prep=function(i){function n(){return _.w=_.w||L.width(),_.w=_.mw&&_.mw1?(“string”==typeof _.get(“current”)&&F.html(_.get(“current”).replace(“{current}”,z+1).replace(“{total}”,a)).show(),K[_.get(“loop”)||a-1>z?”show”:”hide”]().html(_.get(“next”)),P[_.get(“loop”)||z?”show”:”hide”]().html(_.get(“previous”)),ce(),_.get(“preloading”)&&t.each([h(-1),h(1)],function(){var i,o=k[this],n=new r(o,t.data(o,Y)),h=n.get(“href”);h&&s(n,h)&&(h=l(n,h),i=e.createElement(“img”),i.src=h)})):O.hide(),_.get(“iframe”)?(o=e.createElement(“iframe”),”frameBorder”in o&&(o.frameBorder=0),”allowTransparency”in o&&(o.allowTransparency=”true”),_.get(“scrolling”)||(o.scrolling=”no”),t(o).attr({src:_.get(“href”),name:(new Date).getTime(),”class”:Z+”Iframe”,allowFullScreen:!0}).one(“load”,n).appendTo(L),ae.one(he,function(){o.src=”//about:blank”}),_.get(“fastIframe”)&&t(o).trigger(“load”)):n(),”fade”===_.get(“transition”)?x.fadeTo(g,1,i):i())},”fade”===_.get(“transition”)?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!q&&k[1]&&(_.get(“loop”)||k[z+1])&&(z=h(1),p(k[z]))},J.prev=function(){!q&&k[1]&&(_.get(“loop”)||z)&&(z=h(-1),p(k[z]))},J.close=function(){$&&!G&&(G=!0,$=!1,u(ne),_.get(“onCleanup”),W.unbind(“.”+Z),v.fadeTo(_.get(“fadeOut”)||0,0),x.stop().fadeTo(_.get(“fadeOut”)||0,0,function(){x.add(v).css({opacity:1,cursor:”auto”}).hide(),u(he),L.remove(),setTimeout(function(){G=!1,u(re),_.get(“onClosed”)},1)}))},J.remove=function(){x&&(x.stop(),t.colorbox.close(),x.stop().remove(),v.remove(),G=!1,x=null,t(“.”+te).removeData(Y).removeClass(te),t(e).unbind(“click.”+Z))},J.element=function(){return t(_.el)},J.settings=X)}(jQuery,document,window);
$(“a[rel=’imoveis-imagem’]”).colorbox({transition:”fade”,slideshow:true});
});

Originalmente matéria publicada no Jornal O Dia (http://odia.ig.com.br)

Deixe seu comentário

Comentários via Facebook

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *