window["Mark"] = function Mark() { this.id = ""; this.selection_text = ""; this.has_selection = false; this.color = ""; this.selection_info = ""; this.readonly = false; this.type = ""; }; var k = void 0, m = !0, n = null, t = !1; function u() { return function () { }; } function aa(g) { return function () { return g; }; } var A, FLOWPAPER = window.FLOWPAPER ? window.FLOWPAPER : window.FLOWPAPER = {}, ba = 1, ca = ba; FLOWPAPER.mg = function () { var g = []; return { Fl: function (c) { g.push(c); }, notify: function (c, d) { for (var e = 0, f = g.length; e < f; e++) { var h = g[e]; if (h[c]) { h[c](d); } } } }; }(); function da(g) { ca >= ba && FLOWPAPER.mg.notify("warn", g); } function E(g, c, d, e) { try { throw Error(); } catch (f) { f.stack && f.stack.split("\n").slice(2); } FLOWPAPER.mg.notify("error", g); d && c && (e ? jQuery("#" + d).trigger(c, e) : jQuery("#" + d).trigger(c)); console.log(d); console.log(c); console.log(e); console.log(g); throw Error(g); } FLOWPAPER.eh = { init: function () { if ("undefined" == typeof eb || !eb) { eb = {}; } var g = navigator.userAgent.toLowerCase(), c = location.hash.substr(1), d = t, e = ""; 0 <= c.indexOf("mobilepreview=") && (d = m, e = c.substr(c.indexOf("mobilepreview=")).split("&")[0].split("=")[1]); var f; try { f = "ontouchstart" in document.documentElement; } catch (h) { f = t; } if (!f && (g.match(/iphone/i) || g.match(/ipod/i) || g.match(/ipad/i))) { d = m; } c = eb; f = /win/.test(g); var z = /mac/.test(g), q; if (!(q = d)) { var r; try { r = "ontouchstart" in document.documentElement; } catch (l) { r = t; } q = r || g.match(/touch/i) || navigator.pk || navigator.msPointerEnabled; } c.platform = { win: f, mac: z, touchdevice: q, ios: d && ("ipad" == e || "iphone" == e) || g.match(/iphone/i) || g.match(/ipod/i) || g.match(/ipad/i), android: d && "android" == e || -1 < g.indexOf("android"), de: d && ("ipad" == e || "iphone" == e) || navigator.userAgent.match(/(iPad|iPhone);.*CPU.*OS 6_\d/i), iphone: d && "iphone" == e || g.match(/iphone/i) || g.match(/ipod/i), ipad: d && "ipad" == e || g.match(/ipad/i), winphone: g.match(/Windows Phone/i) || g.match(/iemobile/i) || g.match(/WPDesktop/i), Vk: g.match(/Windows NT/i) && g.match(/ARM/i) && g.match(/touch/i), $h: navigator.pk || navigator.msPointerEnabled, blackberry: g.match(/BlackBerry/i) || g.match(/BB10/i), webos: g.match(/webOS/i), fj: -1 < g.indexOf("android") && !(jQuery(window).height() < jQuery(window).width()), mobilepreview: d, Hc: window.devicePixelRatio ? window.devicePixelRatio : 1 }; d = eb; e = document.createElement("div"); e.innerHTML = "000102030405060708090a0b0c0d0e0f"; d.Mc = e; eb.platform.touchonlydevice = eb.platform.touchdevice && (eb.platform.android || eb.platform.ios || eb.platform.blackberry || eb.platform.webos) || eb.platform.winphone || eb.platform.Vk; eb.platform.oc = eb.platform.touchonlydevice && (eb.platform.iphone || eb.platform.fj || eb.platform.blackberry); eb.platform.ios && (d = navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/), d != n && 1 < d.length ? (eb.platform.iosversion = parseInt(d[1], 10), eb.platform.de = 6 <= eb.platform.iosversion) : eb.platform.de = m); eb.browser = { version: (g.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)(?!.+opera)/) || [])[1], lc: (g.match(/.+?(?:version|chrome|firefox|opera|msie|OPR)[\/: ]([\d.]+)(?!.+opera)/) || [])[1], safari: (/webkit/.test(g) || /applewebkit/.test(g)) && !/chrome/.test(g), opera: /opera/.test(g), msie: /msie/.test(g) && !/opera/.test(g) && !/applewebkit/.test(g), fd: ("Netscape" == navigator.appName && /Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/.exec(navigator.userAgent) != n || 0 < g.indexOf("edge/")) && !/opera/.test(g), mozilla: /mozilla/.test(g) && !/(compatible|webkit)/.test(g), chrome: /chrome/.test(g), km: window.innerHeight > window.innerWidth }; eb.browser.detected = eb.browser.safari || eb.browser.opera || eb.browser.msie || eb.browser.mozilla || eb.browser.seamonkey || eb.browser.chrome || eb.browser.fd; if (!eb.browser.detected || !eb.browser.version) { eb.browser.chrome = m, eb.browser.version = "500.00"; } if (eb.browser.msie) { var g = eb.browser, x; try { x = !!new ActiveXObject("htmlfile"); } catch (K) { x = t; } g.jm = x && "Win64" == navigator.platform && document.documentElement.clientWidth == screen.width; } eb.browser.version && 1 < eb.browser.version.match(/\./g).length && (eb.browser.version = eb.browser.version.substr(0, eb.browser.version.indexOf(".", eb.browser.version.indexOf(".")))); eb.browser.lc && 1 < eb.browser.lc.match(/\./g).length && (eb.browser.lc = eb.browser.lc.substr(0, eb.browser.lc.indexOf(".", eb.browser.lc.indexOf(".")))); x = eb.browser; var g = !eb.platform.touchonlydevice || eb.platform.android && !window.annotations || eb.platform.de && !window.annotations || eb.platform.ios && 6.99 <= eb.platform.iosversion && !window.annotations, d = eb.browser.mozilla && 4 <= eb.browser.version.split(".")[0] || eb.browser.chrome && 535 <= eb.browser.version.split(".")[0] || eb.browser.msie && 10 <= eb.browser.version.split(".")[0] || eb.browser.safari && 534 <= eb.browser.version.split(".")[0], e = document.documentElement.requestFullScreen || document.documentElement.mozRequestFullScreen || document.documentElement.webkitRequestFullScreen, L; try { L = !!window.WebGLRenderingContext && !!document.createElement("canvas").getContext("experimental-webgl"); } catch (C) { L = t; } x.bb = { kb: g, Uk: d, tn: e, An: L }; if (eb.browser.msie) { L = eb.browser; var v; try { /MSIE ([0-9]{1,}[.0-9]{0,})/.exec(navigator.userAgent) != n && (rv = parseFloat(RegExp.$1)), v = rv; } catch (D) { v = -1; } L.version = v; } } }; var O = "Portrait", Q = "BookView", S = "TwoPage", ea = "FlipView", U = "ThumbView", X = "SinglePage"; function Y() { for (var g = eb.Sg.innerHTML, c = [], d = 0; "\n" != g.charAt(d) && d < g.length;) { for (var e = 0, f = 6; 0 <= f; f--) { " " == g.charAt(d) && (e |= Math.pow(2, f)), d++; } c.push(String.fromCharCode(e)); } return c.join(""); } function fa(g, c, d) { this.aa = g; this.Cc = c; this.containerId = d; this.scroll = function () { var c = this; jQuery(this.Cc).bind("mousedown", function (d) { if (c.aa.qb || g.$c && g.$c() || jQuery("*:focus").hasClass("flowpaper_textarea_contenteditable") || jQuery("*:focus").hasClass("flowpaper_note_textarea")) { return d.returnValue = t, m; } if (c.aa.Ua) { return m; } c.Sk(c.Cc); c.Zf = d.pageY; c.Yf = d.pageX; return t; }); jQuery(this.Cc).bind("mousemove", function (d) { return c.xj(d); }); this.aa.vi || (jQuery(this.containerId).bind("mouseout", function (d) { c.Pj(d); }), jQuery(this.containerId).bind("mouseup", function () { c.Vh(); }), this.aa.vi = m); }; this.xj = function (c) { if (!this.aa.Ff) { return m; } this.aa.Lg != this.Cc && (this.Zf = c.pageY, this.Yf = c.pageX, this.aa.Lg = this.Cc); this.scrollTo(this.Yf - c.pageX, this.Zf - c.pageY); this.Zf = c.pageY; this.Yf = c.pageX; return t; }; this.Sk = function (c) { this.aa.Ff = m; this.aa.Lg = c; jQuery(this.Cc).removeClass("flowpaper_grab"); jQuery(this.Cc).addClass("flowpaper_grabbing"); }; this.Pj = function (c) { 0 == jQuery(this.aa.ga).has(c.target).length && this.Vh(); }; this.Vh = function () { this.aa.Ff = t; jQuery(this.Cc).removeClass("flowpaper_grabbing"); jQuery(this.Cc).addClass("flowpaper_grab"); }; this.scrollTo = function (c, d) { var h = jQuery(this.containerId).scrollLeft() + c, g = jQuery(this.containerId).scrollTop() + d; jQuery(this.containerId).scrollLeft(h); jQuery(this.containerId).scrollTop(g); }; } String.format = function () { for (var g = arguments[0], c = 0; c < arguments.length - 1; c++) { g = g.replace(RegExp("\\{" + c + "\\}", "gm"), arguments[c + 1]); } return g; }; jQuery.fn.Ul = function (g, c) { return this.each(function () { jQuery(this).fadeIn(g, function () { eb.browser.msie ? $(this).get(0).style.removeAttribute("filter") : ""; "function" == typeof eval(c) ? eval(c)() : ""; }); }); }; jQuery.fn.Cj = function (g) { this.each(function () { eb.browser.msie ? eval(g)() : jQuery(this).fadeOut(400, function () { eb.browser.msie ? $(this).get(0).style.removeAttribute("filter") : ""; "function" == typeof eval(g) ? eval(g)() : ""; }); }); }; jQuery.fn.ac = function (g, c) { if (0 <= jQuery.fn.jquery.indexOf("1.8")) { try { if (jQuery._data(this[0], "events") === k) { return t; } } catch (d) { return t; } var e = jQuery._data(this[0], "events")[g]; if (e === k || 0 === e.length) { return t; } var f = 0; } else { if (this.data("events") === k) { return t; } e = this.data("events")[g]; if (e === k || 0 === e.length) { return t; } f = 0; } for (; f < e.length; f++) { if (e[f].handler == c) { return m; } } return t; }; jQuery.fn.wn = function (g) { if (this.data("events") === k) { return t; } var c = this.data("events")[g]; if (c === k || 0 === c.length) { return t; } for (var d = 0; d < c.length; d++) { jQuery(this).unbind(g, c[d].handler); } return t; }; jQuery.fn.Am = function () { eb.browser.bb.kb ? this.scrollTo(ce, 0, { axis: "xy", offset: -30 }) : this.data("jsp").scrollToElement(ce, t); }; function ga(g) { var c; eb.platform.touchdevice && "undefined" !== typeof g.originalEvent.touches && (g = g.originalEvent.touches[0]); g || (g = window.event); g.target ? c = g.target : g.srcElement && (c = g.srcElement); 3 == c.nodeType && (c = c.parentNode); var d = g.pageX - jQuery(c).offset().left; g = g.pageY - jQuery(c).offset().top; return { x: d, y: g }; } jQuery.fn.Om = function (g, c) { this.css({ width: 0, height: 0, "border-bottom": String.format("{0}px solid transparent", g), "border-top": String.format("{0}px solid transparent", g), "border-right": String.format("{0}px solid {1}", g, c), "font-size": "0px", "line-height": "0px", cursor: "pointer" }); eb.platform.touchonlydevice || (this.on("mouseover", function (c) { jQuery(c.target).css({ "border-right": String.format("{0}px solid {1}", g, "#DEDEDE") }); }), this.on("mouseout", function (d) { jQuery(d.target).css({ "border-right": String.format("{0}px solid {1}", g, c) }); })); }; jQuery.fn.Pm = function (g, c, d) { this.css({ width: 0, height: 0, "border-bottom": String.format("{0}px solid {1}", g, c), "border-top": String.format("{0}px solid {1}", g, c), "border-left": String.format("1px solid {1}", g, c), "font-size": "0px", "line-height": "0px", cursor: "pointer" }); this.on("mouseover", function (c) { jQuery(d).trigger("mouseover"); jQuery(c.target).css({ "border-left": String.format("1px solid {1}", g, "#DEDEDE"), "border-bottom": String.format("{0}px solid {1}", g, "#DEDEDE"), "border-top": String.format("{0}px solid {1}", g, "#DEDEDE") }); }); this.on("mouseout", function (e) { jQuery(d).trigger("mouseout"); jQuery(e.target).css({ "border-left": String.format("1px solid {1}", g, c), "border-bottom": String.format("{0}px solid {1}", g, c), "border-top": String.format("{0}px solid {1}", g, c) }); }); }; jQuery.fn.Qm = function (g, c, d) { this.css({ width: 0, height: 0, "border-bottom": String.format("{0}px solid transparent", g), "border-top": String.format("{0}px solid transparent", g), "border-left": String.format("{0}px solid {1}", g, c), "font-size": "0px", "line-height": "0px", cursor: "pointer" }); d && this.css({ opacity: 0.3 }); this.on("mouseover", function (c) { d ? jQuery(c.target).css({ "border-left": String.format("{0}px solid {1}", g, "#FFFFFF"), opacity: 0.85 }) : jQuery(c.target).css({ "border-left": String.format("{0}px solid {1}", g, "#DEDEDE") }); }); this.on("mouseout", function (e) { jQuery(e.target).css({ "border-left": String.format("{0}px solid {1}", g, c) }); d && jQuery(e.target).css({ opacity: 0.3 }); }); }; jQuery.fn.Rm = function (g, c, d) { this.css({ width: 0, height: 0, "border-bottom": String.format("{0}px solid {1}", g, c), "border-top": String.format("{0}px solid {1}", g, c), "border-right": String.format("1px solid {1}", g, c), "font-size": "0px", "line-height": "0px", cursor: "pointer" }); this.on("mouseover", function (c) { jQuery(d).trigger("mouseover"); jQuery(c.target).css({ "border-right": String.format("1px solid {1}", g, "#DEDEDE"), "border-top": String.format("{0}px solid {1}", g, "#DEDEDE"), "border-bottom": String.format("{0}px solid {1}", g, "#DEDEDE") }); }); this.on("mouseout", function (e) { jQuery(d).trigger("mouseout"); jQuery(e.target).css({ "border-right": String.format("1px solid {1}", g, c), "border-top": String.format("{0}px solid {1}", g, c), "border-bottom": String.format("{0}px solid {1}", g, c) }); }); }; jQuery.fn.Dl = function (g) { return this[0].classList ? (this[0].classList.add(g), this) : this.addClass(g); }; jQuery.fn.Mm = function (g) { return this[0].classList ? (this[0].classList.remove(g), this) : this.addClass(g); }; jQuery.fn.gh = function () { this.css({ display: "none" }); }; jQuery.fn.ag = function () { this.css({ display: "block" }); }; window.wk = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (g) { window.setTimeout(g, 1000 / 60); }; jQuery.fn.dm = function () { var g = this.css("transform"); return g && "none" != g && ("0px,0px" != g.translate || 1 != parseFloat(g.scale)) ? m : t; }; function ha(g, c) { var d = "0", e = g += ""; if (d == n || 1 > d.length) { d = " "; } if (g.length < c) { for (var e = "", f = 0; f < c - g.length; f++) { e += d; } e += g; } return e; } jQuery.fn.spin = function (g) { this.each(function () { var c = jQuery(this), d = c.data(); d.cg && (d.cg.stop(), delete d.cg); g !== t && (d.cg = (new Spinner(jQuery.extend({ color: c.css("color") }, g))).spin(this)); }); return this; }; jQuery.fn.Wj = function () { var g = jQuery.extend({ Kg: "cur", zh: t, speed: 300 }, { zh: t, speed: 100 }); this.each(function () { var c = jQuery(this).addClass("harmonica"), d = jQuery("ul", c).prev("a"); c.children(":last").addClass("last"); jQuery("ul", c).each(function () { jQuery(this).children(":last").addClass("last"); }); jQuery("ul", c).prev("a").addClass("harFull"); c.find("." + g.Kg).parents("ul").show().prev("a").addClass(g.Kg).addClass("harOpen"); d.on("click", function () { jQuery(this).next("ul").is(":hidden") ? jQuery(this).addClass("harOpen") : jQuery(this).removeClass("harOpen"); g.zh ? (jQuery(this).closest("ul").closest("ul").find("ul").not(jQuery(this).next("ul")).slideUp(g.speed).prev("a").removeClass("harOpen"), jQuery(this).next("ul").slideToggle(g.speed)) : jQuery(this).next("ul").stop(m).slideToggle(g.speed); return t; }); }); }; function ia(g, c) { var d = jQuery("