password protected publication
");var t=e?1e3:0,a=e?t/3:0;jQuery(".flowpaper_htmldialog").css({height:"0px",display:"block"}),jQuery(".flowpaper_htmldialog").animate({height:"400px",top:"0px"},{duration:a,complete:function(){jQuery(".flowpaper_htmldialog").css({height:""}),jQuery(".flowpaper_publication").animate({opacity:1},{step:function(e,A){var t=-33*e;jQuery(".flowpaper_publication").css({"-webkit-transform":"perspective(300) rotateY("+(-40-t)+"deg)","-moz-transform":"rotateY("+(-40-t)+"deg)","box-shadow":"5px 5px 20px rgba(51, 51, 51, "+e+")"})},duration:t})}}),A&&A()},FLOWPAPER.getParameterByName=function(e,A){A=A||window.location.href,e=e.replace(/[\[\]]/g,"\\$&");var t=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)").exec(A);return t?t[2]?decodeURIComponent(t[2].replace(/\+/g," ")):"":null},FLOWPAPER.animateDenyEffect=function(n,i,r,s,e){window.setTimeout(function(){var e=r/(2*s+1),A=1+60/(s*s);jQuery(n).stop(!0,!0);for(var t=0;t<=s;t++){for(var a=-1;a<=1;a+=2)jQuery(n).animate({marginLeft:(t!=s)*a*i},{duration:e,queue:!0});i/=A}},500)},FLOWPAPER.authenticated?($(".flowpaper-reflow-wrapper").show(),n()):($(".flowpaper-reflow-wrapper").hide(),FLOWPAPER.initLoginForm(!0,function(){$("#loginForm").find("form").submit(function(e){return e.preventDefault(),$.post("https://online-api.flowpaper.com/authv1/OnlineAuthAPI",{publicationId:"/76510742/NP24digitalauthv1/*",password:$("#loginForm").find("#txt_flowpaper_password").val()},function(e){if(e&&"ACCEPT"==e.result){var A=FLOWPAPER.getParameterByName("Policy",e.url),t=FLOWPAPER.getParameterByName("Signature",e.url),a=FLOWPAPER.getParameterByName("Key-Pair-Id",e.url);FLOWPAPER.authenticated={Policy:A,Signature:t,KeyPairId:a,getParams:function(){return"Policy="+this.Policy+"&Signature="+this.Signature+"&Key-Pair-Id="+a}},$("#loginForm").remove(),$(".flowpaper-reflow-wrapper").show(),n()}else FLOWPAPER.animateDenyEffect("#loginForm",25,500,7,"hor")}),!1})})),document.getElementById("flipjs-bookblock").addEventListener("onPagePanned",function(e){var A=e.detail,t=new XMLHttpRequest;t.open("PUT","https://rest.flowpaper.com/analytics/streams/online-flowpaper-com-event-pipe/record"),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify({Data:JSON.stringify({publication:window.location.href,type:"PAGE_VIEW",sessionId:A.sessionId,pageNumber:A.pageNumber,x:A.x,y:A.y,value:A.value,radius:A.radius,event:"onPagePanned"}),PartitionKey:1}))}),document.getElementById("flipjs-bookblock").addEventListener("onPageZoomed",function(e){var A=e.detail,t=new XMLHttpRequest;t.open("PUT","https://rest.flowpaper.com/analytics/streams/online-flowpaper-com-event-pipe/record"),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify({Data:JSON.stringify({publication:window.location.href,type:"PAGE_VIEW",sessionId:A.sessionId,pageNumber:A.pageNumber,x:A.x,y:A.y,value:A.value,radius:A.radius,event:"onPageZoomed"}),PartitionKey:1}))}),document.getElementById("flipjs-bookblock").addEventListener("onPageScrolled",function(e){var A=e.detail,t=new XMLHttpRequest;t.open("PUT","https://rest.flowpaper.com/analytics/streams/online-flowpaper-com-event-pipe/record"),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify({Data:JSON.stringify({publication:window.location.href,type:"PAGE_SCROLL",sessionId:A.sessionId,pageNumber:A.pageNumber,height:A.height,y:A.y,value:A.value,event:"onPageScrolled"}),PartitionKey:1}))})})