/*! For license information please see index.js.LICENSE.txt */ var FBPublication;!function(){var t,e,n,r,o={923:function(t,e,n){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){this._navigator=t||(n.g.navigator?n.g.navigator:window?window.navigator:void 0),this.browser=this._getBrowser(),this.flash=this._getFlash(),this.os=this._getOS(),this.device=this._getDevice(),this.locales=this._getLocales(),this.locale=this.locales?this.locales[0]:void 0}o.prototype.constructor=o,o.prototype._getBrowser=function(){var t,e=void 0!==this._navigator?this._navigator.userAgent.toLowerCase():"",n=function(t){var n=e.match(t);return n&&n.length>1&&n[1]||""},r=/CrOS/.test(e),o=n(/edge?\/(\d+(\.\d+)?)/i),i=o?o>=80?"chromiumEdge":"msedge":null,a=n(/version\/(\d+(\.\d+)?)/i),s=!1;return/opera|opr/i.test(e)?t={name:"Opera",opera:!0,version:a||n(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?t={name:"Yandex Browser",yandexbrowser:!0,version:a||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/windows phone/i.test(e)?(s=!0,t={name:"Windows Phone IE",ie:!0},o?(t[i]=!0,t.version=o):(t.msie=!0,t.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?(t={name:"Internet Explorer",msie:!0,ie:!0,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)},/trident/i.test(e)&&("7.0"===t.version&&"4.0"===n(/(?:trident\/)(\d+(\.\d+)?)/i)&&(t.version="8.0"),"7.0"===t.version&&"5.0"===n(/(?:trident\/)(\d+(\.\d+)?)/i)&&(t.version="9.0"))):/silk/i.test(e)?t={name:"Amazon Silk",silk:!0,version:n(/silk\/(\d+(\.\d+)?)/i)}:r?t={name:"Chrome",chrome:!0,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge?/i.test(e)?((t={name:"Microsoft Edge",version:o})[i]=!0,t.ie="msedge"===i):/chrome|crios|crmo/i.test(e)?(t={name:"Chrome",chrome:!0,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)},/SamsungBrowser/i.test(e)&&(t.name="Samsung Browser",t.samsung=!0,t.version=n(/SamsungBrowser\/(\d+(\.\d+)?)/i))):t=/seamonkey\//i.test(e)?{name:"SeaMonkey",seamonkey:!0,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(e)?{name:"Firefox",firefox:!0,version:n(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)}:/phantom/i.test(e)?{name:"PhantomJS",phantom:!0,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/safari/i.test(e)?{name:"Safari",safari:!0,version:a}:{other:!0},/FBAN|FBIOS|FB_IAB|FBAV/i.test(e)&&(t.name="Facebook In-App",t.facebook=!0,t.inApp=!0),/\bFB[\w_]+\/(Messenger|MESSENGER)/i.test(e)&&(t.name="Messenger In-App",t.messenger=!0,t.inApp=!0),/\bTwitter/i.test(e)&&(t.name="Twitter In-App",t.twitter=!0,t.inApp=!0),/\bLine\//i.test(e)&&(t.name="Line In-App",t.line=!0,t.inApp=!0),/\bMicroMessenger\//i.test(e)&&(t.name="Wechat In-App",t.wechat=!0,t.inApp=!0),/\bInstagram/i.test(e)&&(t.name="Instagram In-App",t.instagram=!0,t.inApp=!0),s||t.msie||t.msedge||t.chromiumEdge||!/(apple)?webkit/i.test(e)?!t.opera&&/gecko\//i.test(e)&&(t.name=t.name||"Gecko",t.gecko=!0,t.version=t.version||n(/gecko\/(\d+(\.\d+)?)/i)):(t.name=t.name||"Webkit",t.webkit=!0,!t.version&&a&&(t.version=a)),t.name||(t.name="Other"),-1!==e.toLowerCase().indexOf("publisher")&&(t.publisher=!0),t},o.prototype._getFlash=function(){var t="Shockwave Flash",e="ShockwaveFlash.ShockwaveFlash",o="application/x-shockwave-flash",i=null;if(void 0!==this._navigator.plugins&&"object"===r(this._navigator.plugins[t])){var a=this._navigator.plugins[t].description;!a||void 0!==this._navigator.mimeTypes&&this._navigator.mimeTypes[o]&&!this._navigator.mimeTypes[o].enabledPlugin||(a=a.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),i=[parseInt(a.replace(/^(.*)\..*$/,"$1"),10),parseInt(a.replace(/^.*\.(.*)\s.*$/,"$1"),10),/[a-zA-Z]/.test(a)?parseInt(a.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0])}else if(void 0!==n.g.ActiveXObject)try{var s=new n.g.ActiveXObject(e);if(s){var l=s.GetVariable("$version");l&&(l=l.split(" ")[1].split(","),i=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)])}}catch(c){}return i},o.prototype._getOS=function(){var t=void 0!==this._navigator?this._navigator.userAgent.toLowerCase():"",e=function(e){var n=t.match(e);return n&&n.length>1&&n[1]||""},n={name:"Other",other:!0},r=e(/(ipod|iphone|ipad)/i).toLowerCase(),o="ontouchstart"in document.documentElement&&/macintosh/i.test(t),i=!/like android/i.test(t)&&/android/i.test(t),a=e(/version\/(\d+(\.\d+)?)/i);return r&&!o?n={name:"iOS",version:e(/os\s(\d+_*\d*_*\d*)/).split("_").join("."),ios:!0}:o?n={name:"iPadOS",version:e(/version\/(\d+.?\d*.?\d*)\s/i),ios:!0,ipados:!0}:i?n={name:"Android",version:e(/android\s(\d+\.*\d*\.*\d*)/),android:!0}:/mac os/.test(t)?n={name:"Mac OS",mac:!0}:/windows/i.test(t)?n={name:"Windows",windows:!0}:/playbook|blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?n={name:"Blackberry",blackberry:!0,version:a||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:/(web|hpw)os/i.test(t)?(n={name:"WebOS",webos:!0,version:a||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(n.touchpad=!0)):/bada/i.test(t)?n={name:"Bada",bada:!0,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:/tizen/i.test(t)?n={name:"Tizen",tizen:!0,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||a}:/sailfish/i.test(t)?n={name:"Sailfish",sailfish:!0,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(t)&&/\((mobile|tablet);[^)]*rv:[\d.]+\)/i.test(t)&&(n={name:"Firefox OS",firefoxos:!0}),n},o.prototype._getDevice=function(){var t=void 0!==this._navigator?this._navigator.userAgent.toLowerCase():"",e={},n=!/like android/i.test(t)&&/android/i.test(t),r=/cros/.test(t);return e.name=t.match(/ipad/)||this.os.ipados?"ipad":t.match(/ipod/)?"ipod":t.match(/iphone/)?"iphone":n?"android":t.match(/windows phone/)?"wphone":t.match(/mobile/)?"mobile":t.match(/mac|win|linux/)||r?"desktop":"other",e[e.name]=!0,e},o.prototype._getLocales=function(){if(void 0!==this._navigator){if(this._navigator.languages&&this._navigator.languages.length>0){for(var t,e=[],n=0;ne?(r&&(clearTimeout(r),r=null),s=c,a=t.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(r),s=0,r=o=i=null},c}function u(t){for(var e=[];t;){if(e.push(t),"html"===t.tagName.toLowerCase())return e;t=t.parentNode}}function h(t){for(var e=[];t;){if(t.classList&&t.classList[0]&&e.push(t.classList[0]),"html"===t.tagName.toLowerCase())return e;t=t.parentNode}return e}function p(t,e,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=0,a=t.length;i3&&void 0!==arguments[3]?arguments[3]:[],o=0,i=t.length;o=r[u].left+n||o+n<=r[u].left||i>=r[u].top+n||i+n<=r[u].top)){a=!0;break}3===++s&&(s=0,l++),l*n+n>e&&(a=!1)}while(a);return{left:o,top:i}}function m(t,e){if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!t||!e||"object"!==o(t)&&"object"!==o(e))return t===e;if(t.prototype!==e.prototype)return!1;var n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((function(n){return m(t[n],e[n])}))}function v(t){for(var e,n=t.length;0!==n;){e=Math.floor(Math.random()*n),n--;var r=[t[e],t[n]];t[n]=r[0],t[e]=r[1]}return t}},7476:function(t,e,n){"use strict";var r;n.d(e,{V:function(){return o}});var o=function(){return r||n.nc}},320:function(t,e,n){"use strict";n.d(e,{Ft:function(){return s},HD:function(){return g},Kn:function(){return a},e$:function(){return d},hj:function(){return m},kE:function(){return v},kJ:function(){return r.k},mf:function(){return r.m},o8:function(){return l},sH:function(){return y},xb:function(){return b}});var r=n(5392);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var i=Object.prototype.toString;function a(t){var e=o(t);return"function"===e||"object"===e&&!!t}function s(t){return null===t}function l(t){return void 0===t}function c(t){return function(e){return null==e?void 0:e[t]}}var u=Math.pow(2,53)-1,h=c("length"),p=function(t){var e=h(t);return"number"==typeof e&&e>=0&&e<=u};function d(t,e){return null!=t&&hasOwnProperty.call(t,e)}var f=function(t){return"[object Arguments]"===i.call(t)};function g(t){return"[object String]"===i.call(t)}function m(t){return"[object Number]"===i.call(t)}function v(t){return!isNaN(parseFloat(t))&&isFinite(t)}function b(t){return null==t||(p(t)&&((0,r.k)(t)||g(t)||f(t))?0===t.length:0===Object.keys(t).length)}function y(t){var e=t.toUpperCase();return e&&/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(e)}!function(){f(arguments)||(f=function(t){return d(t,"callee")})}()},1042:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(7476);function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=arguments.length>3?arguments[3]:void 0,a=n.g.document.getElementsByTagName("head")[0],s=n.g.document.createElement("script");s.type="text/javascript",s.src=t,(0,r.V)()&&s.setAttribute("nonce",(0,r.V)()),i&&s.setAttribute("crossOrigin",i),s.onload=function(){e(s)},s.onerror=function(t){o(t)},a.appendChild(s)}},924:function(t,e,n){"use strict";n.d(e,{B:function(){return r}}),e.Z={READY:1,ERROR:-1,UNREADY:0};var r={PAGE_TEXT:0,PAGE_SUBSTRATE:1,THUMBNAIL:2,ZOOM_PAGE_TEXT:10,ZOOM_PAGE_SUBSTRATE:11,SVG:12}},710:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=function(){if(n.g.XDomainRequest&&!/MSIE 1/.test(n.g.navigator.userAgent))return new n.g.XDomainRequest;if(n.g.XMLHttpRequest)return new n.g.XMLHttpRequest;throw new Error("Request error")};function o(t,e,n,r,o,i,a){t.open(n,e),t.onerror=function(){a()},t.onload=function(){switch(o){case"text":i(t.responseText,null);break;case"json":try{i(JSON.parse(t.responseText),null)}catch(e){a(e)}break;default:i(t,null)}},setTimeout((function(){t.send(r)}))}function i(t){var e=t.url,i=void 0===e?"":e,a=t.method,s=void 0===a?"GET":a,l=t.headers,c=void 0===l?{}:l,u=t.data,h=void 0===u?null:u,p=t.responseType,d=void 0===p?"text":p,f=t.callback,g=void 0===f?function(){}:f,m=t.errorback,v=void 0===m?function(){}:m,b=r();if(!(b instanceof n.g.XMLHttpRequest))return o(b,i,s,h,d,g,v);for(var y in b.open(s,i,!0),"blob"===d&&(b.responseType=d),c){if(!c.hasOwnProperty(y))return;b.setRequestHeader(y,c[y])}var w=function(){v.apply(null,arguments),v=function(){},g=function(){}},x=function(){g.apply(null,arguments),g=function(){},v=function(){}};b.onerror=function(){w(b.status)},b.onreadystatechange=function(){if(4===b.readyState)if(200===b.status){var t=b.response?b.response.length:null;switch(d){case"text":x(b.responseText,t);break;case"json":try{x(JSON.parse(b.responseText),t)}catch(e){w(e)}break;default:x(b,t)}}else w(b.status)},b.send(h)}},770:function(t,e){"use strict";var n=0,r="";function o(t){return p(u(g(t)))}function i(t){return d(u(g(t)))}function a(t,e){return f(u(g(t)),e)}function s(t,e){return p(h(g(t),g(e)))}function l(t,e){return d(h(g(t),g(e)))}function c(t,e,n){return f(h(g(t),g(e)),n)}function u(t){return v(I(m(t),8*t.length))}function h(t,e){var n=m(t);n.length>16&&(n=I(n,8*t.length));for(var r=Array(16),o=Array(16),i=0;i<16;i++)r[i]=909522486^n[i],o[i]=1549556828^n[i];var a=I(r.concat(m(e)),512+8*e.length);return v(I(o.concat(a),768))}function p(t){for(var e,r=n?"0123456789ABCDEF":"0123456789abcdef",o="",i=0;i>>4&15)+r.charAt(15&e);return o}function d(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="",o=t.length,i=0;i8*t.length?n+=r:n+=e.charAt(a>>>6*(3-s)&63);return n}function f(t,e){var n,r,o,i,a=e.length,s=Array(),l=Array(Math.ceil(t.length/2));for(n=0;n0;){for(i=Array(),o=0,n=0;n0||r>0)&&(i[i.length]=r);s[s.length]=o,l=i}var c="";for(n=s.length-1;n>=0;n--)c+=e.charAt(s[n]);var u=Math.ceil(8*t.length/(Math.log(e.length)/Math.log(2)));for(n=c.length;n>>6&31,128|63&e):e<=65535?r+=String.fromCharCode(224|e>>>12&15,128|e>>>6&63,128|63&e):e<=2097151&&(r+=String.fromCharCode(240|e>>>18&7,128|e>>>12&63,128|e>>>6&63,128|63&e));return r}function m(t){for(var e=Array(t.length>>2),n=0;n>5]|=(255&t.charCodeAt(n/8))<<24-n%32;return e}function v(t){for(var e="",n=0;n<32*t.length;n+=8)e+=String.fromCharCode(t[n>>5]>>>24-n%32&255);return e}function b(t,e){return t>>>e|t<<32-e}function y(t,e){return t>>>e}function w(t,e,n){return t&e^~t&n}function x(t,e,n){return t&e^t&n^e&n}function k(t){return b(t,2)^b(t,13)^b(t,22)}function C(t){return b(t,6)^b(t,11)^b(t,25)}function E(t){return b(t,7)^b(t,18)^y(t,3)}function S(t){return b(t,17)^b(t,19)^y(t,10)}var _=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function I(t,e){var n,r,o,i,a,s,l,c,u,h,p,d,f=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),g=new Array(64);for(t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e,u=0;u>16)+(e>>16)+(n>>16)<<16|65535&n}var P={};P.hex_sha256=o,P.b64_sha256=i,P.any_sha256=a,P.hex_hmac_sha256=s,P.b64_hmac_sha256=l,P.any_hmac_sha256=c,e.Z=P},8531:function(t,e,n){"use strict";n.d(e,{BU:function(){return c},Q$:function(){return u},_Q:function(){return i},jJ:function(){return s},m9:function(){return l},qQ:function(){return a}});var r=n(320),o=[",",";","."," ","?","!","'",'"',"",String.fromCharCode(10),String.fromCharCode(13),String.fromCharCode(8211),String.fromCharCode(8212),String.fromCharCode(8722),String.fromCharCode(8209),String.fromCharCode(8208)];function i(t){for(var e=0;e1&&(o-=1)),[360*o,100*i,100*c]},a.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,r))),100*(r=1-1/255*Math.max(e,Math.max(n,r)))]},a.rgb.cmyk=function(t){var e,n=t[0]/255,r=t[1]/255,o=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-r,1-o)))/(1-e)||0),100*((1-r-e)/(1-e)||0),100*((1-o-e)/(1-e)||0),100*e]},a.rgb.keyword=function(t){var e=o[t];if(e)return e;var n,i=1/0;for(var a in r)if(r.hasOwnProperty(a)){var s=u(t,r[a]);s.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},a.rgb.lab=function(t){var e=a.rgb.xyz(t),n=e[0],r=e[1],o=e[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.hsl.rgb=function(t){var e,n,r,o,i,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[i=255*l,i,i];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,o[c]=255*i;return o},a.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[e,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,o=Math.floor(e)%6,i=e-Math.floor(e),a=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},a.hsv.hsl=function(t){var e,n,r,o=t[0],i=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return r=(2-i)*a,n=i*s,[o,100*(n=(n/=(e=(2-i)*s)<=1?e:2-e)||0),100*(r/=2)]},a.hwb.rgb=function(t){var e,n,r,o,i,a,s,l=t[0]/360,c=t[1]/100,u=t[2]/100,h=c+u;switch(h>1&&(c/=h,u/=h),r=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(r=1-r),o=c+r*((n=1-u)-c),e){default:case 6:case 0:i=n,a=o,s=c;break;case 1:i=o,a=n,s=c;break;case 2:i=c,a=n,s=o;break;case 3:i=c,a=o,s=n;break;case 4:i=o,a=c,s=n;break;case 5:i=n,a=c,s=o}return[255*i,255*a,255*s]},a.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,o=t[3]/100;return[255*(1-Math.min(1,e*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},a.xyz.rgb=function(t){var e,n,r,o=t[0]/100,i=t[1]/100,a=t[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,e=(e=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(t){var e,n,r,o=t[0];e=t[1]/500+(n=(o+16)/116),r=n-t[2]/200;var i=Math.pow(n,3),a=Math.pow(e,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,e=a>.008856?a:(e-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},a.lab.lch=function(t){var e,n=t[0],r=t[1],o=t[2];return(e=360*Math.atan2(o,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+o*o),e]},a.lch.lab=function(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],o=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(t){var e,n=t[0]/255,r=t[1]/255,o=t[2]/255,i=Math.max(Math.max(n,r),o),a=Math.min(Math.min(n,r),o),s=i-a;return e=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?a/(1-s):0)]},a.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,o=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(o=(n-.5*r)/(1-r)),[t[0],100*r,100*o]},a.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,o=0;return r<1&&(o=(n-r)/(1-r)),[t[0],100*r,100*o]},a.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var o=[0,0,0],i=e%1*6,a=i%1,s=1-a,l=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return l=(1-n)*r,[255*(n*o[0]+l),255*(n*o[1]+l),255*(n*o[2]+l)]},a.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,r=n-e,o=0;return r<1&&(o=(n-r)/(1-r)),[t[0],100*r,100*o]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},2085:function(t,e,n){var r=n(8168),o=n(4111),i={};function a(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function s(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var r=n.length,o=0;o1||Math.abs(i-s)>1;){var l=Math.round((a+o)/2),c=Math.round((s+i)/2);r.whiteness(l),r.blackness(c),r.contrast(e)>t?(a=l,s=c):(o=l,i=c)}return r}e.red=o("red"),e.blue=o("blue"),e.green=o("green"),e.alpha=e.a=o("alpha"),e.rgb=function(){},e.hue=e.h=i("hue"),e.saturation=e.s=i("saturation"),e.lightness=e.l=i("lightness"),e.whiteness=e.w=i("whiteness"),e.blackness=e.b=i("blackness"),e.blend=function(t,e){var n=t.alpha();t.alpha(1);var o=new r(e[0].value),i=1-parseInt(e[1].value,10)/100;t.mix(o,i).alpha(n)},e.tint=function(t,n){n.unshift({type:"argument",value:"white"}),e.blend(t,n)},e.shade=function(t,n){n.unshift({type:"argument",value:"black"}),e.blend(t,n)},e.contrast=function(t,e){0==e.length&&e.push({type:"argument",value:"100%"});var n=1-parseInt(e[0].value,10)/100,o=t.luminosity()<.5?new r({h:t.hue(),w:100,b:0}):new r({h:t.hue(),w:0,b:100}),i=o,a=4.5;if(t.contrast(o)>a){var l=(i=s(a,t,o)).alpha();i.alpha(1),i.mix(o,n).alpha(l)}t.hwb(i.hwb())}},1498:function(t,e,n){var r=n(5185),o=n(136),i=n(5685),a=n(467);function s(t){var e=t.indexOf("color(");if(-1==e)return t;if(t=t.slice(e),!(t=r("(",")",t)))throw new SyntaxError("Missing closing parenthese for '"+t+"'");return l(i("color("+t.body+")"))+s(t.post)}function l(t){var e=new o("function"==t.arguments[0].type?l(t.arguments[0]):t.arguments[0].value);return t.arguments.slice(1).forEach((function(t){var n=t.name;if(!a[n])throw new Error("Unknown '"+n+"'");t.arguments.forEach((function(t){"function"==t.type&&"color"==t.name&&(t.value=l(t),t.type="color",delete t.name)})),a[n](e,t.arguments)})),e.rgbString()}t.exports=s},1667:function(t,e,n){var r=n(1498),o=n(5685);e.O=r},5685:function(t,e,n){var r=n(5185),o=n(6383)("css-color-function:parse");function i(t){function e(e){var n=e.exec(t);if(n)return t=t.slice(n[0].length),n.slice(1)}function n(){e(/^\s+/)}function i(){var t=e(/^\)/);if(t)return o("rparen"),t}function a(){var t=e(/^([\+\-\*])/);if(t){var n={type:"modifier"};return n.value=t[0],o("modifier %o",n),n}}function s(){var t=e(/^([^\)\s]+)/);if(t){var n={type:"number"};return n.value=t[0],o("number %o",n),n}}function l(){for(var t,e=[];t=a()||h()||s();)e.push(t),n();return o("args %o",e),e}function c(){var t=e(/^(\w+)\(/);if(t){n();var r={type:"function"};return r.name=t[0],r.arguments=l(),i(),o("adjuster %o",r),r}}function u(){var t={type:"color"},r=e(/([^\)\s]+)/)[0];-1!=r.indexOf("(")&&(r+=e(/([^\)]*?\))/)[0]);return t.value=r,n(),t}function h(){if(t.match(/^color\(/)){var e=r("(",")",t);if(!e)throw new SyntaxError("Missing closing parenthese for '"+t+"'");if(""===e.body)throw new SyntaxError("color() function cannot be empty");t=e.body,n();var i,a={};for(a.type="function",a.name="color",a.arguments=[h()||u()],o("function arguments %o",a.arguments);i=c();)a.arguments.push(i),n();return t=e.post,n(),o("function %o",a),a}}return"string"!=typeof t&&(t=t.toString()),o("string %s",t),h()}t.exports=i},5185:function(t){t.exports=function(t,e,n){for(var r=0,o={},i=0;i1?n.substring(o.start+t.length,o.end):"",o.post=n.slice(o.end+e.length),o}},136:function(t,e,n){var r=n(6313),o=n(2085),i=n(9375),a=function(t){if(t instanceof a)return t;if(!(this instanceof a))return new a(t);var e;if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof t)if(e=i.getRgba(t))this.setValues("rgb",e);else if(e=i.getHsla(t))this.setValues("hsl",e);else{if(!(e=i.getHwb(t)))throw new Error('Unable to parse color from string "'+t+'"');this.setValues("hwb",e)}else if("object"==typeof t)if(void 0!==(e=t).r||void 0!==e.red)this.setValues("rgb",e);else if(void 0!==e.l||void 0!==e.lightness)this.setValues("hsl",e);else if(void 0!==e.v||void 0!==e.value)this.setValues("hsv",e);else if(void 0!==e.w||void 0!==e.whiteness)this.setValues("hwb",e);else{if(void 0===e.c&&void 0===e.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(t));this.setValues("cmyk",e)}};a.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){return this.values.rgb.concat([this.values.alpha])},rgbaArrayNormalized:function(){for(var t=this.values.rgb,e=[],n=0;n<3;n++)e[n]=t[n]/255;return e.push(this.values.alpha),e},hslaArray:function(){return this.values.hsl.concat([this.values.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;nn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){return this.values.hsl[2]+=this.values.hsl[2]*t,this.setValues("hsl",this.values.hsl),this},darken:function(t){return this.values.hsl[2]-=this.values.hsl[2]*t,this.setValues("hsl",this.values.hsl),this},saturate:function(t){return this.values.hsl[1]+=this.values.hsl[1]*t,this.setValues("hsl",this.values.hsl),this},desaturate:function(t){return this.values.hsl[1]-=this.values.hsl[1]*t,this.setValues("hsl",this.values.hsl),this},whiten:function(t){return this.values.hwb[1]+=this.values.hwb[1]*t,this.setValues("hwb",this.values.hwb),this},blacken:function(t){return this.values.hwb[2]+=this.values.hwb[2]*t,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){return this.setValues("alpha",this.values.alpha-this.values.alpha*t),this},opaquer:function(t){return this.setValues("alpha",this.values.alpha+this.values.alpha*t),this},rotate:function(t){var e=this.values.hsl[0];return e=(e=(e+t)%360)<0?360+e:e,this.values.hsl[0]=e,this.setValues("hsl",this.values.hsl),this},mix:function(t,e){var n=this,r=t,o=void 0===e?.5:e,i=2*o-1,a=n.alpha()-r.alpha(),s=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*o+r.alpha()*(1-o))},toJSON:function(){return this.rgb()},clone:function(){var t=new a;return t.values=r(this.values),t}},a.prototype.getValues=function(t){for(var e={},n=0;n=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(r++,"%c"===t&&(o=r))})),e.splice(o,0,n)}}function a(){var t;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(t=console).log.apply(t,arguments)}function s(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(n){}}function l(){var t;try{t=e.storage.getItem("debug")}catch(n){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}function c(){try{return localStorage}catch(t){}}e.log=a,e.formatArgs=i,e.save=s,e.load=l,e.useColors=o,e.storage=c(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.exports=n(5885)(e),t.exports.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5885:function(t,e,n){"use strict";function r(t){function e(t){for(var e=0,n=0;n100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(s){var l=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*a;case"weeks":case"week":case"w":return l*i;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*r;case"minutes":case"minute":case"mins":case"min":case"m":return l*n;case"seconds":case"second":case"secs":case"sec":case"s":return l*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}function l(t){var i=Math.abs(t);return i>=o?Math.round(t/o)+"d":i>=r?Math.round(t/r)+"h":i>=n?Math.round(t/n)+"m":i>=e?Math.round(t/e)+"s":t+"ms"}function c(t){var i=Math.abs(t);return i>=o?u(t,i,o,"day"):i>=r?u(t,i,r,"hour"):i>=n?u(t,i,n,"minute"):i>=e?u(t,i,e,"second"):t+" ms"}function u(t,e,n,r){var o=e>=1.5*n;return Math.round(t/n)+" "+r+(o?"s":"")}t.exports=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return s(t);if("number"===n&&isFinite(t))return e.long?c(t):l(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},5666:function(t){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag",c=!0,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{(u=e.regeneratorRuntime=c?t.exports:{}).wrap=w;var h="suspendedStart",p="suspendedYield",d="executing",f="completed",g={},m={};m[a]=function(){return this};var v=Object.getPrototypeOf,b=v&&v(v(F([])));b&&b!==r&&o.call(b,a)&&(m=b);var y=E.prototype=k.prototype=Object.create(m);C.prototype=y.constructor=E,E.constructor=C,E[l]=C.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===C||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(y),t},u.awrap=function(t){return{__await:t}},S(_.prototype),_.prototype[s]=function(){return this},u.AsyncIterator=_,u.async=function(t,e,n,r){var o=new _(w(t,e,n,r));return u.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},S(y),y[l]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=F,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return s.type="throw",s.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:F(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function w(t,e,n,r){var o=e&&e.prototype instanceof k?e:k,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=I(t,n,a),i}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function k(){}function C(){}function E(){}function S(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function _(t){function e(n,r,i,a){var s=x(t[n],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&o.call(c,"__await")?Promise.resolve(c.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(c).then((function(t){l.value=t,i(l)}),a)}a(s.arg)}var n;function r(t,r){function o(){return new Promise((function(n,o){e(t,r,n,o)}))}return n=n?n.then(o,o):o()}this._invoke=r}function I(t,e,n){var r=h;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var l=x(t,e,n);if("normal"===l.type){if(r=n.done?f:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}function M(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,M(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=x(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,g;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function F(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r0&&"none"!==t}function c(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function u(t,e,n,r,o){var s={backgroundColor:"#0b97c4",titleColor:"#fff",titleText:"",coverSrc:"",logoLink:{image:null,url:"http://flippingbook.com"}},l=this,c="mobile"===o||"mobile-app"===o?"fixed":"absolute";this.browser=r,this.adapter=e,this.options=i(s,n),this.preloader=a.g.document.createElement("div"),this.preloader.id="preloader",this.preloader.style.width="100%",this.preloader.style.height=document.documentElement.clientHeight+"px",this.preloader.style.position=c,this.preloader.style.top="0px",this.preloader.style.left="0px",this.preloader.style.right="0px",this.preloader.style.bottom="0px",this.browser.publisher&&(this.preloader.className="no-fade-in"),this.preloader.style.backgroundColor=this.options.backgroundColor,this.preloader.style.zIndex="999999999",this._styleTags=[],this._resize=function(){l.preloader.style.height=document.documentElement.clientHeight+"px",l._setCoverSize()},a.g.addEventListener("resize",this._resize),this._preventZoom=function(t){t.preventDefault()},window.location===window.parent.location&&this.preloader.addEventListener("touchstart",this._preventZoom,!0),t.appendChild(this.preloader),""!==this.options.coverSrc&&this.options.coverSrc?this._renderCoverPreloader():this._renderNewPreloader(),setTimeout((function(){l._resize()}),10)}u.prototype._preventer=function(t){t.preventDefault()},u.prototype._renderCoverPreloader=function(){var t=a.g.document.createElement("div"),e=a.g.document.createElement("h3");this.preloader.style.textAlign="center",this._applyCoverStyles(),t.className="preloader-container",e.className="preloader-title",e.innerText=(0,r.m9)(this.options.titleText),t.appendChild(e),this.coverContainer=a.g.document.createElement("div"),this.coverContainer.className="preloader-cover",t.appendChild(this.coverContainer),void 0!==this.options.logoLink&&this.options.logoLink.image&&(this.logoContainer=a.g.document.createElement("a"),this.options.logoLink.url&&(this.logoContainer.href=this.options.logoLink.url,this.logoContainer.target=this.options.logoLink.target||"_blank"),this.logoContainer.className="preloader-logo",t.appendChild(this.logoContainer),this._tuneLogoSize()),this._injectImage(),this.preloader.appendChild(t)},u.prototype._renderNewPreloader=function(){var t=a.g.document.createElement("div"),e=a.g.document.createElement("h3"),n=this;this._applyNewStyles(),t.className="preloader-title-container",e.className="preloader-title",e.innerText=(0,r.m9)(this.options.titleText),t.appendChild(e),this.preloader.appendChild(t),this.browser.msie?this._renderFallbackPreloader():l()?this._render3dPreloader():this._renderFallbackPreloader(),void 0!==this.options.logoLink&&this.options.logoLink.image&&(this.logoContainer=a.g.document.createElement("a"),this.options.logoLink.url&&(this.logoContainer.href=this.options.logoLink.url,this.logoContainer.target=this.options.logoLink.target||"_blank"),this.logoContainer.className="preloader-logo",this.preloader.appendChild(this.logoContainer),this._tuneLogoSize()),this.browser.publisher||setTimeout((function(){n.preloader.className="show-on"}),10)},u.prototype._render3dPreloader=function(){var t=a.g.document.createElement("div"),e=a.g.document.createElement("div");this._apply3dBookStyles(),e.className="book-preloader",e.innerHTML='\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
',t.appendChild(e),t.className="book-preloader-shell",this.preloader.appendChild(t),setTimeout((function(){e.className="book-preloader animation",this.bookInt=setInterval((function(){e.className="book-preloader",setTimeout((function(){e.className="book-preloader animation"}),100)}),3300)}),400)},u.prototype._renderFallbackPreloader=function(){var t=a.g.document.createElement("div"),e=a.g.document.createElement("div");this._applyFallbackStyles(),t.className="loading",e.className="inner",t.appendChild(e),this.preloader.appendChild(t)},u.prototype._resize=function(){},u.prototype._preventZoom=function(){},u.prototype._applyCoverStyles=function(){var t=this.adapter.translatePath(this.options.coverSrc),e=a.g.document.createElement("style");(0,o.V)()&&e.setAttribute("nonce",(0,o.V)());var n="\n .preloader-container{\n overflow: hidden;\n text-align: center;\n display: inline-block;\n vertical-align: middle;\n width: 500px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%)\n }\n \n .preloader-title{\n max-height: 55px;\n width: 100%;\n overflow: hidden;\n font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;\n font-weight: bold;\n font-size: 24px;\n margin: 0;\n display: inline-block;\n color: ".concat(this.options.titleColor,";\n }\n \n .preloader-cover{\n display: inline-block;\n margin: 70px 0;\n width: 300px;\n height: 300px;\n position: relative;\n overflow: hidden;\n }\n \n .preloader-cover img{\n position: absolute;\n clip: rect(auto, 0px, auto, auto);\n }\n \n .preloader-cover:after{\n content: '';\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: url('").concat(t,"');\n background-position: 50% 50%;\n background-repeat: no-repeat;\n background-size: contain;\n position: absolute;\n opacity: 0.4;\n }\n \n .preloader-logo{\n display: inline-block;\n width: 250px;\n height: 190px;\n background-position: 50% 50%;\n background-repeat: no-repeat;\n background-size: contain;\n margin: 0 100px;\n box-sizing: content-box;\n }\n \n @media all and (max-width: 1300px), all and (max-height: 768px){\n .preloader-container{\n width: 500px;\n }\n .preloader-title{\n width: 500px;\n max-height: 55px;\n }\n .preloader-cover{\n width: 240px;\n height: 240px;\n margin: 50px 0;\n }\n .preloader-logo{\n width: 240px;\n height: 90px;\n }\n }\n @media all and (max-width: 600px), all and (max-height: 600px){\n .preloader-container{\n width: 500px;\n }\n .preloader-title{\n width: 500px;\n max-height: 55px;\n }\n .preloader-cover{\n width: 200px;\n height: 200px;\n margin: 20px 0 30px 0;\n }\n .preloader-logo{\n width: 200px;\n height: 85px;\n margin: 0 100px;\n }\n }\n @media all and (max-width: 550px), all and (max-height: 450px){\n .preloader-container{\n width: 350px;\n }\n .preloader-title{\n width: 350px;\n max-height: 40px;\n font-size: 18px;\n }\n .preloader-cover{\n width: 160px;\n height: 160px;\n margin: 10px 0;\n }\n .preloader-logo{\n width: 160px;\n height: 40px;\n margin: 0 80px;\n }\n }\n @media all and (max-width: 400px), all and (max-height: 300px){\n .preloader-container{\n width: 190px;\n }\n .preloader-title{\n width: 190px;\n max-height: 40px;\n font-size: 16px;\n }\n .preloader-cover{\n width: 100px;\n height: 100px;\n margin: 10px 0;\n }\n .preloader-logo{\n width: 100px;\n height: 34px;\n margin: 0 40px;\n }\n }\n \n @media all and (max-width: 242px), all and (max-height: 212px){\n \n .preloader-title{\n display: none;\n }\n .preloader-cover{\n width: 100px;\n height: 100px;\n margin: 0;\n }\n .preloader-logo{\n display: none;\n }\n }\n \n ");e.appendChild(a.g.document.createTextNode(n)),e.id="preloader-cover-styles",this._styleTags.push(e),document.getElementsByTagName("head")[0].appendChild(e)},u.prototype._applyNewStyles=function(){var t=a.g.document.createElement("style");(0,o.V)()&&t.setAttribute("nonce",(0,o.V)());var e=584,n=e/2,r=180,i=68,s=28,l=150,c=124,u=l/2,h=54,p="\n .preloader-title-container {\n top: 50%;\n left: 50%;\n position: absolute;\n }\n \n .preloader-title {\n width: 100%;\n overflow: hidden;\n font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;\n \n line-height: 1.2;\n display: inline-block;\n color: ".concat(this.options.titleColor,";\n position: absolute;\n bottom: 0;\n text-align: center;\n }\n \n h3.preloader-title {\n margin-block-start: 0;\n margin-block-end: 0;\n }\n \n .preloader-logo {\n position: absolute;\n left: 50%;\n display: inline-block;\n background-position: 50% 100%;\n background-repeat: no-repeat;\n background-size: contain;\n box-sizing: content-box;\n }\n \n .preloader-title-container {\n height: ").concat(1.2*i,"px;\n width: ").concat(1.2*e,"px;\n margin: ").concat(1.2*-r,"px 0 0 -").concat(1.2*n,"px;\n }\n \n .preloader-title {\n max-height: ").concat(1.2*i,"px;\n font-size: ").concat(1.2*s,"px;\n }\n \n .preloader-logo {\n bottom: ").concat(1.3*h,"px;\n margin-left: ").concat(-1.3*u,"px;\n width: ").concat(1.3*l,"px;\n height: ").concat(1.3*c,"px;\n }\n \n #preloader > div, #preloader > a{\n opacity: 0;\n transition: opacity 1s;\n }\n #preloader.show-on > div, #preloader.show-on > a, #preloader.no-fade-in > div, #preloader.no-fade-in > a{\n opacity: 1;\n }\n \n #preloader.show-off > div, #preloader.show-off > a{\n transition: opacity 0.2s;\n }\n #preloader.show-off, #preloader.show-off{\n \n transition: opacity 0.4s ease-out 0.2s;\n opacity: 0;\n }\n \n @media all and (max-width: 1300px), all and (max-height: 768px) {\n .preloader-title-container {\n height: ").concat(i,"px;\n width: ").concat(e,"px;\n margin: -").concat(r,"px 0 0 -").concat(n,"px;\n }\n \n .preloader-title {\n max-height: ").concat(i,"px;\n font-size: ").concat(s,"px;\n }\n \n .preloader-logo {\n bottom: ").concat(h,"px;\n margin-left: -").concat(u,"px;\n width: ").concat(l,"px;\n height: ").concat(c,"px;\n }\n }\n \n @media all and (max-width: 620px), all and (max-height: 600px) {\n .preloader-title-container {\n height: ").concat(.8*i,"px;\n width: ").concat(.8*e,"px;\n margin: ").concat(.8*-r,"px 0 0 -").concat(.8*n,"px;\n }\n \n .preloader-title {\n max-height: ").concat(.8*i,"px;\n font-size: ").concat(.8*s,"px;\n }\n \n .preloader-logo {\n bottom: ").concat(.8*h,"px;\n margin-left: ").concat(-.8*u,"px;\n width: ").concat(.8*l,"px;\n height: ").concat(.8*c,"px;\n }\n }\n \n @media all and (max-width: 510px), all and (max-height: 450px) {\n .preloader-title-container {\n height: ").concat(.7*i,"px;\n width: ").concat(.7*e,"px;\n margin: ").concat(.7*-r,"px 0 0 -").concat(.7*n,"px;\n }\n \n .preloader-title {\n max-height: ").concat(.7*i,"px;\n font-size: ").concat(.7*s,"px;\n }\n \n .preloader-logo {\n bottom: ").concat(.5*h,"px;\n margin-left: ").concat(-.6*u,"px;\n width: ").concat(.6*l,"px;\n height: ").concat(.6*c,"px;\n }\n }\n \n @media all and (max-width: 430px){\n .preloader-title-container {\n height: ").concat(.6*i,"px;\n width: ").concat(.6*e,"px;\n margin-left: ").concat(-.6*n,"px;\n }\n \n .preloader-title {\n max-height: ").concat(.6*i,"px;\n font-size: ").concat(.6*s,"px;\n }\n }\n \n @media all and (max-width: 350px) {\n .preloader-title-container {\n height: ").concat(.45*i,"px;\n width: ").concat(.45*e,"px;\n margin-left: ").concat(-.45*n,"px;\n }\n \n .preloader-title {\n max-height: ").concat(.45*i,"px;\n font-size: ").concat(.45*s,"px;\n }\n }\n \n @media all and (max-height: 300px) {\n .preloader-title-container {\n margin-top: ").concat(.57*-r,"px;\n } \n \n .preloader-logo {\n bottom: ").concat(.3*h,"px;\n margin-left: ").concat(-.4*u,"px;\n width: ").concat(.4*l,"px;\n height: ").concat(.4*c,"px;\n }\n }\n \n @media all and (max-width: 275px), all and (max-height: 212px) {\n .preloader-title-container{\n display: none;\n }\n .preloader-logo{\n display: none;\n }\n }\n ");t.appendChild(a.g.document.createTextNode(p)),t.id="preloader-new-styles",this._styleTags.push(t),document.getElementsByTagName("head")[0].appendChild(t)},u.prototype._apply3dBookStyles=function(){var t=a.g.document.createElement("style");(0,o.V)()&&t.setAttribute("nonce",(0,o.V)());var e=60,n=.75*e,r=e/10,i=2,s=-160,l=-20,u=e/2,h=e/2-i,p=c(this.options.backgroundColor),d=.85;"#000000"===this.options.backgroundColor&&(p.r=35,p.g=35,p.b=35),p.r=(p.r*d).toFixed(0),p.g=(p.g*d).toFixed(0),p.b=(p.b*d).toFixed(0);var f="\n .preloader{\n will-change: opacity;\n }\n .book-preloader-shell {\n border: none;\n width: ".concat(e,"px;\n height: ").concat(n,"px;\n position: absolute;\n top: 50%;\n left: 50%;\n margin-top: -").concat(n,"px;\n margin-left: -").concat(u,"px;\n background-color: ").concat(this.options.backgroundColor,";\n box-sizing: border-box;\n }\n .book-preloader {\n width: 100%;\n height: 100%;\n perspective: ").concat(e*(this.browser.chrome?3:1.5),"px;\n perspective-origin: 50% 50%;\n transform-style: preserve-3d;\n }\n \n .animation {\n animation-name: book;\n }\n \n .sec-page-root, .first-page-root, .preloader-page1, .preloader-page2, .preloader-page3, .preloader-page4, .preloader-page5, .preloader-page6, .preloader-page7, .preloader-page8, .preloader-page9, .preloader-page10 {\n border: ").concat(i,"px solid ").concat(this.options.titleColor,";\n border-left: 0px solid rgba(255, 255, 255, 0.6);\n box-sizing: border-box;\n width: ").concat(e/2,"px;\n height: ").concat(n,"px;\n position: absolute;\n left: ").concat(h,"px;\n top: 0;\n border-radius: 0 ").concat(r,"px ").concat(r,"px 0;\n animation-name: inherit;\n animation-duration: 1.1s;\n transform-origin: 0 50%;\n animation-iteration-count: 1;\n will-change: transform;\n transform-style: preserve-3d;\n background-color: ").concat(this.options.backgroundColor,";\n }\n \n .first-page-root{\n animation-name: none;\n transform: rotateY(").concat(s,"deg);\n display: block;\n }\n .sec-page-root{\n animation-name: none;\n transform: rotateY(").concat(l,"deg);\n display: block;\n }\n \n .preloader-page1 {\n animation-delay: 0s;\n z-index: 1;\n }\n \n .preloader-page2 {\n animation-delay: 0.7s;\n }\n \n .preloader-page3 {\n animation-delay: 0.8s;\n }\n \n .preloader-page4 {\n animation-delay: 0.9s;\n }\n \n .preloader-page5 {\n animation-delay: 1.6s;\n }\n \n .preloader-page6 {\n animation-delay: 1.7s;\n }\n \n .preloader-page7 {\n animation-delay: 1.8s;\n }\n \n .preloader-page8 {\n animation-delay: 1.9s;\n }\n \n .preloader-page9 {\n animation-delay: 2.0s;\n }\n \n .preloader-page10 {\n animation-delay: 2.10s;\n }\n \n @keyframes book {\n 0% {\n transform: rotateY(1deg);\n }\n 35% {\n background-color: rgb(").concat(p.r,", ").concat(p.g,", ").concat(p.b,");\n }\n 85% {\n background-color: ").concat(this.options.backgroundColor,";\n }\n 100% {\n transform: rotateY(").concat(s-22,"deg);\n }\n }\n ");t.appendChild(a.g.document.createTextNode(f)),t.id="preloader-3dbook-styles",this._styleTags.push(t),document.getElementsByTagName("head")[0].appendChild(t)},u.prototype._applyFallbackStyles=function(){var t=a.g.document.createElement("style");(0,o.V)()&&t.setAttribute("nonce",(0,o.V)());var e=c(this.options.titleColor),n='\n #preloader .loading {\n position: absolute;\n width: 50px; /* diameter */\n height: 50px; /* diameter */\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n }\n #preloader .inner, .loading:after {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n }\n /* Mask */\n #preloader .loading:after {\n content:" ";\n margin: 15%; /* stroke width */\n border-radius: 100%;\n background: '.concat(this.options.backgroundColor,'; /* container background */\n }\n /* Spinning gradients */\n #preloader .inner {\n animation-duration: 2s; /* speed */\n -webkit-animation-duration: 2s; /* speed */\n animation-iteration-count: infinite;\n -webkit-animation-iteration-count: infinite;\n animation-timing-function: linear;\n -webkit-animation-timing-function: linear;\n }\n #preloader .inner {\n animation-name: rotate-inner;\n -webkit-animation-name: rotate-inner;\n }\n /* Halfs */\n #preloader .inner:before, .inner:after {\n position: absolute;\n top: 0;\n bottom: 0;\n content:" ";\n }\n /* Left half */\n #preloader .inner:before {\n left: 0;\n right: 50%;\n border-radius: 50px 0 0 50px; /* diameter */\n }\n /* Right half */\n #preloader .inner:after {\n left: 50%;\n right: 0;\n border-radius: 0 50px 50px 0; /* diameter */\n }\n /* Half gradients */\n #preloader .inner:before {\n background-image: -webkit-linear-gradient(top, rgba(').concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0), rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0.5) 90%);\n background-image: -moz-linear-gradient(top, rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0), rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0.5) 90%);\n background-image: linear-gradient(to bottom, rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0), rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0.5) 90%);\n }\n #preloader .inner:after {\n background-image: -webkit-linear-gradient(top, rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 1), rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0.5) 90%);\n background-image: -moz-linear-gradient(top, rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 1), rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0.5) 90%);\n background-image: linear-gradient(to bottom, rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 1), rgba(").concat(e.r,", ").concat(e.g,", ").concat(e.b,", 0.5) 90%);\n }\n /* Spinning animations */\n @keyframes rotate-inner {\n 0% {\n transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n -moz-transform: rotate(360deg);\n -webkit-transform: rotate(360deg);\n }\n }\n @-webkit-keyframes rotate-inner {\n 0% {\n -webkit-transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n }\n }\n ");t.appendChild(a.g.document.createTextNode(n)),t.id="preloader-fallback-styles",this._styleTags.push(t),document.getElementsByTagName("head")[0].appendChild(t)},u.prototype._injectImage=function(){var t=this;this.coverIMG=new Image,this.coverIMG.onload=function(){t.coverContainer.appendChild(t.coverIMG),t._setCoverSize(),t.progress(100)},this.coverIMG.src=this.adapter.translatePath(this.options.coverSrc)},u.prototype._tuneLogoSize=function(){if(void 0!==this.options.logoLink&&this.options.logoLink.image){var t=this,e=t.logoContainer,n=document.createElement("canvas"),r=n.getContext("2d"),i=new Image,a=function(){var n=t.logoContainer.getBoundingClientRect();t.logoIMGRect.width(this.coverIMG.naturalHeight||this.coverIMG.height)){var e=t.width/this.coverIMG.naturalWidth;this.coverIMG.style.left="0px",this.coverIMG.style.height=this.coverIMG.naturalHeight*e+"px",this.coverIMG.style.width=t.width+"px",this.coverIMG.style.top=(t.height-this.coverIMG.height)/2+"px"}else{var n=t.height/this.coverIMG.naturalHeight;this.coverIMG.style.top="0px",this.coverIMG.style.width=this.coverIMG.naturalWidth*n+"px",this.coverIMG.style.height=t.height+"px",this.coverIMG.style.left=(t.width-this.coverIMG.width)/2+"px"}}},u.prototype.progress=function(t){if(""!==this.options.coverSrc&&this.options.coverSrc){var e=this.coverIMG.width*t/100;this.coverIMG.style.clip="rect(auto, ".concat(e,"px, auto, auto)")}},u.prototype.remove=function(t){t=t||function(){};var e=this;setTimeout((function(){e.preloader&&(e.preloader.className="show-off",setTimeout((function(){e.preloader&&(e.bookInt&&clearInterval(e.bookInt),a.g.removeEventListener("resize",e._resize),e.preloader.removeEventListener("touchstart",e._preventZoom,!0),e.preloader.parentNode&&e.preloader.parentNode.removeChild(e.preloader),delete e.preloader,e._styleTags.forEach((function(t){t.parentNode.removeChild(t)})),t())}),800))}),1e3)};var h=u;function p(){this.callback=null,this.isReady=!0}p.prototype.ready=function(){this.isReady=!0},p.prototype.setCallback=function(t){this.callback=t},p.prototype.getPathInfo=function(){throw new Error("Method getPathInfo() should be overridden")},p.prototype.setPath=function(){throw new Error("Method setPath() should be overridden")},p.prototype.getShareUrl=function(){throw new Error("Method getShareUrl() should be overridden")},p.prototype.getEmbedUrl=function(){throw new Error("Method getEmbedUrl() should be overridden")},p.prototype.translatePath=function(){throw new Error("Method translatePath() should be overridden")},p.prototype.getFirstPage=function(){throw new Error("Method getEmbedPrefix() should be overridden")},p.prototype.getCurrentPage=function(){throw new Error("Method getEmbedPrefix() should be overridden")},p.prototype.getVersions=function(){throw new Error("Method getEmbedPrefix() should be overridden")},p.prototype.getEmbedPrefix=function(){throw new Error("Method getEmbedPrefix() should be overridden")},p.prototype.getModulesUrl=function(){throw new Error("Method getModulesUrl() should be overridden")},p.prototype.getHashMode=function(){throw new Error("Method getOptions() should be overridden")},p.prototype.getIndexFileName=function(){throw new Error("Method getOptions() should be overridden")};var d=p;function f(t){this.mappings=t,this.baseUrl="",window.location&&(this.baseUrl=window.location.href.split("#")[0])}f.prototype=new d,f.constructor=f,f.prototype.getModulesUrl=function(){return this.baseUrl},f.prototype.translatePath=function(t){if(this.mappings.hasOwnProperty("length"))for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},e={mappings:{},firstPage:"1"};this.embed=!1,this.options=m(e,t),g.call(this,this.options.mappings);var n=this;void 0!==a.g.addEventListener?a.g.addEventListener("hashchange",(function(){n._hashChanged()})):void 0!==a.g.attachEvent&&a.g.attachEvent("onhashchange",(function(){n._hashChanged()})),this._parseQueryString()}v.prototype=new g,v.constructor=v,v.prototype.setPath=function(t){var e="";t.page===this.options.firstPage?(t.zoom||t.productId)&&(e+=t.page):e+=t.page,t.zoom&&(e+="/z"),t.productId&&(e+="/"+t.productId),a.g.location&&a.g.location.hash!==e&&(a.g.location.hash=e)},v.prototype.getPathInfo=function(){return a.g.location?this._getInfoFromHash(a.g.location.hash):null},v.prototype.getShareUrl=function(t){var e=g.prototype.getShareUrl.call(this);if(t&&a.g.location){var n="",r=this._getInfoFromHash(a.g.location.hash);if(r){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];switch(o){case"page":o="p";break;case"zoom":o="z";break;case"productId":o="id"}n.length>0&&(n+="&"),n+=encodeURIComponent(o)+"="+("boolean"==typeof i?"1":encodeURIComponent(i))}if(n.length>0)if(-1!==e.indexOf("?")){var s=e.split("?");s[1].length>0&&(s[1]+="&"),s[1]+=n,e=s.join("?")}else e+="?"+n}}return e},v.prototype.getEmbedPrefix=function(){return"fbp"},v.prototype.getLocalStorage=function(){return this._checkStorage("localStorage")?window.localStorage:this._storageStub},v.prototype.getSessionStorage=function(){return this._checkStorage("sessionStorage")?window.sessionStorage:this._storageStub},v.prototype._checkStorage=function(t){var e="test";try{return window[t].setItem(e,e),window[t].removeItem(e),!0}catch(n){return!1}},v.prototype._storageStub={length:0,isStub:!0,key:function(){},getItem:function(){},setItem:function(){},removeItem:function(){},clear:function(){}},v.prototype._hashChanged=function(){if(a.g.location){var t=a.g.location.hash,e=this._getInfoFromHash(t);e&&this.callback&&this.callback(e)}},v.prototype._getInfoFromHash=function(t){if("#"===t.substring(0,1)&&(t=t.slice(1)),0===t.length)return null;var e=t.split("/"),n={};return n.page=encodeURIComponent(e[0]),2===e.length?"z"!==e[1]?n.productId=encodeURIComponent(e[1]):n.zoom=!0:e.length>2&&(n.zoom="z"===e[1],n.productId=encodeURIComponent(e[2])),n},v.prototype._parseQueryString=function(){if(a.g.location){var t=a.g.location.search.replace("?","");if(t.length){for(var e={},n=t.split("&"),r=0;r1?decodeURIComponent(o[1]):null}for(var i=["p","page","z","zoom","id"],s=!1,l=0,c=i.length;l0&&(d+="&"),d=encodeURIComponent(f)+"="+(e[f]?encodeURIComponent(e[f]):""));a.g.location.search=d.length>0?"?"+d:""}}}};var b=v,y=a(710),w=a(320),x=a(770);function k(t,e){var n=new DataView(t);if(255!==n.getUint8(0)||216!==n.getUint8(1))return!1;for(var r=t.byteLength,o=2;o4?s:e+8,a-1)}function _(t,e,n){for(var r="",o=e;or[i]?1:-1}return n.length!==r.length?-1:0}O.prototype.constructor=O,O.prototype.getSupportedVersions=function(){var t=[];if(this.userAgentInfo.device.desktop){if(this.userAgentInfo.browser.ie)return[];t.push("html")}else{var e=this.userAgentInfo.os.ios,n=this.userAgentInfo.os.ipados,r=this.userAgentInfo.os.android&&(parseInt(this.userAgentInfo.os.version.split(".")[0],10)>4||4===parseInt(this.userAgentInfo.os.version.split(".")[0],10)&&parseInt(this.userAgentInfo.os.version.split(".")[1],10)>=1);if(e||n||r)if((n||e&&parseInt(this.userAgentInfo.os.version.split(".")[0],10)>=10||r&&parseInt(this.userAgentInfo.os.version.split(".")[0],10)>=6)&&!this.userAgentInfo.browser.firefox)t.push("mobile");else{var o=navigator.userAgent.indexOf("Mozilla/5.0")>-1&&navigator.userAgent.indexOf("Android ")>-1&&navigator.userAgent.indexOf("AppleWebKit")>-1&&-1===navigator.userAgent.indexOf("Chrome");(e&&F(this.userAgentInfo.os.version,"9")>=0||r&&1===F(this.userAgentInfo.os.version,"4.2")&&!o)&&t.push("mobile-old")}}return t},O.prototype.mainVersion=function(){var t=this.getSupportedVersions();if(this.priorities){for(var e=0;e0)return t[0];return null},O.prototype.isRenderable=function(){return!0};var L=O,T=null;function N(){return"%password-protection%"}function j(){return"%domain-protection%"}var B=function(){return"fghjk"===j()},z=function(){return"rtyu"===N()};function U(t){return/\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/gm.test(t)}function R(t){var e=t.match(/^https?\:\/\/([^\/:?#]+)(?:[\/:?#]|$)/i);return e&&e[1]}function D(t){var e=t.split("."),n=[];if(1===e.length)return n.push(e[0]),n;if(n.push(e[e.length-2]+"."+e[e.length-1]),e.length>2)for(var r=e.length-3;r>=0;r--)n.push(e[r]+"."+n[n.length-1]);return n}var V=function(){var t=window.parent;return window.location!==t.location},G=function(){return new Promise((function(t,e){var n=window.parent,r=setInterval((function(){n.postMessage({fbPublicationUrl:window.location.href},"*")}),300),o=setTimeout((function(){clearInterval(r),e(new Error("No reply from embed script"))}),1500);window.addEventListener("message",(function(e){if(e.source===n){clearTimeout(o),clearInterval(r);var i=R(e.origin);t(i)}}),!1),n.postMessage({fbPublicationUrl:window.location.href},"*")}))},H=function(t){return U(t)?[t]:D(t)},Z=function(){return new Promise((function(t,e){var n=V();if(n)G().then((function(e){t({isEmbedded:n,embeddingDomain:e})})).catch((function(e){t({isEmbedded:n,embeddingDomain:null})}));else{var r=window.location.hostname;t({isEmbedded:n,embeddingDomain:r})}}))},$=function(){return new Promise((function(t){if(T)t(T);else{var e=new XMLHttpRequest;e.onload=function(){if(200!==this.status&&0!==this.status)throw new Error("Could not load image");T=e.response,t(e.response),e=null};var n=(0,I.Z)().translatePath("assets/cover300.jpg");e.open("GET",n,!0),e.responseType="arraybuffer",e.send(null)}}))},W=function(t,e){return $().then((function(t){var n=k(t,33432),r=k(t,33423);if(!n||!r)return new Error("Protection error");var o=n.split(","),i=H(e);if(o.length>0){for(var a=!1,s=0;s1)&&t.preventDefault()}),{passive:!1});var l='

'+r.LoginWindow.SECURITY_PAS_TITLE+'

'+r.LoginWindow.SECURITY_PAS_SUBMIT_BUTTON+'
';if(document.getElementsByTagName("body")[0].innerHTML=l,n&&"mobile"===i){var c=document.getElementsByClassName("security-close-button")[0];c.style.opacity=1,c.onclick=function(){window.history.go(-1)}}"ar"!==e&&"he"!==e||(document.getElementsByClassName("security-container")[0].setAttribute("dir","rtl"),document.getElementsByClassName("security-close-button")[0].setAttribute("dir","rtl")),window.FBInit&&window.FBInit.PRELOADER&&(document.getElementsByTagName("body")[0].style.backgroundColor=window.FBInit.PRELOADER.backgroundColor,document.getElementsByClassName("password-title")[0].style.color=window.FBInit.PRELOADER.titleColor,document.getElementsByClassName("security-close-button")[0].style.fill=window.FBInit.PRELOADER.titleColor),t(r.LoginWindow.SECURITY_PAS_WRONG)}})},X=function(){T=null},J=a(5622);function K(t){return nt(t)||et(t)||tt(t)||Q()}function Q(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tt(t,e){if(t){if("string"==typeof t)return rt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rt(t,e):void 0}}function et(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function nt(t){if(Array.isArray(t))return rt(t)}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e={mappings:[],firstPage:"1",currentPage:"1",editorMode:!1,hashMode:!1,crossOrigin:!1,embedPrefix:"fbo",index:"index.html",uni:"4.0.0"};this.embed=!1,this.options=ot(e,t),g.call(this,this.options.mappings),this.isReady=!1,this.options.hasOwnProperty("baseUrl")&&(this.baseUrl=this.options.baseUrl);var n=this;function r(){var t=a.g.location.href.replace(n.options.baseUrl,"");return(t=(t=(t=t.replace(a.g.location.hash,"")).split("?")[0]).replace(n.options.currentPage+"/",""))===n.options.index}if(this._urlChangedBound=(0,J.Ds)(this._urlChanged.bind(this),400),a.g.history&&a.g.history.pushState&&!this.options.editorMode&&!this.options.hashMode&&window.addEventListener("popstate",this._urlChangedBound),this.options.sign){var o=this.getBaseUrl(),i=this.options.sign,s=this,l=function(t){s.isIndexAvailableAsDefault=t,s.ready()};(0,y.Z)({url:o,callback:function(t){var e=t.indexOf(i);l(e>=0)},errorback:function(){l(!1)}})}else this.isIndexAvailableAsDefault=!r(),n.ready()}it.prototype=new g,it.prototype.constructor=it,it.prototype.destructor=function(){this.callback=null,a.g.history&&a.g.history.pushState&&!this.options.editorMode&&!this.options.hashMode&&window.removeEventListener("popstate",this._urlChangedBound)},it.prototype.getFirstPage=function(){return this.options.firstPage},it.prototype.getCurrentPage=function(){return this.options.currentPage};var at=/^([^?]*)(\?.*)/;it.prototype.translatePath=function(t,e){return t=g.prototype.translatePath.call(this,t),e||(t+=(-1===t.indexOf("?")?"?uni=":"&uni=")+this.options.uni),t},it.prototype.getPathInfo=function(){if(!a.g.location)return null;var t=a.g.location.href.replace(this.options.baseUrl,""),e=null,n=(t=(t=t.replace(a.g.location.hash,"")).replace(this.options.index,"")).split("?")[0].split("/");n[1]&&""!==n[1]?e=n[1]:n[0]&&""!==n[0]&&(e=n[0]);for(var r={},o={},i=a.g.location.hash.slice(1).split("&"),s=a.g.location.search.slice(1).split("&"),l=[].concat(K(s),K(i)),c=0;c1?decodeURIComponent(u[0]):"page"]=u.length>1?decodeURIComponent(u[1]):u[0]}if(o.page?r.page=o.page:o.p?r.page=o.p:r.page=e&&null!==e?e:this.options.firstPage,o.media){var h=o.media.split(".");r.lightboxItemId=+h[0],r.lightboxItemType="image",h[1]&&(r.lightboxGalleryItemIndex=+h[1],r.lightboxItemType="gallery")}o.form&&(r.lightboxItemType="form",r.lightboxItemId=+o.form),o.search&&(r.search=o.search,r.exactMatch=!!o.exactMatch),r.page&&(r.page=r.page.replace(at,"$1"));var p=(o.zoom||o.z||"").replace(at,"$1");if(r.zoom="true"===p,o.t){var d=atob(o.t).split(","),f=d[0],g=d[1],m={top:d[2],left:d[3],width:d[4],height:d[5],cursorHSide:d[6],cursorVSide:d[7]};r.selectText={pageID:f,pageSide:g,selectionRect:m}}return r},it.prototype.getBaseUrl=function(t){return t?this.baseUrl+("/"===this.baseUrl[this.baseUrl.length-1]?"":"/"):this.baseUrl},it.prototype.setPath=(0,J.Ds)((function(t){this._updateFirstPageIfNeeded(t);var e=this.getPath(t);if(null!==e&&a.g.location){var n="";if(e.hash&&(n="#"+e.hash),e.historyApiEnabled){var r=!(0,J.t)(a.g.history.state,t),o=a.g.location!==a.g.parent.location&&this.embed;a.g.history.state&&!r||(o?a.g.history.replaceState(t,null,e.url+n):a.g.history.pushState(t,null,e.url+n)),""!==n&&(this.isNotHistory=!0,a.g.location.hash=n,delete this.isNotHistory)}else a.g.location.hash=n}}),500),it.prototype.getPath=function(t){if(this.options.editorMode)return null;var e=a.g.history&&a.g.history.pushState&&!this.options.hashMode,n={info:t,historyApiEnabled:e},r=this._getUrlParams(t,e);return n.url=this.getBaseUrl(r.url||!this.isIndexAvailableAsDefault)+r.url+(this.isIndexAvailableAsDefault?"":this.options.index),e?r.params&&(n.hash=r.params):(r=this._getUrlParams(t),n.hash=r.params),n},it.prototype.getShareUrl=function(t,e){var n=this.getPathInfo();e&&t&&(n.page=e);var r=this._getUrlParams(n,!1===this.options.hashMode),o=this.getBaseUrl(t&&n.page||!this.isIndexAvailableAsDefault);return t&&n.page&&(o+=r.url),o+=this.isIndexAvailableAsDefault?"":this.options.index,t&&n.page&&r.params&&(o+="#"+r.params),o},it.prototype.getEmbedPrefix=function(){return this.options.embedPrefix},it.prototype.getLocalStorage=function(){return this._checkStorage("localStorage")?window.localStorage:this._storageStub},it.prototype.getSessionStorage=function(){return this._checkStorage("sessionStorage")?window.sessionStorage:this._storageStub},it.prototype._checkStorage=function(t){var e="test";try{return window[t].setItem(e,e),window[t].removeItem(e),!0}catch(n){return!1}},it.prototype._storageStub={length:0,isStub:!0,key:function(){},getItem:function(){},setItem:function(){},removeItem:function(){},clear:function(){}},it.prototype._getUrlParams=function(t,e){var n=[],r="",o="";if(t.zoom&&!this.options.editorMode&&n.push("zoom=true"),t.lightboxItemId&&!this.options.editorMode)switch(t.lightboxItemType){case"image":case"gallery":var i=t.lightboxItemId;(t.lightboxGalleryItemIndex||0===t.lightboxGalleryItemIndex)&&(i=i+"."+t.lightboxGalleryItemIndex),n.push("media="+i);break;case"form":n.push("form="+t.lightboxItemId)}return t.page&&(e?(o=this.options.firstPage===t.page.toString()?"":t.page+"/",n.length>0&&(r+="")):(r=this.options.firstPage===t.page.toString()?"":"page="+t.page).length>0&&n.length>0&&(r+="&")),{url:o,params:r+=n.join("&")}},it.calculateFirstPage=function(t){return t>0?"I":t<0?(Math.abs(t)+1).toString():"1"},it.prototype._updateFirstPageIfNeeded=function(t){(0,w.hj)(t.numerationOffset)&&(this.options.firstPage=it.calculateFirstPage(t.numerationOffset))},it.prototype._urlChanged=function(){if(a.g.location&&!this.isNotHistory){var t=this.getPathInfo();t&&this.callback&&this.callback(t)}},it.prototype.getCrossOrigin=function(){return this.options.crossOrigin},it.prototype.getHashMode=function(){return this.options.hashMode},it.prototype.getIndexFileName=function(){return this.isIndexAvailableAsDefault?null:this.options.index},it.prototype.getImageFileName=function(t){var e=t.format?"."+t.format:"";return t.name+t.size+e},it.prototype.isDomainProtected=B,it.prototype.isPasswordProtected=z,it.prototype.shouldDisplayPublication=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new Promise((function(r){!1===t.isDomainProtected()?r(!0):(e&&null===n&&r(!1),W(e,n).then((function(t){return r(t)})))}))},it.prototype.performPasswordCheck=function(t){var e=this;return new Promise((function(n){!1===e.isPasswordProtected()?n():q(t).then((function(t){return n()}))}))};var st,lt=it,ct=a(924),ut=a(2155),ht=JSON.parse('{"nC":{"style":{"line-height":"100vh","background-color":"#f3f3f6"},"div":{"class":"notice-outer-container","div":{"class":"notice-inner-container","span":{"id":"notice-text","class":"notice-text-block"},"br":{},"a":{"id":"download-button","class":"notice-download-button"}}}},"oB":".notice-outer-container {width: 100%; max-width: 1000px; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);} .notice-inner-container {line-height: 1.4; text-align: center; font-family: OpenSans, sans-serif; margin: 7%; padding: 21px 25px 27px; border-radius: 8px; background-color: #ffffff; filter: drop-shadow(0 5px 10px #dddddd);} .notice-text-block {display: inline-block; font-size: 15px; color: #596168;} .notice-download-button {display: inline-block; text-decoration: none; color: #596168; font-size: 16px; font-weight: 600; margin-top: 25px; padding: 10px 20px; border-radius: 3px; background-color: #eaeaec; filter: drop-shadow(2px 2px 1px #c5c5c5);}","Y9":".notice-outer-container {width: 100%; max-width: 1000px;} .notice-inner-container {line-height: 1.4; text-align: center; font-family: sans-serif; margin: 10%; padding: 21px 25px 27px; border: 1px solid #ddd; background-color: #ffffff;} .notice-text-block {display: inline-block; font-size: 15px; color: #596168;} .notice-download-button {display: inline-block; text-decoration: none; color: #596168; font-size: 16px; font-weight: 600; margin-top: 25px; padding: 10px 20px; background-color: #eaeaec;}"}'),pt=a(1042),dt=a(1667);a(5666);function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function gt(){gt=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:_(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",d="suspendedYield",f="executing",g="completed",m={};function v(){}function b(){}function y(){}var w={};c(w,a,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(O([])));k&&k!==n&&r.call(k,a)&&(w=k);var C=y.prototype=v.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,i,a,s){var l=h(t[o],t,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==ft(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function _(e,n,r){var o=p;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=I(s,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=f;var c=h(e,n,r);if("normal"===c.type){if(o=r.done?g:d,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=g,r.method="throw",r.arg=c.arg)}}}function I(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,I(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function O(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function mt(t,e,n,r,o,i,a){try{var s=t[i](a),l=s.value}catch(c){return void n(c)}s.done?e(l):Promise.resolve(l).then(r,o)}function vt(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){mt(i,r,o,a,s,"next",t)}function s(t){mt(i,r,o,a,s,"throw",t)}a(void 0)}))}}function bt(){return bt=Object.assign?Object.assign.bind():function(t){for(var e=1;e';if(document.getElementsByTagName("body")[0].innerHTML=c,"ar"!==t&&"he"!==t||(document.getElementsByClassName("security-container")[0].setAttribute("dir","rtl"),document.getElementsByTagName("svg")[0].style.transform="scaleX(-1)"),null!==(n=window)&&void 0!==n&&null!==(n=n.FBO)&&void 0!==n&&null!==(n=n.PreloadedPublicationModel)&&void 0!==n&&null!==(n=n.Publication)&&void 0!==n&&n.Configuration){var u=window.FBO.PreloadedPublicationModel.Publication.Configuration,h="string"==typeof u?JSON.parse(u):u,p=(null==h?void 0:h.backgroundComputedProperties)||{};s=p["second-color"],l=p["second-text-color"]}else null!==(r=window)&&void 0!==r&&null!==(r=r.FBInit)&&void 0!==r&&r.PRELOADER&&(s=window.FBInit.PRELOADER.backgroundColor,l=window.FBInit.PRELOADER.titleColor);s&&(document.getElementsByTagName("body")[0].style.backgroundColor=s),l&&(document.getElementsByClassName("password-title")[0].style.color=l)}})}))},yt.prototype._getLocale=function(){var t=this,e=this.userAgentInfo.locale;return new Promise((function(n){if(window.FBO){var r=["en","ar","de","es","fi","fr","he","it","ja","nl","no","pl","pt","ru","sv","tr","zh"];-1===r.indexOf(e)&&(e=r[0]||"en"),n(e)}else(0,y.Z)({url:(0,I.Z)().translatePath("assets/workspace.json"),responseType:"json",callback:function(r){t.options.extensions&&t.options.extensions.workspaceProps&&(r=(0,ut.Z)(r,t.options.extensions.workspaceProps)),-1===r.locales.indexOf(e)&&(e=r.locales[0]||"en"),n(e)}})}))},yt.prototype.goToPage=function(t){this._app&&(0,M.m)(this._app.goToPage)&&this._app.goToPage(t)},yt.prototype._startRenderVersion=function(t){var e=this;this._checkLoadPolyfill(),-1!==t.indexOf("mobile")&&P(),this.options.container.innerHTML="";var n=a.g.document.createElement("div");n.style.width="100px",n.style.height="100px",this.options.container.appendChild(n),function r(){var o=e.options.container.getBoundingClientRect();document.body.contains(e.options.container)&&!(0===o.width||0===o.height)?(e.options.container.removeChild(n),e._renderVersion(t)):setTimeout((function(){r()}),1e3)}()},yt.prototype._checkLoadPolyfill=function(){if(!("Promise"in window&&"Symbol"in window)||this.userAgentInfo.os.ios&&this.userAgentInfo.os.version.split(".")[0]<=8){var t=document.createElement("script");t.async=!1,t.src=this.options.adapter.translatePath("static/polyfills.js");var e=this.options.adapter.getCrossOrigin();e&&t.setAttribute("crossOrigin",e),document.head.appendChild(t)}},yt.prototype._renderVersion=function(t){var e=this;this.api.trigger("log",{message:"Starting preloader",level:"info",timestamp:Date.now()});var n=new h(this.options.container,this.options.adapter,this.options.preloader,this.userAgentInfo.browser,t),r=this.options.onPublicationLoad,o=this,i=function(t){function e(){n.preloader.removeEventListener("transitionend",e,!1),clearInterval(o.progressInterval),t.$emit("before-preloader-off"),n.remove((function(){(0,M.m)(o.app.onReady)&&o.app.onReady()}))}o.api.trigger("log",{message:"Removing preloader",level:"info",timestamp:Date.now()}),o.publication?(o.publication.style.transition="opacity 0.25s ease-in-out",o.publication.addEventListener("transitionend",e,!1),o.publication.style.opacity=1,o.userAgentInfo.browser.firefox&&(o.publication.style.visibility="visible")):e(),t&&(o.app=t),r(t)};(this.options.onPublicationLoad=function(t){o._isLoaded=!0,o._app=t,o._hasProgress&&i(t)},this.options.onProgress=function(t){n.progress(t)},this.options.onInit=function(t,e){if(o._isLoaded=!1,o._hasProgress=!1,o.publication=t,!0!==e){var r=0,a=function(){n.progress(r++),o._isLoaded&&(clearInterval(o.progressInterval),i(o._app)),r>100&&(r=0)};n.progress(100),setTimeout((function(){o._isLoaded?i(o._app):o.progressInterval=setInterval(a,o.options.preloader&&o.options.preloader.progressSpeed||10)}),500)}else o._hasProgress=!0;void 0!==o.publication&&(t.style.opacity=0,o.userAgentInfo.browser.firefox&&(o.publication.style.visibility="hidden"))},this.options.preloader&&this.options.preloader.loop)?this.options.onInit(void 0,!1):(this.options.onInit(),this.options.userAgentInfo=this.userAgentInfo,vt(gt().mark((function n(){var r;return gt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([a.e(3),a.e(2)]).then(a.bind(a,4459));case 2:r=n.sent,e.application=new r.App(e.options,t);case 4:case"end":return n.stop()}}),n)})))())},yt.prototype._renderMessage=function(t){var e=this,n=function(t,e){for(var n in e)if(e.hasOwnProperty(n))if("style"===n)for(var r in e[n])e[n].hasOwnProperty(r)&&(t.style[r]=e[n][r]);else"id"===n?t.id=e[n]:"class"===n?t.className=e[n]:o(n,e[n],t)},o=function(t,e,r){var o=document.createElement(t);return n(o,e),r&&(r.appendChild(o),r[t]=o),o};P();var i=document.getElementById("preloader-bg");i&&i.parentNode.removeChild(i),(0,y.Z)({url:this.options.adapter.translatePath("assets/workspace.json"),responseType:"json",callback:function(o){var i=a.g.document.getElementsByTagName("head")[0],s=a.g.document.createElement("style");s.type="text/css",s.rel="stylesheet",e.userAgentInfo.browser.ie&&e.userAgentInfo.browser.version.split(".")[0]<9?s.styleSheet.cssText=ht.Y9:e.userAgentInfo.os.ios&&e.userAgentInfo.os.version.split(".")[0]<9||e.userAgentInfo.os.android&&e.userAgentInfo.os.version.split(".")[0]<=4&&e.userAgentInfo.os.version.split(".")[1]<4&&!e.userAgentInfo.browser.chrome?s.textContent=ht.Y9:s.textContent=ht.oB,i.appendChild(s),e.options.container.innerHTML="",n(e.options.container,ht.nC);var l=e.userAgentInfo.locale;e.options.extensions&&e.options.extensions.workspaceProps&&(o=(0,ut.Z)(o,e.options.extensions.workspaceProps)),o.locales||(o.locales=["en","ar","de","es","fi","fr","he","it","ja","nl","no","pl","pt","ru","sv","tr","zh"]),-1===o.locales.indexOf(l)&&(l=o.locales[0]||"en");var c=document.getElementById("notice-text"),u=document.getElementById("download-button");"ar"!==l&&"he"!==l||(c.setAttribute("dir","rtl"),u.setAttribute("dir","rtl")),e.api.trigger("develop",{action:"version",data:"blank"}),(0,y.Z)({url:e.options.adapter.translatePath("static/locales/"+l+".json"),responseType:"json",callback:function(n){if(c.innerHTML=n.Other.UNSUPPORTED_BROWSER,o.downloads.enabled&&o.downloads.url&&o.downloads.allPagesVisible&&"version"===t){u.href="linkPdf";var i=(0,r.BU)(o.downloads.size);u.innerHTML=n.SaveWindow.SAVE_BUTTON+" (PDF, "+i+")",u.onclick=function(t){var n=e.options.adapter.translatePath("assets/common/downloads/"+encodeURIComponent(o.downloads.url));t.currentTarget.href=n}}else u.parentNode.removeChild(u)},errorback:function(){u.parentNode.removeChild(u),c.innerHTML="Sorry, this publication cannot be viewed, because your browser or device isn't supported. Please try opening it in the latest version of Google Chrome, Mozilla Firefox, Safari or Microsoft Edge."}})},errorback:function(){e.options.container.innerHTML="Sorry, this publication cannot be viewed, because your browser or device isn't supported. Please try opening it in the latest version of Google Chrome, Mozilla Firefox, Safari or Microsoft Edge."}})},yt.prototype.getState=function(){var t={};return this._app&&(0,M.m)(this._app.getState)&&(t=this._app.getState()),t},window.Publication=yt,window.getLocationEnvInfo=Z,window.HistoryApiAdapter=lt,window.UserAgentDetector=A.Z,window.PublicationDetector=L;var wt={color:function(t){return(0,dt.O)("color("+t+")")}}}(),FBPublication=s}();