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