!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.FBPublication=e():t.FBPublication=e()}(globalThis,(()=>(()=>{var t,e,n,r,o,i={923:(t,e,n)=>{"use strict";function r(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}n.d(e,{Z:()=>o}),r.prototype.constructor=r,r.prototype._getBrowser=function(){const t=void 0!==this._navigator?this._navigator.userAgent.toLowerCase():"",e=function(e){const n=t.match(e);return n&&n.length>1&&n[1]||""};let n;const r=/CrOS/.test(t),o=e(/edge?\/(\d+(\.\d+)?)/i),i=o?o>=80?"chromiumEdge":"msedge":null,s=e(/version\/(\d+(\.\d+)?)/i);let a=!1;return/opera|opr/i.test(t)?n={name:"Opera",opera:!0,version:s||e(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(t)?n={name:"Yandex Browser",yandexbrowser:!0,version:s||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/windows phone/i.test(t)?(a=!0,n={name:"Windows Phone IE",ie:!0},o?(n[i]=!0,n.version=o):(n.msie=!0,n.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?(n={name:"Internet Explorer",msie:!0,ie:!0,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)},/trident/i.test(t)&&("7.0"===n.version&&"4.0"===e(/(?:trident\/)(\d+(\.\d+)?)/i)&&(n.version="8.0"),"7.0"===n.version&&"5.0"===e(/(?:trident\/)(\d+(\.\d+)?)/i)&&(n.version="9.0"))):/silk/i.test(t)?n={name:"Amazon Silk",silk:!0,version:e(/silk\/(\d+(\.\d+)?)/i)}:r?n={name:"Chrome",chrome:!0,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge?/i.test(t)?(n={name:"Microsoft Edge",version:o},n[i]=!0,n.ie="msedge"===i):/chrome|crios|crmo/i.test(t)?(n={name:"Chrome",chrome:!0,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)},/SamsungBrowser/i.test(t)&&(n.name="Samsung Browser",n.samsung=!0,n.version=e(/SamsungBrowser\/(\d+(\.\d+)?)/i))):n=/seamonkey\//i.test(t)?{name:"SeaMonkey",seamonkey:!0,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(t)?{name:"Firefox",firefox:!0,version:e(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)}:/phantom/i.test(t)?{name:"PhantomJS",phantom:!0,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/safari/i.test(t)?{name:"Safari",safari:!0,version:s}:{other:!0},/FBAN|FBIOS|FB_IAB|FBAV/i.test(t)&&(n.name="Facebook In-App",n.facebook=!0,n.inApp=!0),/\bFB[\w_]+\/(Messenger|MESSENGER)/i.test(t)&&(n.name="Messenger In-App",n.messenger=!0,n.inApp=!0),/\bTwitter/i.test(t)&&(n.name="Twitter In-App",n.twitter=!0,n.inApp=!0),/\bLine\//i.test(t)&&(n.name="Line In-App",n.line=!0,n.inApp=!0),/\bMicroMessenger\//i.test(t)&&(n.name="Wechat In-App",n.wechat=!0,n.inApp=!0),/\bInstagram/i.test(t)&&(n.name="Instagram In-App",n.instagram=!0,n.inApp=!0),a||n.msie||n.msedge||n.chromiumEdge||!/(apple)?webkit/i.test(t)?!n.opera&&/gecko\//i.test(t)&&(n.name=n.name||"Gecko",n.gecko=!0,n.version=n.version||e(/gecko\/(\d+(\.\d+)?)/i)):(n.name=n.name||"Webkit",n.webkit=!0,!n.version&&s&&(n.version=s)),n.name||(n.name="Other"),-1!==t.toLowerCase().indexOf("publisher")&&(n.publisher=!0),n},r.prototype._getFlash=function(){const t="Shockwave Flash",e="ShockwaveFlash.ShockwaveFlash",r="application/x-shockwave-flash";let o=null;if(void 0!==this._navigator.plugins&&"object"==typeof this._navigator.plugins[t]){let e=this._navigator.plugins[t].description;!e||void 0!==this._navigator.mimeTypes&&this._navigator.mimeTypes[r]&&!this._navigator.mimeTypes[r].enabledPlugin||(e=e.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),o=[parseInt(e.replace(/^(.*)\..*$/,"$1"),10),parseInt(e.replace(/^.*\.(.*)\s.*$/,"$1"),10),/[a-zA-Z]/.test(e)?parseInt(e.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0])}else if(void 0!==n.g.ActiveXObject)try{const t=new n.g.ActiveXObject(e);if(t){let e=t.GetVariable("$version");e&&(e=e.split(" ")[1].split(","),o=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)])}}catch(i){}return o},r.prototype._getOS=function(){const t=void 0!==this._navigator?this._navigator.userAgent.toLowerCase():"",e=function(e){const n=t.match(e);return n&&n.length>1&&n[1]||""};let n={name:"Other",other:!0};const 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),s=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:s||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:/(web|hpw)os/i.test(t)?(n={name:"WebOS",webos:!0,version:s||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)||s}:/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},r.prototype._getDevice=function(){const 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},r.prototype._getLocales=function(){if(void 0!==this._navigator){if(this._navigator.languages&&this._navigator.languages.length>0){const t=[];let e;for(let n=0;n{"use strict";n.d(e,{Z:()=>i});const r=Array.prototype.slice;function o(){}o.prototype.on=function(t,e,n){this._events=this._events||{};return(this._events[t]||(this._events[t]=[])).push({callback:e,context:n||this}),this},o.prototype.once=function(t,e,n){const r=this,o=function(){r.off(t,o),e.apply(this,arguments)};return o._callback=e,this.on(t,o,n)},o.prototype.off=function(t,e,n){let r,o,i;if(n=n||this,!t&&!e&&!n)return this._events={},this;for(const s in this._events)if(this._events.hasOwnProperty(s)&&(i=this._events[s],i)){if(this._events[s]=r=[],e||n)for(let t=0,s=i.length;t{"use strict";function r(t){return"function"==typeof t||!1}n.d(e,{k:()=>o,m:()=>r});const o=Array.isArray||function(t){return"[object Array]"===toString.call(t)}},90:(t,e,n)=>{"use strict";function r(t){let e;return e=t.match(/^#([0-9a-fA-F]{3})$/i),e?(e=e[1],[17*parseInt(e.charAt(0),16),17*parseInt(e.charAt(1),16),17*parseInt(e.charAt(2),16)]):(e=t.match(/^#([0-9a-fA-F]{6})$/i),e?(e=e[1],[parseInt(e.substr(0,2),16),parseInt(e.substr(2,2),16),parseInt(e.substr(4,2),16)]):-1!==t.indexOf("rgb")&&(e=t.match(/\d+(\.\d+)?%?/g),e)?e.map((t=>1*t)):[0,0,0])}function o(t){const e=299,n=667,r=114;return(t[0]*e+t[1]*n+t[2]*r)/(e+n+r)/255}n.d(e,{R:()=>o,l:()=>r})},2155:(t,e,n)=>{"use strict";function r(t){return!!(t instanceof Date||t instanceof RegExp)}function o(t){if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}function i(t){const e=[];return t.forEach((function(t,n){"object"==typeof t&&null!==t?Array.isArray(t)?e[n]=i(t):r(t)?e[n]=o(t):e[n]=s({},t):e[n]=t})),e}function s(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];const t=arguments[0];let e,n;return Array.prototype.slice.call(arguments,1).forEach((function(a){"object"!=typeof a||Array.isArray(a)||Object.keys(a).forEach((function(l){n=t[l],e=a[l],e===t||("object"!=typeof e||null===e?t[l]=e:Array.isArray(e)?t[l]=i(e):r(e)?t[l]=o(e):"object"!=typeof n||null===n||Array.isArray(n)?t[l]=s({},e):t[l]=s(n,e))}))})),t}n.d(e,{Z:()=>a});const a=s},776:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(320);const o=function(){let t;function e(){return t||(this instanceof e?(t=this,void this.unsetCallback()):new e)}return e.prototype.destructor=function(){this.unsetCallback(),(0,r.mf)(this.adapter.destructor)&&this.adapter.destructor()},e.prototype.setAdapter=function(t){const e=this;this.adapter&&(this.adapter.setCallback(null),this.adapter=null),this.adapter=t,this.adapter.setCallback((function(t){e.callback(t)}))},e.prototype.setCallback=function(t){this.callback=t},e.prototype.unsetCallback=function(){this.callback=function(){}},e.prototype.getPathInfo=function(){return this.adapter.getPathInfo()},e.prototype.setPath=function(t){this.adapter.setPath(t)},e.prototype.getShareUrl=function(t,e){return this.adapter.getShareUrl(t,e)},e.prototype.getEmbedUrl=function(t){return this.adapter.getEmbedUrl(t)},e.prototype.getLocalStorage=function(){return this.adapter.getLocalStorage()},e.prototype.getSessionStorage=function(){return this.adapter.getSessionStorage()},e.prototype.translatePath=function(t){const e=[];if((0,r.HD)(t))return this.adapter.translatePath(t);for(let n=0,r=t.length;n{"use strict";n.d(e,{Ds:()=>s,OZ:()=>h,P2:()=>a,QX:()=>u,TV:()=>g,UZ:()=>c,iZ:()=>l,l:()=>p,sO:()=>d,t:()=>f});var r=n(320);function o(t,e){return e=null==e?t.length-1:+e,function(){const n=Math.max(arguments.length-e,0),r=Array(n);let o=0;for(;oe?(r&&(clearTimeout(r),r=null),a=c,s=t.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,h)),s};return c.cancel=function(){clearTimeout(r),a=0,r=o=i=null},c}function l(t){const e=[];for(;t;){if(e.push(t),"html"===t.tagName.toLowerCase())return e;t=t.parentNode}}function c(t){const e=[];for(;t;){if(t.classList&&t.classList[0]&&e.push(t.classList[0]),"html"===t.tagName.toLowerCase())return e;t=t.parentNode}return e}function h(t,e,n,r,o=!1){for(let i=0,s=t.length;i=r[t].left+n||o+n<=r[t].left||i>=r[t].top+n||i+n<=r[t].top)){s=!0;break}a++,3===a&&(a=0,l++),l*n+n>e&&(s=!1)}while(s);return{left:o,top:i}}function f(t,e){if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(!t||!e||"object"!=typeof t&&"object"!=typeof e)return t===e;if(t.prototype!==e.prototype)return!1;const n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((n=>f(t[n],e[n])))}function g(t){let e,n=t.length;for(;0!==n;)e=Math.floor(Math.random()*n),n--,[t[n],t[e]]=[t[e],t[n]];return t}},7476:(t,e,n)=>{"use strict";let r;n.d(e,{V:()=>i,n:()=>o});const o=t=>{r=t},i=()=>r||n.nc},320:(t,e,n)=>{"use strict";n.d(e,{Ft:()=>s,HD:()=>f,Kn:()=>i,e$:()=>p,hj:()=>g,kE:()=>m,kJ:()=>r.k,mf:()=>r.m,o8:()=>a,sH:()=>b,xb:()=>v});var r=n(5392);const o=Object.prototype.toString;function i(t){const e=typeof t;return"function"===e||"object"===e&&!!t}function s(t){return null===t}function a(t){return void 0===t}function l(t){return function(e){return null==e?void 0:e[t]}}const c=Math.pow(2,53)-1,h=l("length"),u=function(t){const e=h(t);return"number"==typeof e&&e>=0&&e<=c};function p(t,e){return null!=t&&hasOwnProperty.call(t,e)}let d=function(t){return"[object Arguments]"===o.call(t)};function f(t){return"[object String]"===o.call(t)}function g(t){return"[object Number]"===o.call(t)}function m(t){return!isNaN(parseFloat(t))&&isFinite(t)}function v(t){return null==t||(u(t)&&((0,r.k)(t)||f(t)||d(t))?0===t.length:0===Object.keys(t).length)}function b(t){const 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(){d(arguments)||(d=function(t){return p(t,"callee")})}()},1042:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(7476);function o(t,e=(()=>{}),o=(()=>{}),i){const s=n.g.document.getElementsByTagName("head")[0],a=n.g.document.createElement("script");a.type="text/javascript",a.src=t,(0,r.V)()&&a.setAttribute("nonce",(0,r.V)()),i&&a.setAttribute("crossOrigin",i),a.onload=function(){e(a)},a.onerror=function(t){o(t)},s.appendChild(a)}},924:(t,e,n)=>{"use strict";n.d(e,{B:()=>o,Z:()=>r});const r={READY:1,ERROR:-1,UNREADY:0},o={PAGE_TEXT:0,PAGE_SUBSTRATE:1,THUMBNAIL:2,ZOOM_PAGE_TEXT:10,ZOOM_PAGE_SUBSTRATE:11,SVG:12}},710:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const 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,s){t.open(n,e),t.onerror=function(t){s(t,e)},t.onload=function(){switch(o){case"text":i(t.responseText,null);break;case"json":try{i(JSON.parse(t.responseText),null)}catch(n){s(n,e)}break;default:i(t,null)}},setTimeout((function(){t.send(r)}))}function i({url:t="",method:e="GET",headers:i={},data:s=null,responseType:a="text",callback:l=(()=>{}),errorback:c=(()=>{})}){const h=r();if(!(h instanceof n.g.XMLHttpRequest))return o(h,t,e,s,a,l,c);h.open(e,t,!0),"blob"===a&&(h.responseType=a);for(const n in i){if(!i.hasOwnProperty(n))return;h.setRequestHeader(n,i[n])}const u=function(){c.apply(null,arguments),c=()=>{},l=()=>{}},p=function(){l.apply(null,arguments),l=()=>{},c=()=>{}};h.onerror=function(){u(h.status,t)},h.onreadystatechange=function(){if(4===h.readyState)if(200===h.status){const n=h.response?h.response.length:null;switch(a){case"text":p(h.responseText,n);break;case"json":try{p(JSON.parse(h.responseText),n)}catch(e){u(e,t)}break;default:p(h,n)}}else u(h.status,t)},h.send(s)}},770:(t,e,n)=>{"use strict";n.d(e,{Z:()=>O});var r=0,o="";function i(t){return d(u(m(t)))}function s(t){return f(u(m(t)))}function a(t,e){return g(u(m(t)),e)}function l(t,e){return d(p(m(t),m(e)))}function c(t,e){return f(p(m(t),m(e)))}function h(t,e,n){return g(p(m(t),m(e)),n)}function u(t){return b(E(v(t),8*t.length))}function p(t,e){var n=v(t);n.length>16&&(n=E(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 s=E(r.concat(v(e)),512+8*e.length);return b(E(o.concat(s),768))}function d(t){for(var e,n=r?"0123456789ABCDEF":"0123456789abcdef",o="",i=0;i>>4&15)+n.charAt(15&e);return o}function f(t){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="",r=t.length,i=0;i8*t.length?n+=o:n+=e.charAt(s>>>6*(3-a)&63);return n}function g(t,e){var n,r,o,i,s=e.length,a=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);a[a.length]=o,l=i}var c="";for(n=a.length-1;n>=0;n--)c+=e.charAt(a[n]);var h=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 v(t){for(var e=Array(t.length>>2),n=0;n>5]|=(255&t.charCodeAt(n/8))<<24-n%32;return e}function b(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 y(t,e){return t>>>e|t<<32-e}function w(t,e){return t>>>e}function x(t,e,n){return t&e^~t&n}function C(t,e,n){return t&e^t&n^e&n}function k(t){return y(t,2)^y(t,13)^y(t,22)}function M(t){return y(t,6)^y(t,11)^y(t,25)}function S(t){return y(t,7)^y(t,18)^w(t,3)}function A(t){return y(t,17)^y(t,19)^w(t,10)}var I=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 E(t,e){var n,r,o,i,s,a,l,c,h,u,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,h=0;h>16)+(e>>16)+(n>>16)<<16|65535&n}var _={};_.hex_sha256=i,_.b64_sha256=s,_.any_sha256=a,_.hex_hmac_sha256=l,_.b64_hmac_sha256=c,_.any_hmac_sha256=h;const O=_},8531:(t,e,n)=>{"use strict";n.d(e,{BU:()=>l,Q$:()=>c,_Q:()=>i,m9:()=>a,qQ:()=>s});var r=n(320);const 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(let e=0;e("000"+t).slice(-Math.max((t+"").length,4));function a(t){if(!(0,r.HD)(t)&&!(0,r.hj)(t))return"";const e=document.createElement("textarea");return e.innerHTML=t,e.value}function l(t){let e=t/1048576;return e=e<1?e<.1?(1024*e).toFixed(0)+" KB":e.toFixed(2)+" MB":e<100?e.toFixed(1)+" MB":e.toFixed(0)+" MB",e}function c(t){const e=parseInt(t/3600,10)%24,n=parseInt(t/60,10)%60;let r="";return e&&(r+=e+"h"),n&&(r+=n+"m"),r+=(t%=60)+"s",r}},6313:t=>{var e=function(){"use strict";function t(e,n,r,o){"object"==typeof n&&(r=n.depth,o=n.prototype,n.filter,n=n.circular);var s=[],a=[],l="undefined"!=typeof Buffer;function c(e,r){if(null===e)return null;if(0==r)return e;var h,u;if("object"!=typeof e)return e;if(t.__isArray(e))h=[];else if(t.__isRegExp(e))h=new RegExp(e.source,i(e)),e.lastIndex&&(h.lastIndex=e.lastIndex);else if(t.__isDate(e))h=new Date(e.getTime());else{if(l&&Buffer.isBuffer(e))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(e.length):new Buffer(e.length),e.copy(h),h;void 0===o?(u=Object.getPrototypeOf(e),h=Object.create(u)):(h=Object.create(o),u=o)}if(n){var p=s.indexOf(e);if(-1!=p)return a[p];s.push(e),a.push(h)}for(var d in e){var f;u&&(f=Object.getOwnPropertyDescriptor(u,d)),f&&null==f.set||(h[d]=c(e[d],r-1))}return h}return void 0===n&&(n=!0),void 0===r&&(r=1/0),c(e,r)}function e(t){return Object.prototype.toString.call(t)}function n(t){return"object"==typeof t&&"[object Date]"===e(t)}function r(t){return"object"==typeof t&&"[object Array]"===e(t)}function o(t){return"object"==typeof t&&"[object RegExp]"===e(t)}function i(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return t.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},t.__objToStr=e,t.__isDate=n,t.__isArray=r,t.__isRegExp=o,t.__getRegExpFlags=i,t}();t.exports&&(t.exports=e)},8168:(t,e,n)=>{var r=n(8874),o={};for(var i in r)r.hasOwnProperty(i)&&(o[r[i]]=i);var s=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in s)if(s.hasOwnProperty(a)){if(!("channels"in s[a]))throw new Error("missing channels property: "+a);if(!("labels"in s[a]))throw new Error("missing channel labels property: "+a);if(s[a].labels.length!==s[a].channels)throw new Error("channel and label counts mismatch: "+a);var l=s[a].channels,c=s[a].labels;delete s[a].channels,delete s[a].labels,Object.defineProperty(s[a],"channels",{value:l}),Object.defineProperty(s[a],"labels",{value:c})}function h(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}s.rgb.hsl=function(t){var e,n,r=t[0]/255,o=t[1]/255,i=t[2]/255,s=Math.min(r,o,i),a=Math.max(r,o,i),l=a-s;return a===s?e=0:r===a?e=(o-i)/l:o===a?e=2+(i-r)/l:i===a&&(e=4+(r-o)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(s+a)/2,[e,100*(a===s?0:n<=.5?l/(a+s):l/(2-a-s)),100*n]},s.rgb.hsv=function(t){var e,n,r,o,i,s=t[0]/255,a=t[1]/255,l=t[2]/255,c=Math.max(s,a,l),h=c-Math.min(s,a,l),u=function(t){return(c-t)/6/h+.5};return 0===h?o=i=0:(i=h/c,e=u(s),n=u(a),r=u(l),s===c?o=r-n:a===c?o=1/3+e-r:l===c&&(o=2/3+n-e),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},s.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[s.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)))]},s.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]},s.rgb.keyword=function(t){var e=o[t];if(e)return e;var n,i=1/0;for(var s in r)if(r.hasOwnProperty(s)){var a=h(t,r[s]);a.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)]},s.rgb.lab=function(t){var e=s.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))]},s.hsl.rgb=function(t){var e,n,r,o,i,s=t[0]/360,a=t[1]/100,l=t[2]/100;if(0===a)return[i=255*l,i,i];e=2*l-(n=l<.5?l*(1+a):l+a-l*a),o=[0,0,0];for(var c=0;c<3;c++)(r=s+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},s.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)]},s.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),s=255*r*(1-n),a=255*r*(1-n*i),l=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,l,s];case 1:return[a,r,s];case 2:return[s,r,l];case 3:return[s,a,r];case 4:return[l,s,r];case 5:return[r,s,a]}},s.hsv.hsl=function(t){var e,n,r,o=t[0],i=t[1]/100,s=t[2]/100,a=Math.max(s,.01);return r=(2-i)*s,n=i*a,[o,100*(n=(n/=(e=(2-i)*a)<=1?e:2-e)||0),100*(r/=2)]},s.hwb.rgb=function(t){var e,n,r,o,i,s,a,l=t[0]/360,c=t[1]/100,h=t[2]/100,u=c+h;switch(u>1&&(c/=u,h/=u),r=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(r=1-r),o=c+r*((n=1-h)-c),e){default:case 6:case 0:i=n,s=o,a=c;break;case 1:i=o,s=n,a=c;break;case 2:i=c,s=n,a=o;break;case 3:i=c,s=o,a=n;break;case 4:i=o,s=c,a=n;break;case 5:i=n,s=c,a=o}return[255*i,255*s,255*a]},s.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))]},s.xyz.rgb=function(t){var e,n,r,o=t[0]/100,i=t[1]/100,s=t[2]/100;return n=-.9689*o+1.8758*i+.0415*s,r=.0557*o+-.204*i+1.057*s,e=(e=3.2406*o+-1.5372*i+-.4986*s)>.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))]},s.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))]},s.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),s=Math.pow(e,3),a=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},s.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]},s.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)]},s.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],o=1 in arguments?arguments[1]:s.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},s.hsv.ansi16=function(t){return s.rgb.ansi16(s.hsv.rgb(t),t[2])},s.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)},s.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]},s.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]},s.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},s.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]},s.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),s=Math.min(Math.min(n,r),o),a=i-s;return e=a<=0?0:i===n?(r-o)/a%6:i===r?2+(o-n)/a:4+(n-r)/a+4,e/=6,[360*(e%=1),100*a,100*(a<1?s/(1-a):0)]},s.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]},s.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]},s.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,s=i%1,a=1-s,l=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return l=(1-n)*r,[255*(n*o[0]+l),255*(n*o[1]+l),255*(n*o[2]+l)]},s.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]},s.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]},s.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)]},s.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]},s.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},s.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},s.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},s.gray.hsl=s.gray.hsv=function(t){return[0,0,t[0]]},s.gray.hwb=function(t){return[0,100,t[0]]},s.gray.cmyk=function(t){return[0,0,0,t[0]]},s.gray.lab=function(t){return[t[0],0,0]},s.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},s.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},2085:(t,e,n)=>{var r=n(8168),o=n(4111),i={};function s(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 a(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;o{var r=n(8168);function o(){for(var t={},e=Object.keys(r),n=e.length,o=0;o{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},9375:(t,e,n)=>{var r=n(8874);function o(t){if(t){var e=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,o=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,s=/(\D+)/,a=[0,0,0],l=1,c=t.match(e);if(c){c=c[1];for(var h=0;h{var r=n(136);function o(t){return function(e,n){var r;"modifier"==n[0].type&&(r=n.shift().value);var o=n[0].value;-1!=o.indexOf("%")?(o=parseInt(o,10)/100,r?"*"!=r&&(o=e[t]()*o):o*="alpha"==t?1:255):o=Number(o),e[t](s(e[t](),o,r))}}function i(t){return function(e,n){var r;"modifier"==n[0].type&&(r=n.shift().value);var o=parseFloat(n[0].value,10);e[t](s(e[t](),o,r))}}function s(t,e,n){switch(n){case"+":return t+e;case"-":return t-e;case"*":return t*e;default:return e}}function a(t,e,n){e.hue();for(var r=e.clone(),o=e.whiteness(),i=e.blackness(),s=n.whiteness(),a=n.blackness();Math.abs(o-s)>1||Math.abs(i-a)>1;){var l=Math.round((s+o)/2),c=Math.round((a+i)/2);r.whiteness(l),r.blackness(c),r.contrast(e)>t?(s=l,a=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,s=4.5;if(t.contrast(o)>s){var l=(i=a(s,t,o)).alpha();i.alpha(1),i.mix(o,n).alpha(l)}t.hwb(i.hwb())}},1498:(t,e,n)=>{var r=n(5185),o=n(136),i=n(5685),s=n(467);function a(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+")"))+a(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(!s[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)})),s[n](e,t.arguments)})),e.rgbString()}t.exports=a},1667:(t,e,n)=>{var r=n(1498),o=n(5685);e.O=r},5685:(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 s(){var t=e(/^([\+\-\*])/);if(t){var n={type:"modifier"};return n.value=t[0],o("modifier %o",n),n}}function a(){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=s()||u()||a();)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 h(){var t={type:"color"},r=e(/([^\)\s]+)/)[0];-1!=r.indexOf("(")&&(r+=e(/([^\)]*?\))/)[0]);return t.value=r,n(),t}function u(){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,s={};for(s.type="function",s.name="color",s.arguments=[u()||h()],o("function arguments %o",s.arguments);i=c();)s.arguments.push(i),n();return t=e.post,n(),o("function %o",s),s}}return"string"!=typeof t&&(t=t.toString()),o("string %s",t),u()}t.exports=i},5185: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:(t,e,n)=>{var r=n(6313),o=n(2085),i=n(9375),s=function(t){if(t instanceof s)return t;if(!(this instanceof s))return new s(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)}};s.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,s=n.alpha()-r.alpha(),a=((i*s==-1?i:(i+s)/(1+i*s))+1)/2,l=1-a;return this.rgb(a*n.red()+l*r.red(),a*n.green()+l*r.green(),a*n.blue()+l*r.blue()).alpha(n.alpha()*o+r.alpha()*(1-o))},toJSON:function(){return this.rgb()},clone:function(){var t=new s;return t.values=r(this.values),t}},s.prototype.getValues=function(t){for(var e={},n=0;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(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=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 s(){var t;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(t=console).log.apply(t,arguments)}function a(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=s,e.formatArgs=i,e.save=a,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:(t,e,n)=>{"use strict";function r(t){function e(t){for(var e=0,n=0;n{var e=1e3,n=60*e,r=60*n,o=24*r,i=7*o,s=365.25*o;function a(t){if(!((t=String(t)).length>100)){var a=/^(-?(?:\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(a){var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*s;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?h(t,i,o,"day"):i>=r?h(t,i,r,"hour"):i>=n?h(t,i,n,"minute"):i>=e?h(t,i,e,"second"):t+" ms"}function h(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 a(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:t=>{!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag",c=!0,h=e.regeneratorRuntime;if(h)c&&(t.exports=h);else{(h=e.regeneratorRuntime=c?t.exports:{}).wrap=w;var u="suspendedStart",p="suspendedYield",d="executing",f="completed",g={},m={};m[s]=function(){return this};var v=Object.getPrototypeOf,b=v&&v(v(F([])));b&&b!==r&&o.call(b,s)&&(m=b);var y=M.prototype=C.prototype=Object.create(m);k.prototype=y.constructor=M,M.constructor=k,M[l]=k.displayName="GeneratorFunction",h.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},h.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,M):(t.__proto__=M,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(y),t},h.awrap=function(t){return{__await:t}},S(A.prototype),A.prototype[a]=function(){return this},h.AsyncIterator=A,h.async=function(t,e,n,r){var o=new A(w(t,e,n,r));return h.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},S(y),y[l]="Generator",y[s]=function(){return this},y.toString=function(){return"[object Generator]"},h.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}},h.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(_),!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 a.type="throw",a.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var l=o.call(s,"catchLoc"),c=o.call(s,"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),_(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;_(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 C?e:C,i=Object.create(o.prototype),s=new O(r||[]);return i._invoke=I(t,n,s),i}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function C(){}function k(){}function M(){}function S(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function A(t){function e(n,r,i,s){var a=x(t[n],t,r);if("throw"!==a.type){var l=a.arg,c=l.value;return c&&"object"==typeof c&&o.call(c,"__await")?Promise.resolve(c.__await).then((function(t){e("next",t,i,s)}),(function(t){e("throw",t,i,s)})):Promise.resolve(c).then((function(t){l.value=t,i(l)}),s)}s(a.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=u;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 s=n.delegate;if(s){var a=E(s,n);if(a){if(a===g)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)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 E(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,E(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 _(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[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r{"use strict";t.exports=function(t,e,n,r){var o=self||window;try{try{var i;try{i=new o.Blob([t])}catch(c){(i=new(o.BlobBuilder||o.WebKitBlobBuilder||o.MozBlobBuilder||o.MSBlobBuilder)).append(t),i=i.getBlob()}var s=o.URL||o.webkitURL,a=s.createObjectURL(i),l=new o[e](a,n);return s.revokeObjectURL(a),l}catch(c){return new o[e]("data:application/javascript,".concat(encodeURIComponent(t)),n)}}catch(c){if(!r)throw Error("Inline worker is not supported");return new o[e](r,n)}}}},s={};function a(t){var e=s[t];if(void 0!==e)return e.exports;var n=s[t]={id:t,exports:{}};return i[t].call(n.exports,n,n.exports,a),n.exports}a.m=i,t=[],a.O=(e,n,r,o)=>{if(!n){var i=1/0;for(h=0;h=o)&&Object.keys(a.O).every((t=>a.O[t](n[l])))?n.splice(l--,1):(s=!1,o0&&t[h-1][2]>o;h--)t[h]=t[h-1];t[h]=[n,r,o]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var o=Object.create(null);a.r(o);var i={};e=e||[null,n({}),n([]),n(n)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,a.d(o,i),o},a.d=(t,e)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.f={},a.e=t=>Promise.all(Object.keys(a.f).reduce(((e,n)=>(a.f[n](t,e),e)),[])),a.u=t=>"./js/"+t+".js",a.miniCssF=t=>"./css/"+t+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r={},o="@flippingbook/publication:",a.l=(t,e,n,i)=>{if(r[t])r[t].push(e);else{var s,l;if(void 0!==n)for(var c=document.getElementsByTagName("script"),h=0;h{s.onerror=s.onload=null,clearTimeout(d);var o=r[t];if(delete r[t],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((t=>t(n))),e)return e(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.v=(t,e,n,r)=>{var o=fetch(a.p+""+n+".module.wasm");return"function"==typeof WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(o,r).then((e=>Object.assign(t,e.instance.exports))):o.then((t=>t.arrayBuffer())).then((t=>WebAssembly.instantiate(t,r))).then((e=>Object.assign(t,e.instance.exports)))},a.p="",(()=>{if("undefined"!=typeof document){var t=(t,e,n,r,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css";var s=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var s=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.href||e,l=new Error("Loading CSS chunk "+t+" failed.\n("+a+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=s,l.request=a,i.parentNode&&i.parentNode.removeChild(i),o(l)}};return i.onerror=i.onload=s,i.href=e,n?n.parentNode.insertBefore(i,n.nextSibling):document.head.appendChild(i),i},e=(t,e)=>{for(var n=document.getElementsByTagName("link"),r=0;rnew Promise(((r,o)=>{var i=a.miniCssF(n),s=a.p+i;if(e(i,s))return r();t(n,s,null,r,o)})),r={7:0};a.f.miniCss=(t,e)=>{var o={9:1,10:1,13:1};r[t]?e.push(r[t]):0!==r[t]&&o[t]&&e.push(r[t]=n(t).then((()=>{r[t]=0}),(e=>{throw delete r[t],e})))}}})(),(()=>{var t={7:0};a.f.j=(e,n)=>{var r=a.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=t[e]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(e),s=new Error,l=n=>{if(a.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}};a.l(i,l,"chunk-"+e,e)}},a.O.j=e=>0===t[e];var e=(e,n)=>{var r,o,[i,s,l]=n,c=0;if(i.some((e=>0!==t[e]))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var h=l(a)}for(e&&e(n);c{"use strict";a.r(l),a.d(l,{HistoryApiAdapter:()=>kt,PageResourceState:()=>Mt.Z,PageResourceType:()=>Mt.B,Publication:()=>Pt,PublicationDetector:()=>nt,SKIN_TEMPLATES:()=>_t,UserAgentDetector:()=>Q.Z,loadScript:()=>It.Z});var t=a(8239);function e(){this.id=Math.random(),this.methods=[],this.events=[]}e.prototype=new t.Z,e.prototype.constructor=e,e.prototype.addMethod=function(t,e){this[t]=e,this.methods.push(t)},e.prototype.addEvent=function(t){this.events.push(t)};const n=e,r={backgroundColor:"#0b97c4",titleColor:"#fff",titleText:"",coverSrc:"",showLogo:!0,logoLink:{image:null,url:"http://flippingbook.com"}};class o{constructor(t,e,n,o,i){this.container=t,this.browser=o,this.adapter=e,this.options=Object.assign(r,n),this.version=i,this.isSupportCssCustomProperties="CSS"in window&&"registerProperty"in CSS,(async()=>{await this.injectStyles(),document.body.offsetHeight,this.preloader=this.render(),this.start()})()}_preventer(t){t.preventDefault()}async injectStyles(){return new Promise((t=>{t()}))}progress(){}render(){}remove(){}start(){}stopAnimation(){}}const i=o,s=document.createElement("div");s.style.height="100%",s.style.width="100%",s.innerHTML='\n \n \n',s.setAttribute("class","preloader"),s.setAttribute("id","preloader");const c=s;function h(t,e=!1){const n=`\n .preloader {\n background-color: ${t};\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 10;\n top: 0;\n left: 0;\n }\n \n .spinner {\n position: absolute;\n }\n \n .logo {\n position: absolute;\n transform: scale(0);\n will-change: transform, opacity;\n border-radius: 50%;\n opacity: 1;\n }\n \n .animation-enter-from .logo {\n transform: scale(0);\n transition: transform .5s cubic-bezier(0.3, 0.2, 0.2, 1.4);\n }\n \n .animation-enter-to .logo {\n transform: scale(1) translateZ(0);\n }\n \n .animation-leave-from .logo {\n transform: scale(1) translateZ(0);\n opacity: 1;\n transition: transform .25s cubic-bezier(0.45, 0, 0.55, 1), opacity .25s cubic-bezier(0.45, 0, 0.55, 1);\n }\n \n .animation-leave-to .logo {\n transform: scale(1.3) translateZ(0);\n opacity: 0;\n }\n \n .animation-active .logo {\n animation: breathe 1s cubic-bezier(0.37, 0, 0.63, 1);\n }\n \n .without-logo .logo {\n display: none;\n }\n \n @keyframes breathe {\n 0% { transform: scale(1); }\n 50% { transform: scale(0.9); }\n 100% { transform: scale(1); }\n }`;return e?`\n @property --mask-radius {\n syntax: '';\n inherits: false;\n initial-value: 0%;\n }\n\n @property --mask-radius-gradient {\n syntax: '';\n inherits: false;\n initial-value: 0%;\n }\n\n .animation-leave-from.preloader {\n transition: --mask-radius-gradient 0.25s 0.21s cubic-bezier(0.31, 0.0, 0.8, 0.37), --mask-radius 0.25s 0.167s cubic-bezier(0.31, 0.0, 0.8, 0.37);\n background: radial-gradient(circle at center, transparent var(--mask-radius-gradient), ${t} var(--mask-radius))\n }\n\n .animation-leave-to.preloader {\n --mask-radius: 100%;\n --mask-radius-gradient: 100%;\n }\n `+n:n}var u=a(7476),p=a(477),d=a.n(p);function f(){return d()('(()=>{"use strict";function t(t,n,e,r){return function(o){const a=3*t,i=3*(e-t)-a,l=1-a-i,s=3*n,c=3*(r-n)-s,f=1-s-c;function u(t){return((l*t+i)*t+a)*t}function g(t){return((f*t+c)*t+s)*t}function h(t){return(3*l*t+2*i)*t+a}function d(t,n){let e,r,o,a,i,l;for(o=t,l=0;l<8;l++){if(a=u(o)-t,Math.abs(a)r)return r;for(;ea?e=o:r=o,o=.5*(r-e)+e}return o}return g(d(o,1e-6))}}const n=46,e=7;let r=-100;const o=t(.6,0,.45,1),a=t(1,-.13,.95,.4);function i(t){const n=360*a(t)-90,e=360*o(t)-90;return{startAngle:n*(Math.PI/180),endAngle:e*(Math.PI/180)}}function l({progress:t,backgroundColor:r,fillColor:o,canvas:a}){const l=i(t),s=a.getContext("2d");let c;s.clearRect(0,0,a.width,a.height),s.fillStyle=r,s.fillRect(0,0,a.width,a.height);const f=l.startAngle*(180/Math.PI),u=l.endAngle*(180/Math.PI);if(u>=-90&&u<=-65){c=`${o}${Math.floor(.01*255+(u+90)/25*.99*255).toString(16).padStart(2,"0")}`}else if(f>=255&&f<=270){c=`${o}${Math.floor(255-(f-255)/15*.99*255).toString(16).padStart(2,"0")}`}else c=`${o}ff`;const g=s.createLinearGradient(a.width/2+n*Math.cos(l.startAngle),a.height/2+n*Math.sin(l.startAngle),a.width/2+n*Math.cos(l.endAngle),a.height/2+n*Math.sin(l.endAngle));g.addColorStop(0,`${r}`),g.addColorStop(1,`${c}`),s.beginPath(),s.arc(a.width/2,a.height/2,n,l.startAngle,l.endAngle),s.lineWidth=e,s.lineCap="round",s.strokeStyle=g,s.stroke()}function s({canvas:t,backgroundColor:n,fillColor:e,callback:o}){const a=performance.now();function i(s){const c=(s-a)%1e3/1e3;c{postMessage({action:"progress",progress:t})}})}})();',"Worker",void 0,void 0)}function g({duration:t,delay:e,easing:n,onUpdate:r,onStopped:o}){const i=performance.now();let s;return s=requestAnimationFrame((function a(l){let c=(l-i)/(t+e);c>1&&(c=1);const h=n(c);r({progress:h}),c<1?s=requestAnimationFrame(a):o()})),()=>{cancelAnimationFrame(s)}}function m(t,e,n,r){return function(o){const i=3*t,s=3*(n-t)-i,a=1-i-s,l=3*e,c=3*(r-e)-l,h=1-l-c;function u(t){return((a*t+s)*t+i)*t}function p(t){return((h*t+c)*t+l)*t}function d(t){return(3*a*t+2*s)*t+i}function f(t,e){let n,r,o,i,s,a;for(o=t,a=0;a<8;a++){if(i=u(o)-t,Math.abs(i)r)return r;for(;ni?n=o:r=o,o=.5*(r-n)+n}return o}return p(f(o,1e-6))}}var v=a(90);const b=46,y=7;let w=-100;const x=m(.6,0,.45,1),C=m(1,-.13,.95,.4);function k(t){const e=360*C(t)-90,n=360*x(t)-90;return{startAngle:e*(Math.PI/180),endAngle:n*(Math.PI/180)}}function M({progress:t,backgroundColor:e,fillColor:n,canvas:r}){const o=k(t),i=r.getContext("2d");let s;i.clearRect(0,0,r.width,r.height),i.fillStyle=e,i.fillRect(0,0,r.width,r.height);const a=o.startAngle*(180/Math.PI),l=o.endAngle*(180/Math.PI);if(l>=-90&&l<=-65){s=`${n}${Math.floor(.01*255+(l+90)/25*.99*255).toString(16).padStart(2,"0")}`}else if(a>=255&&a<=270){s=`${n}${Math.floor(255-(a-255)/15*.99*255).toString(16).padStart(2,"0")}`}else s=`${n}ff`;const c=i.createLinearGradient(r.width/2+b*Math.cos(o.startAngle),r.height/2+b*Math.sin(o.startAngle),r.width/2+b*Math.cos(o.endAngle),r.height/2+b*Math.sin(o.endAngle));c.addColorStop(0,`${e}`),c.addColorStop(1,`${s}`),i.beginPath(),i.arc(r.width/2,r.height/2,b,o.startAngle,o.endAngle),i.lineWidth=y,i.lineCap="round",i.strokeStyle=c,i.stroke()}function S({canvas:t,backgroundColor:e,fillColor:n,callback:r}){const o=performance.now();function i(s){const a=(s-o)%1e3/1e3;a{const r=document.createElement("style");document.getElementsByTagName("head")[0].appendChild(r),r.onload=()=>t(r),r.onerror=n;const o=h(this.preloaderBackgroundColor,this.isSupportCssCustomProperties);r.appendChild(document.createTextNode(o)),e&&r.setAttribute("nonce",e),r.setAttribute("type","text/css"),r.setAttribute("id","preloader-spinner-styles")}))}remove(t){const e=document.getElementById("spinner");e?.remove(),this.spinnerWorker&&this.spinnerWorker.terminate();const n=e=>{if(void 0===e||e.target===this.preloader){super.remove();const e=document.getElementById("preloader-spinner-styles");e&&e.remove(),this.preloader.remove(),t()}};this.preloader.classList.remove("animation-active"),setTimeout((()=>{this.preloader.classList.add("animation-leave-from"),this.preloader.offsetWidth,this.preloader.classList.add("animation-leave-to"),this.isSupportCssCustomProperties?this.preloader.addEventListener("transitionend",n):g({duration:250,delay:167,easing:m(.31,0,.8,.37),onUpdate:({progress:t})=>{this.preloader.style.background=`radial-gradient(circle at center, transparent ${100*t-5}%, ${this.preloaderBackgroundColor} ${100*t}%)`},onStopped:n})}),0)}start(){this.options.showLogo||this.preloader.classList.add("without-logo"),this.preloader.classList.add("animation-enter-from"),this.preloader.offsetWidth,this.preloader.classList.add("animation-enter-to");const t=()=>{this.startSpinnerAnimation()};this.options.showLogo?this.preloader.addEventListener("transitionend",t,{once:!0}):t()}startSpinnerAnimation(){const t=document.getElementById("spinner");if(!t)return;window.OffscreenCanvas&&!this.browser.publisher?this.animateInOffscreenCanvas(t):this.animateInCanvas(t)}animateInOffscreenCanvas(t){this.spinnerWorker=new f;const e=t.transferControlToOffscreen();this.spinnerWorker.postMessage({canvas:e,backgroundColor:this.preloaderBackgroundColor,fillColor:A},[e]),this.preloader.classList.add("animation-active"),this.spinnerWorker.onmessage=this.onStepDone.bind(this)}animateInCanvas(t){this.preloader.classList.add("animation-active"),S({canvas:t,backgroundColor:this.preloaderBackgroundColor,fillColor:A,callback:this.onStepDone.bind(this)})}onStepDone(){this.preloader.classList.remove("animation-active"),this.preloader.offsetWidth,this.preloader.classList.add("animation-active")}}const _=P;var O=a(8531);function F(t,e,n,r,o){const i={backgroundColor:"#0b97c4",titleColor:"#fff",titleText:"",coverSrc:"",logoLink:{image:null,url:"http://flippingbook.com"}},s=this,l="mobile"===o||"mobile-app"===o?"fixed":"absolute";this.browser=r,this.adapter=e,this.options=Object.assign(i,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=l,this.preloader.style.top="0px",this.preloader.style.left="0px",this.preloader.style.right="0px",this.preloader.style.bottom="0px",this.preloader.style.transition="opacity .25s ease",this.preloader.style.opacity="1",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(){s.preloader.style.height=document.documentElement.clientHeight+"px",s._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._renderCoverPreloader(),setTimeout((function(){s._resize()}),10)}F.prototype._renderCoverPreloader=function(){const 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,O.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)},F.prototype._resize=function(){},F.prototype._preventZoom=function(){},F.prototype._applyCoverStyles=function(){const t=this.adapter.translatePath(this.options.coverSrc),e=a.g.document.createElement("style");(0,u.V)()&&e.setAttribute("nonce",(0,u.V)());const n=`\n .preloader-container{\n overflow: hidden;\n text-align: center;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center; \n vertical-align: middle;\n max-width: 500px;\n width: 90%; \n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%)\n }\n \n .preloader-title{\n max-height: 3.0em;\n line-height: 1.5em;\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: ${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('${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: 100%;\n max-width: 250px;\n height: 190px;\n background-position: 50% 50%;\n background-repeat: no-repeat;\n background-size: contain;\n box-sizing: content-box;\n }\n \n @media all and (max-width: 1300px), all and (max-height: 768px){\n .preloader-cover{\n width: 240px;\n height: 240px;\n margin: 50px 0;\n }\n .preloader-logo{\n height: 90px;\n }\n }\n @media all and (max-width: 600px), all and (max-height: 600px){\n .preloader-cover{\n width: 200px;\n height: 200px;\n margin: 20px 0 30px 0;\n }\n .preloader-logo{\n height: 85px;\n }\n }\n @media all and (max-width: 550px), all and (max-height: 450px){\n .preloader-title{\n font-size: 18px;\n }\n .preloader-cover{\n width: 160px;\n height: 160px;\n margin: 10px 0;\n }\n .preloader-logo{\n height: 40px;\n }\n }\n @media all and (max-width: 400px), all and (max-height: 300px){\n .preloader-title{\n font-size: 16px;\n }\n .preloader-cover{\n width: 100px;\n height: 100px;\n margin: 10px 0;\n }\n .preloader-logo{\n height: 34px;\n }\n }\n \n @media all and (max-width: 242px), all and (max-height: 212px){\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)},F.prototype._injectImage=function(){const 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)},F.prototype._tuneLogoSize=function(){if(void 0===this.options.logoLink||!this.options.logoLink.image)return;const t=this,e=t.logoContainer,n=document.createElement("canvas"),r=n.getContext("2d"),o=new Image,i=function(){const n=t.logoContainer.getBoundingClientRect();t.logoIMGRect.width(this.coverIMG.naturalHeight||this.coverIMG.height)){const 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{const e=t.height/this.coverIMG.naturalHeight;this.coverIMG.style.top="0px",this.coverIMG.style.width=this.coverIMG.naturalWidth*e+"px",this.coverIMG.style.height=t.height+"px",this.coverIMG.style.left=(t.width-this.coverIMG.width)/2+"px"}}},F.prototype.progress=function(t){if(""===this.options.coverSrc||!this.options.coverSrc)return;const e=this.coverIMG.width*t/100;this.coverIMG.style.clip=`rect(auto, ${e}px, auto, auto)`},F.prototype.remove=function(t){this.preloader&&(this.preloader.style.opacity="0",setTimeout((()=>{this.preloader&&(this.bookInt&&clearInterval(this.bookInt),a.g.removeEventListener("resize",this._resize),this.preloader.removeEventListener("touchstart",this._preventZoom,!0),this.preloader.parentNode&&this.preloader.parentNode.removeChild(this.preloader),delete this.preloader,this._styleTags.forEach((t=>{t.parentNode.removeChild(t)})),t?.())}),417))};const L=F;function T({container:t,adapter:e,options:n,browser:r,version:o}){return new(n.coverSrc&&""!==n.coverSrc?L:_)(t,e,n,r,o)}const j=T;function B(){this.callback=null,this.isReady=!0}B.prototype.ready=function(){this.isReady=!0},B.prototype.setCallback=function(t){this.callback=t},B.prototype.getPathInfo=function(){throw new Error("Method getPathInfo() should be overridden")},B.prototype.setPath=function(){throw new Error("Method setPath() should be overridden")},B.prototype.getShareUrl=function(){throw new Error("Method getShareUrl() should be overridden")},B.prototype.getEmbedUrl=function(){throw new Error("Method getEmbedUrl() should be overridden")},B.prototype.translatePath=function(){throw new Error("Method translatePath() should be overridden")},B.prototype.getFirstPage=function(){throw new Error("Method getEmbedPrefix() should be overridden")},B.prototype.getCurrentPage=function(){throw new Error("Method getEmbedPrefix() should be overridden")},B.prototype.getVersions=function(){throw new Error("Method getEmbedPrefix() should be overridden")},B.prototype.getEmbedPrefix=function(){throw new Error("Method getEmbedPrefix() should be overridden")},B.prototype.getModulesUrl=function(){throw new Error("Method getModulesUrl() should be overridden")},B.prototype.getHashMode=function(){throw new Error("Method getOptions() should be overridden")},B.prototype.getIndexFileName=function(){throw new Error("Method getOptions() should be overridden")};const N=B;function U(t){this.mappings=t,this.baseUrl="",window.location&&(this.baseUrl=window.location.href.split("#")[0])}U.prototype=new N,U.constructor=U,U.prototype.getModulesUrl=function(){return this.baseUrl},U.prototype.translatePath=function(t){if(this.mappings.hasOwnProperty("length"))for(let e=0;e0&&(t+="&"),t+=encodeURIComponent(e)+"="+("boolean"==typeof r?"1":encodeURIComponent(r))}if(t.length>0)if(-1!==e.indexOf("?")){const n=e.split("?");n[1].length>0&&(n[1]+="&"),n[1]+=t,e=n.join("?")}else e+="?"+t}}return e},z.prototype.getEmbedPrefix=function(){return"fbp"},z.prototype.getLocalStorage=function(){return this._checkStorage("localStorage")?window.localStorage:this._storageStub},z.prototype.getSessionStorage=function(){return this._checkStorage("sessionStorage")?window.sessionStorage:this._storageStub},z.prototype._checkStorage=function(t){const e="test";try{return window[t].setItem(e,e),window[t].removeItem(e),!0}catch(n){return!1}},z.prototype._storageStub={length:0,isStub:!0,key:function(){},getItem:function(){},setItem:function(){},removeItem:function(){},clear:function(){}},z.prototype._hashChanged=function(){if(!a.g.location)return;const t=a.g.location.hash,e=this._getInfoFromHash(t);e&&this.callback&&this.callback(e)},z.prototype._getInfoFromHash=function(t){if("#"===t.substring(0,1)&&(t=t.slice(1)),0===t.length)return null;const 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},z.prototype._parseQueryString=function(){if(!a.g.location)return;const t=a.g.location.search.replace("?","");if(!t.length)return;const e={},n=t.split("&");for(let a=0;a1?decodeURIComponent(t[1]):null}const r=["p","page","z","zoom","id"];let o=!1;for(let a=0,l=r.length;a0&&(s+="&"),s=encodeURIComponent(a)+"="+(e[a]?encodeURIComponent(e[a]):""));a.g.location.search=s.length>0?"?"+s:""};const D=z;var V=a(710),G=a(320),Z=a(770);function H(t,e){const n=new DataView(t);if(255!==n.getUint8(0)||216!==n.getUint8(1))return!1;const r=t.byteLength;let o,i=2;for(;i4?a:e+8,X(t,l,s-1))}function X(t,e,n){let r="";for(let o=e;or[i]?1:-1}return n.length!==r.length?-1:0}tt.prototype.constructor=tt,tt.prototype.getSupportedVersions=function(){const t=[];if(this.userAgentInfo.device.desktop){if(this.userAgentInfo.browser.ie)return[];t.push("html")}else{const 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)t.push("mobile");else{const n=navigator.userAgent.indexOf("Mozilla/5.0")>-1&&navigator.userAgent.indexOf("Android ")>-1&&navigator.userAgent.indexOf("AppleWebKit")>-1&&-1===navigator.userAgent.indexOf("Chrome");(e&&et(this.userAgentInfo.os.version,"9")>=0||r&&1===et(this.userAgentInfo.os.version,"4.2")&&!n)&&t.push("mobile-old")}}return t},tt.prototype.mainVersion=function(){const t=this.getSupportedVersions();if(this.priorities){for(let e=0;e0)return t[0];return null},tt.prototype.isRenderable=function(){return!0};const nt=tt;let rt=null;function ot(){return"%password-protection%"}function it(){return"%domain-protection%"}const st=function(){return"fghjk"===it()},at=function(){return"rtyu"===ot()};function lt(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 ct(t){const e=t.match(/^https?\:\/\/([^\/:?#]+)(?:[\/:?#]|$)/i);return e&&e[1]}function ht(t){const 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(let r=e.length-3;r>=0;r--)n.push(e[r]+"."+n[n.length-1]);return n}const ut=function(){const t=window.parent;return window.location!==t.location},pt=function(){return new Promise(((t,e)=>{const n=window.parent,r=setInterval((()=>{n.postMessage({fbPublicationUrl:window.location.href},"*")}),300),o=setTimeout((()=>{clearInterval(r),e(new Error("No reply from embed script"))}),1500);window.addEventListener("message",(e=>{if(e.source===n){clearTimeout(o),clearInterval(r);const n=ct(e.origin);t(n)}}),!1),n.postMessage({fbPublicationUrl:window.location.href},"*")}))},dt=function(t){return lt(t)?[t]:ht(t)},ft=function(){return new Promise(((t,e)=>{const n=ut();if(n)pt().then((e=>{t({isEmbedded:n,embeddingDomain:e})})).catch((e=>{t({isEmbedded:n,embeddingDomain:null})}));else{const e=window.location.hostname;t({isEmbedded:n,embeddingDomain:e})}}))},gt=function(){return new Promise((t=>{if(rt)t(rt);else{let e=new XMLHttpRequest;e.onload=function(){if(200!==this.status&&0!==this.status)throw new Error("Could not load image");rt=e.response,t(e.response),e=null};const n=(0,J.Z)().translatePath("assets/cover300.jpg");e.open("GET",n,!0),e.responseType="arraybuffer",e.send(null)}}))},mt=function(t,e){return gt().then((t=>{const n=H(t,33432),r=H(t,33423);if(!n||!r)return new Error("Protection error");const o=n.split(","),i=dt(e);if(o.length>0){let t=!1;for(let e=0;enew Promise((n=>{const r=H(e,315),o=H(e,33423);if(!o)throw new Error("Protection error");(0,J.Z)().getLocalStorage().getItem("fblp")===r?n():bt((function(t){const e=document.getElementById("passwordInput"),i=document.getElementById("passwordButton"),s=function(){let i=e.value;if(""!==i)if(i=Z.Z.hex_sha256(Z.Z.hex_sha256(i)+o),i===r){(0,J.Z)().getLocalStorage().setItem("fblp",i);const t=document.getElementById("security-container-styles");t&&t.parentElement.removeChild(t),n()}else e.className="password-input error",e.parentNode.setAttribute("data-error",t)};e.focus(),i.addEventListener("click",s),e.addEventListener("keyup",(function(t){const n=e.value;i.className=""!==n?"password-button":"password-button inactive","Enter"===t.code&&s()}))}),t)}))))},bt=function(t,e){let n=!1;const r=/lightbox=([^&]+)/.exec(window.location.href);(0,Y.k)(r)&&(n=r[1]);const o=new Q.Z,i=new nt(o,["html","mobile"]).mainVersion();(0,V.Z)({url:(0,J.Z)().translatePath("static/locales/"+e+".json"),responseType:"json",callback:function(r){K();const o=a.g.document.createElement("style"),s=".security-container {overflow: hidden; text-align: center; display: inline-block; vertical-align: middle; width: 550px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); user-select: none;}.security-container .password-title {width: 100%; overflow: hidden; font-family: Arial, sans-serif; font-weight: bold; font-size: 34px; color: #5A5F63; margin: 0; display: inline-block;}.security-container .password-input {width: 330px; height: 53px; background-color: white; border: 1px solid #c7ced2; font-family: Arial, sans-serif; font-size: 16px; border-radius: 6px; padding: 0 20px; color: #5A5F63; margin-top: 26px; box-sizing: border-box;}.security-container .password-input.error {border: 1px solid #EE0000;}.security-container .input-label {display: inline-block; position: relative; margin-bottom: 26px;}.security-container .input-label:before {content: attr(data-error); position: absolute; top: 100%; right: 0%; display: inline-block; font-family: Arial, sans-serif; font-size: 16px; padding: 2px 0; color: rgba(238, 0, 0, 0.8);}.security-container .password-button {background-color: #00ADEF; border: 1px solid #c7ced2; font-size: 16px; border-radius: 3px; height: 51px; line-height: 51px; padding: 0 40px; display: inline-block; vertical-align: middle; margin-left: 12px; margin-top: -2px; font-family: Arial, sans-serif; font-size: 17px; font-weight: bold; color: #fff; transition: background-color 0.15s ease-out;}.security-container .password-button.inactive {background-color: rgba(90, 95, 99, 0.2);}.security-container .password-button:hover {cursor: pointer; background-color: #08C;}.security-container .password-button:active {cursor: pointer; background-color: #069;}.security-container .password-button.inactive:hover {cursor: default; background-color: rgba(90, 95, 99, 0.2);}.security-container[dir=rtl] .password-button {margin-right: 12px;}.security-container[dir=rtl] .input-label:before {right: initial; left: 0;}.security-container .input-label:before {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 330px;}@media (max-width: 550px) {.security-container {width: 100%; top: 50%; left: 0; transform: translate(0, -50%); } .security-container .password-title {font-size: 24px; } .security-container .input-label {width: 90%; } .security-container .password-input {width: 100%; } .security-container .password-button {width: 90%; padding: 0; margin-left: 0; margin-right: 0; } .security-container[dir=rtl] .password-button {margin-right: 0; }}.security-close-button {position: absolute; top: 10px; right: 10px; opacity: 0;}.security-close-button[dir=rtl] {right: initial; left: 10px}";o.appendChild(a.g.document.createTextNode(s)),o.id="security-container-styles",document.getElementsByTagName("head")[0].appendChild(o),document.addEventListener("touchmove",(function(t){(t.scale&&1!==t.scale||t.touches&&t.touches.length>1)&&t.preventDefault()}),{passive:!1});const l='

'+r.LoginWindow.SECURITY_PAS_TITLE+'

'+r.LoginWindow.SECURITY_PAS_SUBMIT_BUTTON+'
';if(document.getElementsByTagName("body")[0].innerHTML=l,n&&"mobile"===i){const t=document.getElementsByClassName("security-close-button")[0];t.style.opacity=1,t.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)}})},yt=function(){rt=null};var wt=a(5622);function xt(t={}){const 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=Object.assign(e,t),R.call(this,this.options.mappings),this.isReady=!1,this.options.hasOwnProperty("baseUrl")&&(this.baseUrl=this.options.baseUrl);const n=this;function r(){let t=a.g.location.href.replace(n.options.baseUrl,"");return t=t.replace(a.g.location.hash,""),t=t.split("?")[0],t=t.replace(n.options.currentPage+"/",""),t===n.options.index}if(this._urlChangedBound=(0,wt.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){const t=this.getBaseUrl(),e=this.options.sign,n=this,r=function(t){n.isIndexAvailableAsDefault=t,n.ready()};(0,V.Z)({url:t,callback:t=>{const n=t.indexOf(e);r(n>=0)},errorback:()=>{r(!1)}})}else this.isIndexAvailableAsDefault=!r(),n.ready()}xt.prototype=new R,xt.prototype.constructor=xt,xt.prototype.destructor=function(){this.callback=null,a.g.history&&a.g.history.pushState&&!this.options.editorMode&&!this.options.hashMode&&window.removeEventListener("popstate",this._urlChangedBound)},xt.prototype.getFirstPage=function(){return this.options.firstPage},xt.prototype.getCurrentPage=function(){return this.options.currentPage};const Ct=/^([^?]*)(\?.*)/;xt.prototype.translatePath=function(t,e){return t=R.prototype.translatePath.call(this,t),e||(t+=(-1===t.indexOf("?")?"?uni=":"&uni=")+this.options.uni),t},xt.prototype.getPathInfo=function(){if(!a.g.location)return null;let t=a.g.location.href.replace(this.options.baseUrl,"");t=t.replace(a.g.location.hash,""),t=t.replace(this.options.index,"");let e=null;const n=t.split("?")[0].split("/");n[1]&&""!==n[1]?e=n[1]:n[0]&&""!==n[0]&&(e=n[0]);const r={},o={},i=a.g.location.hash.slice(1).split("&"),s=[...a.g.location.search.slice(1).split("&"),...i];for(let a=0;a1?decodeURIComponent(t[0]):"page"]=t.length>1?decodeURIComponent(t[1]):t[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){const t=o.media.split(".");r.lightboxItemId=+t[0],r.lightboxItemType="image",t[1]&&(r.lightboxGalleryItemIndex=+t[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(Ct,"$1"));const l=(o.zoom||o.z||"").replace(Ct,"$1");if(r.zoom="true"===l,o.t){const t=atob(o.t).split(","),e=t[0],n=t[1],i={top:t[2],left:t[3],width:t[4],height:t[5],cursorHSide:t[6],cursorVSide:t[7]};r.selectText={pageID:e,pageSide:n,selectionRect:i}}return r},xt.prototype.getBaseUrl=function(t){return t?this.baseUrl+("/"===this.baseUrl[this.baseUrl.length-1]?"":"/"):this.baseUrl},xt.prototype.setPath=(0,wt.Ds)((function(t){this._updateFirstPageIfNeeded(t);const e=this.getPath(t);if(null===e)return;if(!a.g.location)return;a.g.location.href.includes("nocookie=true")&&(e.url+=(e.url.includes("?")?"&":"?")+"nocookie=true");let n="";if(e.hash&&(n="#"+e.hash),!e.historyApiEnabled)return void(a.g.location.hash=n);const r=!(0,wt.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)}),500),xt.prototype.getPath=function(t){if(this.options.editorMode)return null;const e=a.g.history&&a.g.history.pushState&&!this.options.hashMode,n={info:t,historyApiEnabled:e};let 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},xt.prototype.getShareUrl=function(t,e){const n=this.getPathInfo();e&&t&&(n.page=e);const r=this._getUrlParams(n,!1===this.options.hashMode);let 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},xt.prototype.getEmbedPrefix=function(){return this.options.embedPrefix},xt.prototype.getLocalStorage=function(){return this._checkStorage("localStorage")?window.localStorage:this._storageStub},xt.prototype.getSessionStorage=function(){return this._checkStorage("sessionStorage")?window.sessionStorage:this._storageStub},xt.prototype._checkStorage=function(t){const e="test";try{return window[t].setItem(e,e),window[t].removeItem(e),!0}catch(n){return!1}},xt.prototype._storageStub={length:0,isStub:!0,key:function(){},getItem:function(){},setItem:function(){},removeItem:function(){},clear:function(){}},xt.prototype._getUrlParams=function(t,e){const n=[];let r="",o="";if(t.zoom&&!this.options.editorMode&&n.push("zoom=true"),t.lightboxItemId&&!this.options.editorMode)switch(t.lightboxItemType){case"image":case"gallery":let e=t.lightboxItemId;(t.lightboxGalleryItemIndex||0===t.lightboxGalleryItemIndex)&&(e=e+"."+t.lightboxGalleryItemIndex),n.push("media="+e);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,r.length>0&&n.length>0&&(r+="&"))),r+=n.join("&"),{url:o,params:r}},xt.calculateFirstPage=function(t){return t>0?"I":t<0?(Math.abs(t)+1).toString():"1"},xt.prototype._updateFirstPageIfNeeded=function(t){(0,G.hj)(t.numerationOffset)&&(this.options.firstPage=xt.calculateFirstPage(t.numerationOffset))},xt.prototype._urlChanged=function(){if(!a.g.location||this.isNotHistory)return;const t=this.getPathInfo();t&&this.callback&&this.callback(t)},xt.prototype.getCrossOrigin=function(){return this.options.crossOrigin},xt.prototype.getHashMode=function(){return this.options.hashMode},xt.prototype.getIndexFileName=function(){return this.isIndexAvailableAsDefault?null:this.options.index},xt.prototype.getImageFileName=function(t){const e=t.format?"."+t.format:"";return t.name+t.size+e},xt.prototype.isDomainProtected=st,xt.prototype.isPasswordProtected=at,xt.prototype.shouldDisplayPublication=function(t=!1,e=null){return new Promise((n=>{!1===this.isDomainProtected()?n(!0):(t&&null===e&&n(!1),mt(t,e).then((t=>n(t))))}))},xt.prototype.performPasswordCheck=function(t){return new Promise((e=>{!1===this.isPasswordProtected()?e():vt(t).then((t=>e()))}))};const kt=xt;var Mt=a(924),St=a(2155);const At=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;}"}');var It=a(1042),Et=a(1667);a(5666);function Pt(t){if(/bot|bingbot|googlebot|google-structured-data-testing-tool|linkedinbot|mediapartners-google/i.test(navigator.userAgent))return;const e=t.nonce||window.FBO?.Config?.Nonce;function r(t){t.getEntries().forEach((t=>{if("navigation"===t.entryType){const e=t.toJSON();this.api.trigger("time",{action:"request",time:e.responseStart-e.requestStart}),this.api.trigger("time",{action:"response",time:e.responseEnd-e.responseStart}),this.api.trigger("time",{action:"firstByte",time:e.responseStart}),this.api.trigger("time",{action:"domInteractive",time:e.domInteractive})}if("measure"===t.entryType){const e=t.toJSON();this.api.trigger("time",{action:e.name,time:e.duration})}}))}e&&(a.nc=e,(0,u.n)(e)),this.styleTag=document.createElement("link"),this.styleTag.type="text/css",this.styleTag.rel="stylesheet",this.styleTag.href=t.adapter.translatePath("static/css/core.css"),(0,u.V)()&&this.styleTag.setAttribute("nonce",(0,u.V)()),document.head.appendChild(this.styleTag);const o={container:window.document.getElementsByTagName("body")[0],callback:()=>{},onPublicationLoad:()=>{},navigator:window.navigator};this.options=Object.assign(o,t),this.options.api=this.api=this.options.api||new n,this.api.trigger("log",{message:"Api inited",level:"info",timestamp:Date.now()}),this.performanceObserver=new PerformanceObserver(r.bind(this)),this.performanceObserver.observe({entryTypes:["navigation","measure"]}),this.options.adapter||(this.options.adapter=new D),(0,J.Z)().setAdapter(t.adapter);const i=new RegExp("[#&]zoom=([^&#]*)").exec(a.g.location.href);this.options.zoom=i?.[1]||null,a.p=(0,J.Z)().translatePath("static/").split("?")[0],this.userAgentInfo=new Q.Z(this.options.navigator),this._performDomainCheck().then((()=>this._performPasswordCheck())).then((()=>this._render()))}Pt.prototype=new t.Z,Pt.prototype.constructor=Pt,Pt.prototype.destructor=function(){this.app&&(0,Y.m)(this.app.destructor)&&this.app.destructor(),this.styleTag&&this.styleTag.parentElement&&this.styleTag.parentElement.removeChild(this.styleTag)},Pt.prototype._performDomainCheck=function(){return new Promise((t=>{(0,J.Z)().isDomainProtected()?ft().then((({isEmbedded:e,embeddingDomain:n})=>{(0,J.Z)().shouldDisplayPublication(e,n).then((e=>{e?t():this._renderDomainFail()}))})).catch((()=>{this._renderDomainFail()})):t()}))},Pt.prototype._performPasswordCheck=function(){return new Promise((t=>{(0,J.Z)().isPasswordProtected()?this._getLocale().then((e=>(0,J.Z)().performPasswordCheck(e).then((e=>t())))):t()}))},Pt.prototype._render=function(){yt(),this.api.trigger("log",{message:"Starting render",level:"info",timestamp:Date.now()});let t=!1;const e=/embed=([^&#]+)/.exec(window.location.href);(0,Y.k)(e)&&(t=e[1]),this.options.embed=!!t;let n=null;const r=/embedId=([^&#]+)/.exec(window.location.href);(0,Y.k)(r)&&(n=r[1]),this.options.embedId=n;let o=!1;const i=/post=([^&#]+)/.exec(window.location.href);(0,Y.k)(i)&&(o=i[1]),this.options.usePostMsg=!!o;let s=!1;const a=/lightbox=([^&#]+)/.exec(window.location.href);(0,Y.k)(a)&&(s=a[1]),this.options.lightbox=!!s,this.options.adapter&&(this.options.adapter.embed=this.options.embed||this.options.lightbox);let l=!1;const c=/protected=([^&#]+)/.exec(window.location.href);(0,Y.k)(c)&&(l=c[1]),this.options.isProtected=!!l;let h=!1;const u=/nocookie=([^&#]+)/.exec(window.location.href);(0,Y.k)(u)&&(h="true"===u[1]),this.options.nocookie=h;let p=!1;const d=/wheel=([^&#]+)/.exec(window.location.href);(0,Y.k)(d)&&(p="true"===d[1]),this.options.wheel=p;const f=/v=([^&#]+)/.exec(window.location.href);if((0,Y.k)(f)&&(this.options.overrideVersion=f[1]),this.options.overrideVersion)this._startRenderVersion(this.options.overrideVersion);else{this.detector=new nt(this.userAgentInfo,this.options.versions);const t=this.detector.getSupportedVersions();let e;t&&t.length&&(e=this.detector.mainVersion(),e=e||this.options.callback(t)),e?this._startRenderVersion(e):this._renderMessage("version")}},Pt.prototype._renderDomainFail=function(){this._getLocale().then((t=>{(0,V.Z)({url:(0,J.Z)().translatePath("static/locales/"+t+".json"),responseType:"json",callback:e=>{K();const n=a.g.document.createElement("style"),r="\n .security-container {overflow: hidden;text-align: center;width: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%); display: flex; flex-direction: column; justify-content: center; align-items: center;}\n .security-container svg {width: 200px;}\n .password-title {width: 90%; overflow: hidden; font-family: Arial, sans-serif; font-weight: bold; font-size: 24px; color: #737b7d; margin: 0 0 40px 0; display: inline-block;}\n ";n.appendChild(a.g.document.createTextNode(r)),document.getElementsByTagName("head")[0].appendChild(n);const o='

'+e.LoginWindow.DOMAIN_ERROR+'

';let i,s;if(document.getElementsByTagName("body")[0].innerHTML=o,"ar"!==t&&"he"!==t||(document.getElementsByClassName("security-container")[0].setAttribute("dir","rtl"),document.getElementsByTagName("svg")[0].style.transform="scaleX(-1)"),this.options.extensions?.skinConfig){const t=this.options.extensions?.skinConfig;i=t["second-color"],s=t["second-text-color"]}else window?.FBInit?.PRELOADER&&(i=window.FBInit.PRELOADER.backgroundColor,s=window.FBInit.PRELOADER.titleColor);i&&(document.getElementsByTagName("body")[0].style.backgroundColor=i),s&&(document.getElementsByClassName("password-title")[0].style.color=s)}})}))},Pt.prototype._getLocale=function(){let t=this.userAgentInfo.locale;return new Promise((e=>{if("fbo"===this.options.productType||window.FBO){const n=["en","ar","de","es","fi","fr","he","it","ja","nl","no","pl","pt","ru","sv","tr","zh"];-1===n.indexOf(t)&&(t=n[0]||"en"),e(t)}else(0,V.Z)({url:(0,J.Z)().translatePath("assets/workspace.json"),responseType:"json",callback:n=>{let r=n;r.locales=r.locales||[],this.options.extensions&&this.options.extensions.workspaceProps&&(r=(0,St.Z)(r,this.options.extensions.workspaceProps)),-1===r.locales.indexOf(t)&&(t=r.locales[0]||"en"),e(t)}})}))},Pt.prototype.goToPage=function(t){this._app&&(0,Y.m)(this._app.goToPage)&&this._app.goToPage(t)},Pt.prototype._startRenderVersion=function(t){-1!==t.indexOf("mobile")&&K(),this.options.container.innerHTML="",this.observer=new IntersectionObserver((()=>this._renderVersion(t))),this.observer.observe(this.options.container)},Pt.prototype._checkLoadPolyfill=function(){if(!("Promise"in window&&"Symbol"in window)||this.userAgentInfo.os.ios&&this.userAgentInfo.os.version.split(".")[0]<=8){const t=document.createElement("script");t.async=!1,t.src=this.options.adapter.translatePath("static/polyfills.js");const e=this.options.adapter.getCrossOrigin();e&&t.setAttribute("crossOrigin",e),document.head.appendChild(t)}},Pt.prototype._renderVersion=async function(t){this.observer.unobserve(this.options.container),performance.mark("preloader-start"),performance.measure("preloaderStart"),this.api.trigger("log",{message:"Starting preloader",level:"info",timestamp:Date.now()});const e=new j({container:this.options.container,adapter:this.options.adapter,options:this.options.preloader,browser:this.userAgentInfo.browser,version:t}),n=this.options.onPublicationLoad;if(this.options.onPublicationLoad=t=>{this.app=t,this.api.trigger("log",{message:"Removing preloader",level:"info",timestamp:Date.now()}),t.$emit("before-preloader-off"),performance.measure("preloaderBeforeOff","preloader-start"),e.remove((()=>{clearTimeout(this.coverProgressTimeoutId),clearInterval(this.coverProgressIntervalId),(0,Y.m)(this.app.onReady)&&(performance.measure("preloaderOff","preloader-start"),this.app.onReady())})),n(t)},this.options?.preloader?.coverSrc){let t=0;const n=this.options.preloader?.progressSpeed||10,r=()=>{t=t>=100?0:t+1,e.progress(t)};this.coverProgressTimeoutId=setTimeout((()=>{this.coverProgressIntervalId=setInterval(r,n)}),500)}if(this.options?.preloader?.loop)return!0;const r=await Promise.all([a.e(8),a.e(14)]).then(a.bind(a,2571));return this.options.userAgentInfo=this.userAgentInfo,this.application=new r.App(this.options,t),!0},Pt.prototype._renderMessage=function(t){const e=this,n=function(t,e){for(const n in e)if(e.hasOwnProperty(n))if("style"===n)for(const 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]:r(n,e[n],t)},r=function(t,e,r){const o=document.createElement(t);return n(o,e),r&&(r.appendChild(o),r[t]=o),o};K();const o=document.getElementById("preloader-bg");o&&o.parentNode.removeChild(o),(0,V.Z)({url:this.options.adapter.translatePath("assets/workspace.json"),responseType:"json",callback:function(r){const o=a.g.document.getElementsByTagName("head")[0],i=a.g.document.createElement("style");i.type="text/css",i.rel="stylesheet",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?i.textContent=At.Y9:i.textContent=At.oB,o.appendChild(i),e.options.container.innerHTML="",n(e.options.container,At.nC);let s=e.userAgentInfo.locale;e.options.extensions&&e.options.extensions.workspaceProps&&(r=(0,St.Z)(r,e.options.extensions.workspaceProps)),r.locales||(r.locales=["en","ar","de","es","fi","fr","he","it","ja","nl","no","pl","pt","ru","sv","tr","zh"]),-1===r.locales.indexOf(s)&&(s=r.locales[0]||"en");const l=document.getElementById("notice-text"),c=document.getElementById("download-button");"ar"!==s&&"he"!==s||(l.setAttribute("dir","rtl"),c.setAttribute("dir","rtl")),e.api.trigger("develop",{action:"version",data:"blank"}),(0,V.Z)({url:e.options.adapter.translatePath("static/locales/"+s+".json"),responseType:"json",callback:function(n){if(l.innerHTML=n.Other.UNSUPPORTED_BROWSER,r.downloads.enabled&&r.downloads.url&&r.downloads.allPagesVisible&&"version"===t){c.href="linkPdf";const t=(0,O.BU)(r.downloads.size);c.innerHTML=n.SaveWindow.SAVE_BUTTON+" (PDF, "+t+")",c.onclick=function(t){const n=e.options.adapter.translatePath("assets/common/downloads/"+encodeURIComponent(r.downloads.url));t.currentTarget.href=n}}else c.parentNode.removeChild(c)},errorback:function(){c.parentNode.removeChild(c),l.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."}})},Pt.prototype.getState=function(){let t={};return this._app&&(0,Y.m)(this._app.getState)&&(t=this._app.getState()),t},window.Publication=Pt,window.getLocationEnvInfo=ft,window.HistoryApiAdapter=kt,window.UserAgentDetector=Q.Z,window.PublicationDetector=nt;const _t={color:t=>(0,Et.O)("color("+t+")")}})(),l=a.O(l)})()));