(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var n,ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ca(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var da=ca(this);
function ea(a,b){if(b)a:{var c=da;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}}ea("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&c.push([d,b[d]]);return c}});
ea("Array.prototype.flat",function(a){return a?a:function(b){b=void 0===b?1:b;for(var c=[],d=0;d<this.length;d++){var e=this[d];Array.isArray(e)&&0<b?(e=Array.prototype.flat.call(e,b-1),c.push.apply(c,e)):c.push(e)}return c}});ea("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});var fa=this||self;
function q(a,b,c){a=a.split(".");c=c||fa;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}function ia(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"}function ja(a){var b=ia(a);return"array"==b||"object"==b&&"number"==typeof a.length}function la(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}
function ma(a){return Object.prototype.hasOwnProperty.call(a,pa)&&a[pa]||(a[pa]=++qa)}var pa="closure_uid_"+(1E9*Math.random()>>>0),qa=0;function sa(a,b,c){return a.call.apply(a.bind,arguments)}function ta(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}
function ua(a,b,c){ua=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?sa:ta;return ua.apply(null,arguments)}function va(a,b){function c(){}c.prototype=b.prototype;a.xc=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.n1=function(d,e,f){for(var h=Array(arguments.length-2),g=2;g<arguments.length;g++)h[g-2]=arguments[g];return b.prototype[e].apply(d,h)}}function xa(a){return a};function ya(a){if(fa.VN)return fa.VN(a);try{const b=new XMLHttpRequest;b.open("get",a,!1);b.send();return 0==b.status||200==b.status?b.responseText:null}catch(b){return null}}function za(a){return a&&a.includes("file:///")?a.substr(8):a}fa.$X=function(a,b){a=za(a);b?eval(b):(b=ya(a),eval(b));return!0};function Aa(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Aa);else{const c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}va(Aa,Error);Aa.prototype.name="CustomError";var Ba;function Ea(a,b){a=a.split("%s");let c="";const d=a.length-1;for(let e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Aa.call(this,c+a[d])}va(Ea,Aa);Ea.prototype.name="AssertionError";function Fa(a){throw a;}function Ga(a,b){Fa(new Ea("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};function Ha(a){return a[a.length-1]}const Ia=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(let c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ja=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){const d=a.length,e="string"===typeof a?a.split(""):a;for(let f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
function Ka(a){var b=La,c=b.length;const d="string"===typeof b?b.split(""):b;for(--c;0<=c;--c)c in d&&a.call(void 0,d[c],c,b)}
const Ma=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,b){const c=a.length,d=[];let e=0;const f="string"===typeof a?a.split(""):a;for(let h=0;h<c;h++)if(h in f){const g=f[h];b.call(void 0,g,h,a)&&(d[e++]=g)}return d},Na=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){const c=a.length,d="string"===typeof a?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};
function Oa(a,b){a:{const c=a.length,d="string"===typeof a?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:"string"===typeof a?a.charAt(b):a[b]}function Qa(a,b){return 0<=Ia(a,b)}function Ta(a,b){b=Ia(a,b);let c;(c=0<=b)&&Ua(a,b);return c}function Ua(a,b){Array.prototype.splice.call(a,b,1)}function Va(a){return Array.prototype.concat.apply([],arguments)}
function Wa(a){const b=a.length;if(0<b){const c=Array(b);for(let d=0;d<b;d++)c[d]=a[d];return c}return[]}function Ya(a,b){for(let c=1;c<arguments.length;c++){const d=arguments[c];if(ja(d)){const e=a.length||0,f=d.length||0;a.length=e+f;for(let h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}}function Za(a,b,c,d){Array.prototype.splice.apply(a,$a(arguments,1))}function $a(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
function ab(a){let b=0,c=0;const d={};for(;c<a.length;){const f=a[c++];var e=f;e=la(e)?"o"+ma(e):(typeof e).charAt(0)+e;Object.prototype.hasOwnProperty.call(d,e)||(d[e]=!0,a[b++]=f)}a.length=b}function bb(a,b){a.sort(b||cb)}function eb(a,b){if(!ja(a)||!ja(b)||a.length!=b.length)return!1;const c=a.length,d=fb;for(let e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0}function cb(a,b){return a>b?1:a<b?-1:0}function fb(a,b){return a===b}
function gb(a){const b=Math.random;for(let c=a.length-1;0<c;c--){const d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];a[d]=e}};function hb(a,b){const c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c}var ib=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
function jb(a){if(!kb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(lb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(mb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(nb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ob,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(qb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(rb,"&#0;"));return a}var lb=/&/g,mb=/</g,nb=/>/g,ob=/"/g,qb=/'/g,rb=/\x00/g,kb=/[\x00&<>"']/;function sb(a,b){return a<b?-1:a>b?1:0};function tb(){var a=fa.navigator;return a&&(a=a.userAgent)?a:""}function ub(a){return-1!=tb().indexOf(a)};function vb(){return ub("Firefox")||ub("FxiOS")}function wb(){return ub("Safari")&&!(yb()||ub("Coast")||ub("Opera")||ub("Edge")||ub("Edg/")||ub("OPR")||vb()||ub("Silk")||ub("Android"))}function yb(){return(ub("Chrome")||ub("CriOS"))&&!ub("Edge")||ub("Silk")}function zb(){return ub("Android")&&!(yb()||vb()||ub("Opera")||ub("Silk"))};function Ab(){return ub("iPhone")&&!ub("iPod")&&!ub("iPad")}function Bb(){return Ab()||ub("iPad")||ub("iPod")};function Cb(a){Cb[" "](a);return a}Cb[" "]=function(){};function Db(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var Eb=ub("Opera"),Fb=ub("Trident")||ub("MSIE"),Gb=ub("Edge"),Hb=Gb||Fb,Ib=ub("Gecko")&&!(-1!=tb().toLowerCase().indexOf("webkit")&&!ub("Edge"))&&!(ub("Trident")||ub("MSIE"))&&!ub("Edge"),Lb=-1!=tb().toLowerCase().indexOf("webkit")&&!ub("Edge"),Mb=ub("Macintosh"),Nb=ub("Windows"),Ob=ub("Linux")||ub("CrOS"),Pb=ub("Android"),Qb=Ab(),Rb=ub("iPad"),Sb=ub("iPod");function Tb(){var a=fa.document;return a?a.documentMode:void 0}var Ub;
a:{var Vb="",Wb=function(){var a=tb();if(Ib)return/rv:([^\);]+)(\)|;)/.exec(a);if(Gb)return/Edge\/([\d\.]+)/.exec(a);if(Fb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Lb)return/WebKit\/(\S+)/.exec(a);if(Eb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Wb&&(Vb=Wb?Wb[1]:"");if(Fb){var Xb=Tb();if(null!=Xb&&Xb>parseFloat(Vb)){Ub=String(Xb);break a}}Ub=Vb}var Yb={};
function Zb(a){return Db(Yb,a,function(){let b=0;const c=ib(String(Ub)).split("."),d=ib(String(a)).split("."),e=Math.max(c.length,d.length);for(let g=0;0==b&&g<e;g++){var f=c[g]||"",h=d[g]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;b=sb(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||sb(0==f[2].length,0==h[2].length)||sb(f[2],h[2]);f=f[3];h=h[3]}while(0==b)}return 0<=b})}var $b;
if(fa.document&&Fb){var ac=Tb();$b=ac?ac:parseInt(Ub,10)||void 0}else $b=void 0;var bc=$b;var cc=Fb||Lb;function dc(a,b){this.DN=a===ec&&b||"";this.hO=fc}dc.prototype.So=!0;dc.prototype.No=function(){return this.DN};var fc={},ec={};var gc;function hc(){if(void 0===gc){var a=null,b=fa.trustedTypes;if(b&&b.createPolicy)try{a=b.createPolicy("goog#html",{createHTML:xa,createScript:xa,createScriptURL:xa})}catch(c){fa.console&&fa.console.error(c.message)}gc=a}return gc};var jc=class{constructor(a,b){this.JE=b===ic?a:""}toString(){return this.JE.toString()}};jc.prototype.So=!0;jc.prototype.No=function(){return this.JE.toString()};function kc(a){if(a instanceof jc&&a.constructor===jc)return a.JE;Ga("expected object of type SafeUrl, got '"+a+"' of type "+ia(a));return"type_error:SafeUrl"}var lc=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,mc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
function nc(a){if(a instanceof jc)return a;a="object"==typeof a&&a.So?a.No():String(a);mc.test(a)||(a="about:invalid#zClosurez");return new jc(a,ic)}var ic={},oc=new jc("about:invalid#zClosurez",ic);function pc(a,b,c){for(const d in a)b.call(c,a[d],d,a)}function qc(a,b){const c={};for(const d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function rc(a,b){const c={};for(const d in a)c[d]=b.call(void 0,a[d],d,a);return c}function tc(a){const b=[];let c=0;for(const d in a)b[c++]=a[d];return b}function uc(a){const b=[];let c=0;for(const d in a)b[c++]=d;return b}function vc(a,b){return null!==a&&b in a}function wc(a,b){for(const c in a)if(b.call(void 0,a[c],c,a))return c}
function xc(){var a=yc;for(const b in a)return!1;return!0}function zc(a,b,c){if(null!==a&&b in a)throw Error(`The object already contains the key "${b}"`);a[b]=c}function u(a,b,c){return null!==a&&b in a?a[b]:c}function Ac(a){const b={};for(const c in a)b[c]=a[c];return b}const Bc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function Cc(a,b){let c,d;for(let e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(let f=0;f<Bc.length;f++)c=Bc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};const Dc={};function Ec(a){if(a instanceof Fc&&a.constructor===Fc)return a.IE;Ga(`expected object of type SafeHtml, got '${a}' of type `+ia(a));return"type_error:SafeHtml"}function Gc(a){return a instanceof Fc?a:Hc(jb("object"==typeof a&&a.So?a.No():String(a)))}function Hc(a){const b=hc();a=b?b.createHTML(a):a;return new Fc(a,Dc)}function Kc(a){const b=Gc(Lc),c=[],d=e=>{Array.isArray(e)?e.forEach(d):(e=Gc(e),c.push(Ec(e).toString()))};a.forEach(d);return Hc(c.join(Ec(b).toString()))}
function Mc(a){return Kc(Array.prototype.slice.call(arguments))}class Fc{constructor(a,b){this.IE=b===Dc?a:"";this.So=!0}No(){return this.IE.toString()}toString(){return this.IE.toString()}}var Lc=new Fc(fa.trustedTypes&&fa.trustedTypes.emptyHTML||"",Dc),Nc=Hc("<br>");var Oc={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Pc=function(a){let b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Ec(Lc);return!b.parentElement});
function Qc(a,b){if(a.tagName&&Oc[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");if(Pc())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Ec(b)}function Rc(a,b,c,d){a=a instanceof jc?a:nc(a);b=b||fa;c instanceof dc?c instanceof dc&&c.constructor===dc&&c.hO===fc?c=c.DN:(Ga("expected object of type Const, got '"+c+"'"),c="type_error:Const"):c=c||"";return void 0!==d?b.open(kc(a),c,d):b.open(kc(a),c)}var Sc=/^[\w+/_-]+[=]{0,2}$/;function Tc(a,b,c){return Math.min(Math.max(a,b),c)}function Uc(a,b,c){return a+c*(b-a)};function Vc(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}n=Vc.prototype;n.clone=function(){return new Vc(this.x,this.y)};n.Ji=function(a){return a instanceof Vc&&Wc(this,a)};function Wc(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Xc(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function Zc(a,b){var c=a.x-b.x;a=a.y-b.y;return c*c+a*a}function $c(a,b){return new Vc(a.x-b.x,a.y-b.y)}function ad(a,b){return new Vc(a.x+b.x,a.y+b.y)}
n.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};n.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};n.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};n.translate=function(a,b){a instanceof Vc?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};n.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};function bd(a,b){this.width=a;this.height=b}n=bd.prototype;n.clone=function(){return new bd(this.width,this.height)};n.area=function(){return this.width*this.height};n.aspectRatio=function(){return this.width/this.height};n.sh=function(){return!this.area()};n.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};n.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
n.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};n.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};function cd(a){return a=jb(a)}function dd(a){const b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};let c;c=fa.document.createElement("div");return a.replace(ed,function(d,e){let f=b[d];if(f)return f;"#"==e.charAt(0)&&(e=Number("0"+e.slice(1)),isNaN(e)||(f=String.fromCharCode(e)));f||(Qc(c,Hc(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})}
function fd(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}var ed=/&([^;\s<&]+);?/g,gd={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},hd={"'":"\\'"},id=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};
function jd(a,b){if(!Number.isFinite(a))return String(a);a=String(a);let c=a.indexOf(".");-1===c&&(c=a.length);const d="-"===a[0]?"-":"";d&&(a=a.substring(1));return d+id("0",Math.max(0,b-c))+a}function kd(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)}function ld(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}
function md(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};function nd(a){return a?new od(pd(a)):Ba||(Ba=new od)}function qd(a,b){return"string"===typeof b?a.getElementById(b):b}
function sd(a,b,c){var d=document;c=c||d;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName){c=c.getElementsByClassName(b);if(a){d={};for(var e=0,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;return d}return c}c=c.getElementsByTagName(a||"*");if(b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&Qa(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;return d}return c}
function td(a,b){pc(b,function(c,d){c&&"object"==typeof c&&c.So&&(c=c.No());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ud.hasOwnProperty(d)?a.setAttribute(ud[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})}
var ud={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function vd(a,b,c){var d=arguments,e=document,f=d[1],h=wd(e,String(d[0]));f&&("string"===typeof f?h.className=f:Array.isArray(f)?h.className=f.join(" "):td(h,f));2<d.length&&xd(e,h,d,2);return h}
function xd(a,b,c,d){function e(g){g&&b.appendChild("string"===typeof g?a.createTextNode(g):g)}for(;d<c.length;d++){var f=c[d];if(!ja(f)||la(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(la(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}Ja(h?Wa(f):f,e)}}}function w(a){return wd(document,a)}
function wd(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)}function yd(a){var b=document,c=wd(b,"DIV");Fb?(Qc(c,Mc(Nc,a)),c.removeChild(c.firstChild)):Qc(c,a);if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(a=b.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}return c}function zd(a){for(var b;b=a.firstChild;)a.removeChild(b)}function Ad(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}
function Bd(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function Cd(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})}function Dd(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Ed(a){return la(a)&&1==a.nodeType}function Fd(a){var b;if(cc&&!(Fb&&Zb("9")&&!Zb("10")&&fa.SVGElement&&a instanceof fa.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return Ed(b)?b:null}
function Gd(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function pd(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
function Hd(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else zd(a),a.appendChild(pd(a).createTextNode(String(b)))}function Id(a){if("outerHTML"in a)return a.outerHTML;var b=wd(pd(a),"DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML}function Jd(a,b){var c=[];return Kd(a,b,c,!0)?c[0]:void 0}
function Kd(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||Kd(a,b,c,d))return!0;a=a.nextSibling}return!1}var Ld={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Md={IMG:" ",BR:"\n"};function Nd(a,b,c){if(!(a.nodeName in Ld))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Md)b.push(Md[a.nodeName]);else for(a=a.firstChild;a;)Nd(a,b,c),a=a.nextSibling}
function Od(){var a=document;try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function od(a){this.Qd=a||fa.document||document}n=od.prototype;n.getElementsByTagName=function(a,b){return(b||this.Qd).getElementsByTagName(String(a))};n.createElement=function(a){return wd(this.Qd,a)};n.createTextNode=function(a){return this.Qd.createTextNode(String(a))};n.appendChild=function(a,b){a.appendChild(b)};n.append=function(a,b){xd(pd(a),a,arguments,1)};
n.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};n.removeNode=Bd;n.contains=Gd;n.Eb=Hd;function Pd(){0!=Qd&&(Rd[ma(this)]=this);this.Bx=this.Bx;this.Yo=this.Yo}var Qd=0,Rd={};Pd.prototype.Bx=!1;Pd.prototype.ze=function(){if(!this.Bx&&(this.Bx=!0,this.Ue(),0!=Qd)){var a=ma(this);if(0!=Qd&&this.Yo&&0<this.Yo.length)throw Error(this+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete Rd[a]}};Pd.prototype.Ue=function(){if(this.Yo)for(;this.Yo.length;)this.Yo.shift()()};function Sd(){this.id="mousewheel"}Sd.prototype.toString=function(){return this.id};function Td(a,b){this.type=a instanceof Sd?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ss=!1}Td.prototype.stopPropagation=function(){this.Ss=!0};Td.prototype.preventDefault=function(){this.defaultPrevented=!0};var Ud=function(){if(!fa.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{fa.addEventListener("test",()=>{},b),fa.removeEventListener("test",()=>{},b)}catch(c){}return a}();var Vd;Vd=Lb?"webkitAnimationEnd":"animationend";function Zd(a,b){Td.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Rd=null;a&&this.vk(a,b)}va(Zd,Td);var $d={2:"touch",3:"pen",4:"mouse"};
Zd.prototype.vk=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(Ib){a:{try{Cb(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=
d.screenY||0):(this.offsetX=Lb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Lb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:$d[a.pointerType]||"";this.state=a.state;this.Rd=a;a.defaultPrevented&&Zd.xc.preventDefault.call(this)};Zd.prototype.stopPropagation=function(){Zd.xc.stopPropagation.call(this);this.Rd.stopPropagation?this.Rd.stopPropagation():this.Rd.cancelBubble=!0};Zd.prototype.preventDefault=function(){Zd.xc.preventDefault.call(this);var a=this.Rd;a.preventDefault?a.preventDefault():a.returnValue=!1};var ae="closure_listenable_"+(1E6*Math.random()|0);function be(a){return!(!a||!a[ae])};var ce=0;function de(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Ix=e;this.key=++ce;this.Vs=this.ux=!1}function ee(a){a.Vs=!0;a.listener=null;a.proxy=null;a.src=null;a.Ix=null};function fe(a){this.src=a;this.zd={};this.st=0}fe.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.zd[f];a||(a=this.zd[f]=[],this.st++);var h=ge(a,b,d,e);-1<h?(b=a[h],c||(b.ux=!1)):(b=new de(b,this.src,f,!!d,e),b.ux=c,a.push(b));return b};fe.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.zd))return!1;var e=this.zd[a];b=ge(e,b,c,d);return-1<b?(ee(e[b]),Ua(e,b),0==e.length&&(delete this.zd[a],this.st--),!0):!1};
function he(a,b){var c=b.type;if(!(c in a.zd))return!1;var d=Ta(a.zd[c],b);d&&(ee(b),0==a.zd[c].length&&(delete a.zd[c],a.st--));return d}function ie(a){var b=0,c;for(c in a.zd){for(var d=a.zd[c],e=0;e<d.length;e++)++b,ee(d[e]);delete a.zd[c];a.st--}}fe.prototype.As=function(a,b,c,d){a=this.zd[a.toString()];var e=-1;a&&(e=ge(a,b,c,d));return-1<e?a[e]:null};function ge(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Vs&&f.listener==b&&f.capture==!!c&&f.Ix==d)return e}return-1};var je="closure_lm_"+(1E6*Math.random()|0),ke={},le=0;function me(a,b,c,d,e){if(d&&d.once)return ne(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)me(a,b[f],c,d,e);return null}c=oe(c);return be(a)?a.Ag.add(String(b),c,!1,la(d)?!!d.capture:!!d,e):pe(a,b,c,!1,d,e)}
function pe(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=la(e)?!!e.capture:!!e,g=qe(a);g||(a[je]=g=new fe(a));c=g.add(b,c,d,h,f);if(c.proxy)return c;d=re();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ud||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(se(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");le++;return c}
function re(){function a(c){return b.call(a.src,a.listener,c)}const b=te;return a}function ne(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)ne(a,b[f],c,d,e);return null}c=oe(c);return be(a)?a.Ag.add(String(b),c,!0,la(d)?!!d.capture:!!d,e):pe(a,b,c,!0,d,e)}function ue(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)ue(a,b[f],c,d,e);else d=la(d)?!!d.capture:!!d,c=oe(c),be(a)?a.Ag.remove(String(b),c,d,e):a&&(a=qe(a))&&(b=a.As(b,c,d,e))&&ve(b)}
function ve(a){if("number"===typeof a||!a||a.Vs)return!1;var b=a.src;if(be(b))return he(b.Ag,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(se(c),d):b.addListener&&b.removeListener&&b.removeListener(d);le--;(c=qe(b))?(he(c,a),0==c.st&&(c.src=null,b[je]=null)):ee(a);return!0}function we(a){if(a)if(be(a))a.Ag&&ie(a.Ag);else if(a=qe(a)){var b=0,c;for(c in a.zd)for(var d=a.zd[c].concat(),e=0;e<d.length;++e)ve(d[e])&&++b}}
function se(a){return a in ke?ke[a]:ke[a]="on"+a}function te(a,b){if(a.Vs)a=!0;else{b=new Zd(b,this);var c=a.listener,d=a.Ix||a.src;a.ux&&ve(a);a=c.call(d,b)}return a}function qe(a){a=a[je];return a instanceof fe?a:null}var xe="__closure_events_fn_"+(1E9*Math.random()>>>0);function oe(a){if("function"===typeof a)return a;a[xe]||(a[xe]=function(b){return a.handleEvent(b)});return a[xe]};function ye(){Pd.call(this);this.Ag=new fe(this);this.hU=this;this.xE=null}va(ye,Pd);ye.prototype[ae]=!0;n=ye.prototype;n.addEventListener=function(a,b,c,d){me(this,a,b,c,d)};n.removeEventListener=function(a,b,c,d){ue(this,a,b,c,d)};
n.dispatchEvent=function(a){var b,c=this.xE;if(c)for(b=[];c;c=c.xE)b.push(c);c=this.hU;var d=a.type||a;if("string"===typeof a)a=new Td(a,c);else if(a instanceof Td)a.target=a.target||c;else{var e=a;a=new Td(d,c);Cc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Ss&&0<=f;f--){var h=a.currentTarget=b[f];e=ze(h,d,!0,a)&&e}a.Ss||(h=a.currentTarget=c,e=ze(h,d,!0,a)&&e,a.Ss||(e=ze(h,d,!1,a)&&e));if(b)for(f=0;!a.Ss&&f<b.length;f++)h=a.currentTarget=b[f],e=ze(h,d,!1,a)&&e;return e};
n.Ue=function(){ye.xc.Ue.call(this);this.Ag&&ie(this.Ag);this.xE=null};function ze(a,b,c,d){b=a.Ag.zd[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.Vs&&h.capture==c){var g=h.listener,k=h.Ix||h.src;h.ux&&he(a.Ag,h);e=!1!==g.call(k,d)&&e}}return e&&!d.defaultPrevented}n.As=function(a,b,c,d){return this.Ag.As(String(a),b,c,d)};let Ae=0;function Be(a,b){if(a.mf&&a.mf[b]){var {DD:c,Io:d,context:e,priority:f}=a.mf[b];c.removeHandler(d,e,f);delete a.mf[b]}else Ga("unknown handler key")}function De(a){return void 0!==a.displayObject?a.displayObject():a}function x(a,b,c,d,e=null,f=!1){a.nc=a.nc||[];if(Array.isArray(c)){const h=[];for(const g of c)c=me(De(b),g,d,f,e),h.push(c);a.nc.push(h)}else b=me(De(b),c,d,f,e),a.nc.push(b)}function Ee(a,b,c,d,e){a.nc=a.nc||[];b=ne(De(b),c,d,!1,e);a.nc.push(b)}
function Fe(a,b,c,d,e){if(Array.isArray(c)){let f=!1;for(const h of c)f=Fe(a,b,h,d,e)||f;return f}b=De(b);d=oe(d);c=be(b)?b.As(c,d,!1,e):b?(b=qe(b))?b.As(c,d,!1,e):null:null;return!!c&&Ge(a,c)}function Ge(a,b){if(Array.isArray(b)){let c=!1;for(const d of b)c=Ge(a,d)||c;return c}Ta(a.nc,b);return ve(b)}function y(a,b,c,d,e){a.mf=a.mf||{};b.addHandler(c,d,e);const f=++Ae;a.mf[f]={DD:b,Io:c,context:d,priority:e}}
function He(a,b,c,d){const e=wc(a.mf,f=>{a:{var h={DD:b,Io:c,context:d,priority:void 0};for(const g in f)if(!(g in h)||f[g]!==h[g]){f=!1;break a}for(const g in h)if(!(g in f)){f=!1;break a}f=!0}return f});e&&Be(a,e)}function Ie(a,b,c,d){const e=(...f)=>{c.apply(d,f);He(a,b,e,d)};y(a,b,e,d)}function Je(a,b){if(b){if(a.mf){var c=qc(a.mf,d=>d.DD.qJ==b);for(const d of Object.keys(c))Be(a,d)}if(a.nc){const d=De(b);c=Ma(a.nc,e=>e.src==d);for(const e of c)Ge(a,e)}}}
function Ke(a,b){a.mj=a.mj||[];a.mj.push(b);return b}function Le(a,...b){if(a.mj)for(const c of b)c&&(a.Qm(c),b=Ia(a.mj,c),0<=b&&(a.mj.splice(b,1),Me(c)))}function Ne(a,...b){for(const c of b)c&&a.Qm(c)}class Oe{constructor(){this.mj=this.mf=this.nc=null}ze(){this.od();if(this.mj)for(const a of this.mj)Me(a);if(this.nc){for(const a of this.nc)if(Array.isArray(a))for(const b of a)ve(b);else ve(a);this.nc=null}if(this.mf)for(const a of Object.keys(this.mf))Be(this,a)}Qm(a){Je(this,a)}od(){}};function Pe(a,b){return 0==b?a.wo:a.Vl[b]}function Qe(a,b){return 0==b?a.wo||[]:b in a.Vl?Pe(a,b):[]}function Re(a){if(!a.Vl)return a.wo?a.wo.slice():[];const b=[],c=a.Xv;for(let d=0;d<c.length;++d){const e=Pe(a,c[d]);e&&Ya(b,e)}return b}
class Se{constructor(){this.wo=this.Vl=this.Xv=null}push(a,b){if(0==b)this.wo=this.wo||[];else if(this.Xv=this.Xv||[0],this.Vl=this.Vl||{},!(b in this.Vl)){this.Vl[b]=[];var c=this.Xv;var d=cb;let e=0,f=c.length,h;for(;e<f;){const g=e+(f-e>>>1);let k;k=d(b,c[g]);0<k?e=g+1:(f=g,h=!k)}d=h?e:-e-1;0>d&&Za(c,-(d+1),0,b)}Pe(this,b).push(a)}remove(a,b){(b=Pe(this,b))&&Ta(b,a)}};function Te(a){return a.Ie?Re(a.Ie).length:0}
class B extends Oe{constructor(a=null){super();this.tJ=this.Ie=null;this.qJ=a}$U(){return this.qJ}addHandler(a,b,c){this.Ie=this.Ie||new Se;this.Ie.push({Io:a,context:b},c||0)}removeHandler(a,b,c){c=c||0;if(this.Ie){var d=Qe(this.Ie,c),e=d.length;for(let f=0;f<e;++f){const h=d[f];if(h.Io==a&&h.context==b){(a=Pe(this.Ie,c))&&Ua(a,f);break}}}else Ga("EventDispatcher has no handlers!")}ZD(a,b,c){if(!this.Ie)return!1;c=Qe(this.Ie,c||0);const d=c.length;for(let e=0;e<d;++e){const f=c[e];if(f.Io==a&&f.context==
b)return!0}return!1}D(...a){if(this.Ie){const b=Re(this.Ie),c=b.length;for(let d=0;d<c;++d){const e=b[d];if(-1!=Ia(Re(this.Ie),e))try{e.Io.apply(e.context,arguments)}catch(f){Ue(f,!0)}}}this.tJ&&this.tJ.forEach(b=>{b.D(...a)})}od(){super.od()}}B.prototype.dispatch=B.prototype.D;B.prototype.hasHandler=B.prototype.ZD;B.prototype.removeHandler=B.prototype.removeHandler;B.prototype.addHandler=B.prototype.addHandler;B.prototype.eventOwner=B.prototype.$U;var Ve=vb(),We=Ab()||ub("iPod"),Xe=ub("iPad"),Ye=zb(),Ze=yb(),$e=wb()&&!Bb();function af(){var a=window.location.search.substr(1);if(a){var b={};a=a.split("&");for(let e=0;e<a.length;++e){const f=a[e].split("=");if(2==f.length){try{var c=decodeURIComponent(f[0].replace(/\+/g," "))}catch(h){c=f[0]}try{var d=decodeURIComponent(f[1].replace(/\+/g," "))}catch(h){d=f[1]}c=c.toLowerCase();b[c]=d}}}else b={};return b};(function(){function a(b){try{return b.ISPlayer&&(window.ISPlayer=b.ISPlayer),b.ISPVideoPlayer&&(window.ISPVideoPlayer=b.ISPVideoPlayer),b.ISPQuizPlayer&&(window.ISPQuizPlayer=b.ISPQuizPlayer),b.ISPInteractionPlayerCore&&(window.ISPInteractionPlayerCore=b.ISPInteractionPlayerCore),b.ISPBookPlayer&&(window.ISPBookPlayer=b.ISPBookPlayer),b.ISPScenarioPlayer&&(window.ISPScenarioPlayer=b.ISPScenarioPlayer),b.ISPFlipPlayer&&(window.ISPFlipPlayer=b.ISPFlipPlayer),!0}catch(c){return!1}}if(function(){let b;
try{b=window.frameElement}catch(c){}return null!=b}()){let b=window,c=7;for(;b&&b.parent!=b&&0!=c--&&!a(b.parent);)b=b.parent}})();var bf;const cf=af().user_agent;bf=cf?cf:tb()||"";var df=Xe||We,ef="1"==af().small_screen,ff="1"==af().tablet_screen,gf;let hf;try{hf=window.top.location.href?window.frameElement:null}catch(a){}gf=null!=hf;var jf=We&&gf;function kf(){const a=bf.toLowerCase();return-1!=a.indexOf("android")||-1!=a.indexOf("mobile")||-1!=a.indexOf("wpdesktop")||ef||ff}
function lf(){if(ef)return new bd(document.documentElement.clientWidth,document.documentElement.clientHeight);if(mf&&Fb)return new bd(screen.width,screen.height);var a=void 0!==window.devicePixelRatio?window.devicePixelRatio:1;return nf?new bd(screen.width/a,screen.height/a):mf?df&&(a=Math.max(screen.width,screen.height),document.documentElement.clientWidth>a)?new bd(Math.max(document.documentElement.clientWidth,a),Math.max(document.documentElement.clientHeight,Math.min(screen.width,screen.height))):
new bd(screen.width,screen.height):new bd(screen.width*a,screen.height*a)}var rf=-1!=bf.toLowerCase().indexOf("chrome"),sf=Lb&&!rf,tf=-1!=bf.indexOf("CriOS"),uf=-1==bf.toLowerCase().indexOf("windows phone")&&-1!=bf.toLowerCase().indexOf("android"),mf=kf(),vf=mf&&(kf()?"ontouchstart"in window||void 0!==window.DocumentTouch&&document instanceof window.DocumentTouch||-1!=bf.toLowerCase().indexOf("touch"):!1);let wf="";if(df){const a=/CPU.+OS\s(\d+)_(\d+)/.exec(bf);wf=a?a[1]+"."+a[2]:""}
var xf=parseInt(wf,10),yf=df&&6>=xf,zf=df&&7<=xf,Af=df&&8<=xf,Bf=df&&9<=xf,Cf=df&&10<=xf,Df=df&&12<=xf,Ef=Fb&&"9."==Ub.substr(0,2),Gf=Ff&&Fb,nf=uf&&!rf&&!Ve&&!Eb,Hf=-1!=bf.indexOf("ismobile"),If=Hf&&We,Jf=Hf&&uf,Kf;if(Kf=!window._ispringFullsizeSkin){var Lf;if(!(Lf=ef))if(window._ispringFullsizeSkin)Lf=!1;else{var Mf=lf();Lf=(We||700>Math.min(Mf.width,Mf.height))&&!ff}Kf=Lf}var Ff=Kf,Nf=void 0!==window.ISPlayer,Of=Nf&&Ff,Pf=mf&&!Nf,Qf=!1,Rf=df||Gf||uf||vf;
const Sf=document.createElement("audio"),Tf=Sf.play&&Sf.play();Tf&&Tf.then(()=>{Sf.pause()},a=>{if(0<a.toString().indexOf("interact with the document first")||(sf||Ve)&&0<a.toString().indexOf("possibly because the user denied permission"))Qf=!0});af();af();var Uf=!mf&&(Fb||Gb||rf);function Vf(){return 1==window._ispringDebug||"1"==af().isdebug}function Wf(){const a=Ff;window._ispringNoneMobile=mf||a;window._ispringFullsizeSkin=!0;Of=Ff=!1}setTimeout(function(){Xf=Vf},0);function Yf(a,b){ye.call(this);this.To=a||1;this.ot=b||fa;this.oM=ua(this.hX,this);this.QM=Date.now()}va(Yf,ye);n=Yf.prototype;n.enabled=!1;n.Ig=null;n.setInterval=function(a){this.To=a;this.Ig&&this.enabled?(this.stop(),this.start()):this.Ig&&this.stop()};n.hX=function(){if(this.enabled){var a=Date.now()-this.QM;0<a&&a<.8*this.To?this.Ig=this.ot.setTimeout(this.oM,this.To-a):(this.Ig&&(this.ot.clearTimeout(this.Ig),this.Ig=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
n.start=function(){this.enabled=!0;this.Ig||(this.Ig=this.ot.setTimeout(this.oM,this.To),this.QM=Date.now())};n.stop=function(){this.enabled=!1;this.Ig&&(this.ot.clearTimeout(this.Ig),this.Ig=null)};n.Ue=function(){Yf.xc.Ue.call(this);this.stop();delete this.ot};function Zf(a,b,c){if("function"===typeof a)c&&(a=ua(a,c));else if(a&&"function"==typeof a.handleEvent)a=ua(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:fa.setTimeout(a,b||0)};var $f={},ag=null,bg=Ib||Lb||"function"==typeof fa.btoa;
function cg(a){if(bg)var b=fa.btoa(a);else{b=[];for(var c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}a=void 0;void 0===a&&(a=0);dg();a=$f[a];c=Array(Math.floor(b.length/3));d=a[64]||"";let l=0;for(e=0;l<b.length-2;l+=3){var f=b[l],h=b[l+1],g=b[l+2],k=a[f>>2];f=a[(f&3)<<4|h>>4];h=a[(h&15)<<2|g>>6];g=a[g&63];c[e++]=""+k+f+h+g}k=0;g=d;switch(b.length-l){case 2:k=b[l+1],g=a[(k&15)<<2]||d;case 1:b=b[l],c[e]=""+a[b>>2]+a[(b&3)<<4|k>>4]+g+d}b=c.join("")}return b}
function eg(a){var b=[];fg(a,function(c){b.push(c)});return b}function fg(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),m=ag[l];if(null!=m)return m;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}dg();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),g=c(64);if(64===g&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=g&&b(h<<6&192|g))}}
function dg(){if(!ag){ag={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$f[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===ag[f]&&(ag[f]=e)}}}};function gg(a){this.jy=a}function hg(a,b){const c=[];ig(a,b,c);return c.join("")}
function ig(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");var e="";for(var f=0;f<b;f++)c.push(e),e=d[f],ig(a,a.jy?a.jy.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),jg(d,c),c.push(":"),ig(a,a.jy?a.jy.call(b,d,e):e,c),f=","));c.push("}");
return}}switch(typeof b){case "string":jg(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var kg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},lg=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;
function jg(a,b){b.push('"',a.replace(lg,function(c){let d=kg[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),kg[c]=d);return d}),'"')};function mg(){return Lb?"Webkit":Ib?"Moz":Fb?"ms":null}function ng(a,b){if(b&&a in b)return a;var c=mg();return c?(c=c.toLowerCase(),a=c+md(a),void 0===b||a in b?a:null):null};function og(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}n=og.prototype;n.clone=function(){return new og(this.top,this.right,this.bottom,this.left)};n.contains=function(a){return this&&a?a instanceof og?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
n.expand=function(a,b,c,d){la(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};n.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
n.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};n.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
n.translate=function(a,b){a instanceof Vc?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};n.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};function pg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}n=pg.prototype;n.clone=function(){return new pg(this.left,this.top,this.width,this.height)};n.contains=function(a){return a instanceof Vc?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};n.IM=function(){return new bd(this.width,this.height)};
function qg(a){return new Vc(a.left+a.width/2,a.top+a.height/2)}n.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};n.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
n.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};n.translate=function(a,b){a instanceof Vc?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};n.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};function E(a,b,c){if("string"===typeof b)(b=rg(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=rg(c,d);f&&(c.style[f]=e)}}var sg={};function rg(a,b){var c=sg[b];if(!c){var d=ld(b);c=d;void 0===a.style[d]&&(d=mg()+md(d),void 0!==a.style[d]&&(c=d));sg[b]=c}return c}function tg(a,b){var c=pd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}
function ug(a,b){return tg(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function vg(a,b,c){if(b instanceof Vc){var d=b.x;b=b.y}else d=b,b=c;a.style.left=wg(d,!1);a.style.top=wg(b,!1)}function xg(a){return new Vc(a.offsetLeft,a.offsetTop)}function yg(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}
function zg(a){var b=pd(a),c=new Vc(0,0);var d=b?pd(b):document;d=!Fb||9<=Number(bc)||"CSS1Compat"==nd(d).Qd.compatMode?d.documentElement:d.body;if(a==d)return c;a=yg(a);d=nd(b).Qd;b=d.scrollingElement?d.scrollingElement:Lb||"CSS1Compat"!=d.compatMode?d.body||d.documentElement:d.documentElement;d=d.parentWindow||d.defaultView;b=Fb&&Zb("10")&&d.pageYOffset!=b.scrollTop?new Vc(b.scrollLeft,b.scrollTop):new Vc(d.pageXOffset||b.scrollLeft,d.pageYOffset||b.scrollTop);c.x=a.left+b.x;c.y=a.top+b.y;return c}
function Ag(a,b){a=Bg(a);b=Bg(b);return new Vc(a.x-b.x,a.y-b.y)}function Bg(a){if(1==a.nodeType)return a=yg(a),new Vc(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new Vc(a.clientX,a.clientY)}function Cg(a,b,c){if(b instanceof bd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Dg(a,b);Eg(a,c)}function wg(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Eg(a,b){a.style.height=wg(b,!0)}function Dg(a,b){a.style.width=wg(b,!0)}
function Fg(a){var b=Gg;if("none"!=ug(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}function Gg(a){var b=a.offsetWidth,c=a.offsetHeight,d=Lb&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=yg(a),new bd(a.right-a.left,a.bottom-a.top)):new bd(b,c)}
function Hg(a){var b=a.style;a="";"opacity"in b?a=b.opacity:"MozOpacity"in b?a=b.MozOpacity:"filter"in b&&(b=b.filter.match(/alpha\(opacity=([\d.]+)\)/))&&(a=String(b[1]/100));return""==a?a:Number(a)}function I(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function Lg(a,b){a.style.display=b?"":"none"}function Mg(a){return new bd(a.offsetWidth,a.offsetHeight)}
function Ng(a,b){var c=a.currentStyle?a.currentStyle[b]:null;if(c)if(/^\d+px?$/.test(c))a=parseInt(c,10);else{b=a.style.left;var d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=c;c=a.style.pixelLeft;a.style.left=b;a.runtimeStyle.left=d;a=+c}else a=0;return a}
function Og(a){if(Fb){var b=Ng(a,"marginLeft"),c=Ng(a,"marginRight"),d=Ng(a,"marginTop");a=Ng(a,"marginBottom");return new og(d,c,a,b)}b=tg(a,"marginLeft");c=tg(a,"marginRight");d=tg(a,"marginTop");a=tg(a,"marginBottom");return new og(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function Pg(a){try{const b=w("iframe");E(b,{width:"1px",height:"1px",border:"0"});b.src=a;document.body.appendChild(b);Zf(()=>{Bd(b)},100)}catch(b){return!1}return!0}class Qg{constructor(a,b){this.Y=a;this.Uf=b||[]}id(){return ma(this)}Ho(){if(!Hf)return!1;var a=this.Y;var b=this.Uf;const c=this.id();b=hg(new gg(null),b);a="isplayer://"+a+"/"+c+"/"+cg(b);return Pg(a)}}q("iSpring.ios.mobile.MobileAppCommand",Qg);function Rg(a,b){b||(b={});var c=window;if(a instanceof jc)var d=a;else d="undefined"!=typeof a.href?a.href:String(a),d instanceof jc||(d="object"==typeof d&&d.So?d.No():String(d),mc.test(d)?d=new jc(d,ic):(d=String(d),d=d.replace(/(%0A|%0D)/g,""),d=d.match(lc)?new jc(d,ic):null)),d=d||oc;var e=void 0!==self.crossOriginIsolated,f="strict-origin-when-cross-origin";window.Request&&(f=(new Request("/")).referrerPolicy);const h="unsafe-url"===f;f=b.noreferrer;if(e&&f){if(h)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");
f=!1}a=b.target||a.target;e=[];for(var g in b)switch(g){case "width":case "height":case "top":case "left":e.push(g+"="+b[g]);break;case "target":case "noopener":case "noreferrer":break;default:e.push(g+"="+(b[g]?1:0))}g=e.join(",");if(Bb()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a){b=w("A");a:{try{var k=b&&b.ownerDocument,l=k&&(k.defaultView||k.parentWindow);l=l||fa;if(l.Element&&l.Location){var m=l;break a}}catch(r){}m=null}if(m&&"undefined"!=typeof m.HTMLAnchorElement&&(!b||!(b instanceof
m.HTMLAnchorElement)&&(b instanceof m.Location||b instanceof m.Element))){if(la(b))try{var p=b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b)}catch(r){p="<object could not be stringified>"}else p=void 0===b?"undefined":null===b?"null":typeof b;Ga("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLAnchorElement",p)}m=d instanceof jc?d:nc(d);b.href=kc(m);b.target=a;f&&(b.rel="noreferrer");m=document.createEvent("MouseEvent");m.initMouseEvent("click",
!0,!0,c,1);b.dispatchEvent(m);c={}}else f?(c=Rc("",c,a,g),b=kc(d),c&&(Hb&&-1!=b.indexOf(";")&&(b="'"+b.replace(/'/g,"%27")+"'"),c.opener=null,""===b&&(b="javascript:''"),b=Hc('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+cd(b)+'">'),(m=c.document)&&m.write&&(m.write(Ec(b)),m.close()))):((c=Rc(d,c,a,g))&&b.noopener&&(c.opener=null),c&&b.noreferrer&&(c.opener=null));return c};function Sg(a){this.length=a.length||a;for(let b=0;b<this.length;b++)this[b]=a[b]||0}Sg.prototype.BYTES_PER_ELEMENT=4;Sg.prototype.set=function(a,b){b=b||0;for(let c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};Sg.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(Sg.BYTES_PER_ELEMENT=4,Sg.prototype.BYTES_PER_ELEMENT=Sg.prototype.BYTES_PER_ELEMENT,Sg.prototype.set=Sg.prototype.set,Sg.prototype.toString=Sg.prototype.toString,q("Float32Array",Sg));function Tg(a){this.length=a.length||a;for(let b=0;b<this.length;b++)this[b]=a[b]||0}Tg.prototype.BYTES_PER_ELEMENT=8;Tg.prototype.set=function(a,b){b=b||0;for(let c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};Tg.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{Tg.BYTES_PER_ELEMENT=8}catch(a){}Tg.prototype.BYTES_PER_ELEMENT=Tg.prototype.BYTES_PER_ELEMENT;Tg.prototype.set=Tg.prototype.set;Tg.prototype.toString=Tg.prototype.toString;q("Float64Array",Tg)};function Ug(){return new Float32Array(3)}function Vg(){const a=Array(3);Wg(a,0,0,0);return a}function Wg(a,b,c,d){a[0]=b;a[1]=c;a[2]=d;return a}function Xg(a,b,c){c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2]}function Yg(a,b){var c=Vg();c[0]=a[0]*b;c[1]=a[1]*b;c[2]=a[2]*b;return c}function Zg(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}function $g(a,b,c){const d=a[0],e=a[1];a=a[2];const f=b[0],h=b[1];b=b[2];c[0]=e*b-a*h;c[1]=a*f-d*b;c[2]=d*h-e*f;return c};function ah(){const a=Array(4);bh(a,0,0,0,0);return a}function bh(a,b,c,d,e){a[0]=b;a[1]=c;a[2]=d;a[3]=e}function ch(a,b,c){c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];c[3]=a[3]-b[3]};function dh(a,b,c){const d=b[3],e=b[0],f=b[1];b=b[2];c[0]=e*a[0]+f*a[4]+b*a[8]+d*a[12];c[1]=e*a[1]+f*a[5]+b*a[9]+d*a[13];c[2]=e*a[2]+f*a[6]+b*a[10]+d*a[14];c[3]=e*a[3]+f*a[7]+b*a[11]+d*a[15]}function eh(a,b,c,d){var e=a[1]*b+a[5]*c+a[9]*d+a[13],f=a[2]*b+a[6]*c+a[10]*d+a[14],h=a[3]*b+a[7]*c+a[11]*d+a[15];a[12]=a[0]*b+a[4]*c+a[8]*d+a[12];a[13]=e;a[14]=f;a[15]=h}
function fh(a,b){const c=a[4],d=a[5],e=a[6],f=a[7],h=a[8],g=a[9],k=a[10],l=a[11],m=Math.cos(b);b=Math.sin(b);a[4]=c*m+h*b;a[5]=d*m+g*b;a[6]=e*m+k*b;a[7]=f*m+l*b;a[8]=c*-b+h*m;a[9]=d*-b+g*m;a[10]=e*-b+k*m;a[11]=f*-b+l*m}function gh(a,b){const c=a[0],d=a[1],e=a[2],f=a[3],h=a[8],g=a[9],k=a[10],l=a[11],m=Math.cos(b);b=Math.sin(b);a[0]=c*m+h*-b;a[1]=d*m+g*-b;a[2]=e*m+k*-b;a[3]=f*m+l*-b;a[8]=c*b+h*m;a[9]=d*b+g*m;a[10]=e*b+k*m;a[11]=f*b+l*m}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);
new Float64Array(4);new Float64Array(16);function hh(a,b){for(let c=0;c<b.length;++c)if(void 0!==a.style[b[c]])return b[c];throw Error("browser doesn't support css style "+b[0]);}function J(a,b){const c=hh(a,["transform","webkitTransform","msTransform","MozTransform","OTransform"]);E(a,c,b)}function ih(a,b){const c=hh(a,["transformOrigin","webkitTransformOrigin","msTransformOrigin","MozTransformOrigin","OTransformOrigin"]);E(a,c,b)}
function jh(a,b){const c=hh(a,["transformStyle","webkitTransformStyle","msTransformStyle","MozTransformStyle","OTransformStyle"]);E(a,c,b)}function kh(a,b){const c=hh(a,["perspective","webkitPerspective","msPerspective","MozPerspective","OPerspective"]);E(a,c,b)}function lh(a,b){const c=hh(a,["perspectiveOrigin","webkitPerspectiveOrigin","msPerspectiveOrigin","MozPerspectiveOrigin","OPerspectiveOrigin"]);E(a,c,b)}
function mh(a,b){const c=hh(a,["backfaceVisibility","webkitBackfaceVisibility","msBackfaceVisibility","MozBackfaceVisibility","OBackfaceVisibility"]);E(a,c,b)};let nh;function oh(a){a instanceof Zd&&(a=a.Rd);nh||(nh=new WeakMap);return nh.has(a)}function ph(a){a instanceof Zd&&(a=a.Rd);return a.defaultPrevented?!0:oh(a)};function qh(a,b,c,d){c=c||0;const e=Array.prototype.slice.call(arguments,3);return setTimeout(()=>{a.apply(b||null,e)},c)}function rh(){return mf&&!nf?"about:blank":""}function sh(a,b){Hf?(new Qg("openWindow",[a])).Ho():Rg(a,b?{target:b}:void 0)}function th(a){if(!a)return!1;for(;a;){if("A"==a.nodeName.toLocaleUpperCase())return!0;a=a.parentNode}return!1}function uh(a){return a&&"VIDEO"==a.nodeName&&a.controls}
function vh(a){const b=vd("script",{type:"text/javascript",charset:"UTF-8"});document.body.appendChild(b);b.src=a;return b}function wh(){return 0==window.location.href.indexOf("file:")}function xh(){const a=vd("DIV");try{kh(a,"100px")}catch(b){return!1}return!0}function yh(){let a;try{const b=vd("CANVAS");a=b.getContext("webgl")||b.getContext("experimental-webgl")}catch(b){}return a?!0:!1};var zh,Ah=nd().Qd.documentElement;zh=Ah.requestFullscreen?"fullscreenchange":Ah.webkitRequestFullscreen?"webkitfullscreenchange":Ah.mozRequestFullScreen?"mozfullscreenchange":Ah.msRequestFullscreen?"MSFullscreenChange":"fullscreenchange";function Bh(){var a=nd().Qd;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};class Ch{constructor(){this.zP=new B;me(document,zh,()=>{this.zP.D(Bh())},!1,this)}};function Dh(){}Dh.prototype.JF=!1;Dh.prototype.preventAction=function(){this.JF=!0};Dh.prototype.preventAction=Dh.prototype.preventAction;Dh.prototype.actionPrevented=function(){return this.JF};Dh.prototype.actionPrevented=Dh.prototype.actionPrevented;class Eh{constructor(a,b,c,d,e){this.Zv=a;this.cK=b;this.Yv=c;this.NF=d;this.LL=e}quizState(){return this.cK}quizPassed(){return this.Yv}allowRetakeQuiz(){return this.NF}pt(){return{type:this.Zv,state:this.cK,passed:this.Yv,retake:this.NF,attempts:this.LL}}}
function Fh(a){const b=a.quiz().isGraded()?"graded":"survey";var c=a.currentSession();if(c){const d=c.evaluation();c=c.sessionMode();const e=a.usedAttemptsCount();let f=!1,h=!1;d&&(f=d.quizPassed(),h=a.allowRetakeQuiz());return new Eh(b,c,f,h,e)}return new Eh(b,null,!1,a.allowRetakeQuiz(),0)};function Gh(a){return"graded"==a.Zv?a.quizPassed():Hh(a)}function Hh(a){a=a.quizState();return"completed"==a||"reviewing"==a};const Ih={z_:"resumePlayback",nZ:"gotoSlide",DY:"delayStartup"};class Jh{constructor(a,b){this.Bc=a;this.Y=b}src(){return this.Bc}type(){return this.Y}};function Kh(){const a=w("AUDIO");a.setAttribute("preload","metadata");return a}let Lh=[],Mh=[];
if(window.ismediacreator)Lh=window.ismediacreator[0],Mh=window.ismediacreator[1];else if(document.body){function a(c,d){const e=c.play();e&&e.catch(()=>{});c.pause();d.push(c)}function b(){if(30>Lh.length)for(var c=Lh.length;30>c;++c){var d=Kh();a(d,Lh)}if(30>Mh.length)for(c=Mh.length;30>c;++c)d=w("VIDEO"),d.setAttribute("preload","metadata"),Cf&&d.setAttribute("playsinline",""),a(d,Mh)}if(Pf){let c=!1;document.body.addEventListener("touchstart",()=>{c=!0});document.body.addEventListener("touchmove",
d=>{if(df||!d.defaultPrevented)c=!1});document.body.addEventListener("touchend",d=>{!1!==d.isTrusted&&c&&b()})}else Fb||Gb||document.body.addEventListener("mouseup",()=>b());window.ismediacreator=[Lh,Mh]}function Nh(){return Lh&&Lh.length?Lh.shift():Kh()};class Oh{constructor(a,b,c){this.lb=a;this.kq=b;this.ra=c}id(){return this.lb}Ve(){return this.kq}wc(){return this.ra}If(){return!1}sources(){const a=[],b=this.kq.match(/<source.+?>/g);if(b)for(let d=0;d<b.length;++d){var c=b[d];const e=c.match(/src="([^"]+)"/)[1];c=c.match(/type="([^"]+)"/)[1];a.push(new Jh(e,c))}return a}};class Ph extends Oh{constructor(a,b,c,d){super(a,c,d);this.tO=b}ik(){return this.tO}};const Qh={HX:"activated",CY:"deactivated",BF:"buffering"};q("NarrationTrackPlaybackState$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$narration$NarrationTrackPlaybackState",Qh);q("ACTIVATED","activated",Qh);q("DEACTIVATED","deactivated",Qh);q("BUFFERING","buffering",Qh);function Rh(a,b){a.qe!=b&&(a.qe=b,a.FJ.D(a))}class Sh{constructor(a,b,c){this.qg=a;this.Zz=b;this.ye=null!=c?c:1;this.qe="deactivated";this.FJ=new B}startTimestamp(){return this.qg}endTimestamp(){return this.Zz}volume(){return this.ye}playbackState(){return this.qe}playbackStateChangedEvent(){return this.FJ}}Sh.prototype.playbackStateChangedEvent=Sh.prototype.playbackStateChangedEvent;Sh.prototype.playbackState=Sh.prototype.playbackState;Sh.prototype.endTimestamp=Sh.prototype.endTimestamp;
Sh.prototype.startTimestamp=Sh.prototype.startTimestamp;class Th extends Sh{constructor(a,b,c,d){super(b,c,d);this.SF=a}audio(){return this.SF}wc(){return this.SF.wc()}}Th.prototype.audio=Th.prototype.audio;class Uh{timestamp(){}started(){}state(){}suspended(){}Td(){}buffering(){}pb(){}Gg(){}Fk(){}ob(){}bufferStateChangeEvent(){}sD(){}}q("IPresentationClock$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$clock$IPresentationClock",Uh);Uh.prototype.bufferStateChangeEvent=Uh.prototype.bufferStateChangeEvent;Uh.prototype.stateChangeEvent=Uh.prototype.ob;Uh.prototype.stopEvent=Uh.prototype.Fk;Uh.prototype.startEvent=Uh.prototype.Gg;
Uh.prototype.tickEvent=Uh.prototype.pb;Uh.prototype.buffering=Uh.prototype.buffering;Uh.prototype.running=Uh.prototype.Td;Uh.prototype.suspended=Uh.prototype.suspended;Uh.prototype.state=Uh.prototype.state;Uh.prototype.started=Uh.prototype.started;Uh.prototype.timestamp=Uh.prototype.timestamp;function K(a){const b=new B(a);Ke(a,b);return b}class Vh extends Oe{};function Wh(a){a:{if(a.Xu||a.$w||a.ex){if(!a.Mp){var b=!0;break a}}else if(a.Mp){b=!0;break a}b=!1}b&&(a.Mp=!a.Mp,Xh(a.ga,a.Mp,a.vg))}
class Yh{constructor(a,b){this.vg=a;this.ga=b;this.Mp=this.qc=this.Cf=this.ex=this.$w=this.Xu=this.jI=!1}get Ux(){return this.jI}set Ux(a){this.jI=a}get Mi(){return this.Xu}set Mi(a){this.Xu!=a&&(this.Xu=a,Wh(this))}get Ik(){return this.$w}set Ik(a){this.$w!=a&&(this.$w=a,Wh(this))}get Ap(){return this.ex}set Ap(a){this.ex!=a&&(this.ex=a,Wh(this))}get qp(){return this.Cf}set qp(a){this.Cf!=a&&(this.Cf=a,Zh(this.ga,this.Cf,this.vg))}get playing(){return this.qc}set playing(a){this.qc=a}get zU(){return!this.Ik&&
!this.Ap}get yU(){return!this.Mi&&!this.qp}get isBuffering(){return this.Mi||this.qp||this.Ik}};function $h(a){a.ra.loaded()||a.Pw.Ap||(y(a,a.ra.Ew,a.Dw,a),a.Pw.Ap=!0)}class ai extends Vh{constructor(a,b,c){super();this.ra=a;this.xa=b;this.Pw=c;this.AC=""}Dw(){this.Pw.Ap&&(He(this,this.ra.Ew,this.Dw,this),this.Pw.Ap=!1)}};function bi(a){const b=a.Ow.wc();b&&(a.ra=new ai(b,a.xa,a.R));ci(a)}function di(a){const b=a.xa.src();a=a.IJ;if(b)for(let c=0;c<a.length;++c)if(hb(b,a[c].src()))return!0;return!1}function ei(a){di(a)||a.SC();a.xa.qs()&&a.sv()}function fi(a){a.R.Ux=!1;a.sv();let b;null!=(b=a.ra)&&b.Dw()}function ci(a){a.xa.mp(!!a.ra);null!=(a=a.ra)&&(""==a.AC&&a.ra.loaded()&&(a.AC=URL.createObjectURL(new Blob([a.ra.content()],{type:"text/plain"}))),a.xa.wF(a.AC))}
class gi extends Vh{constructor(a,b,c,d,e){super();this.Ow=a;this.xa=b;this.IJ=c;this.R=new Yh(this,d);this.ra=null;this.ld=K(this);this.Oe=K(this);this.xa.Ah(e.playbackRate());y(this,e.hi,()=>this.xa.Ah(e.playbackRate()));y(this,this.xa.Oe,f=>this.Oe.D(f));bi(this)}yd(){return 1==this.xa.Qx()}isBuffering(){return this.R.isBuffering}Gw(a){this.R.qp||this.R.Mi||(this.R.qp=!0,this.oT=a,a=1E3*(a-this.xa.currentTime())+500,this.hL=setTimeout(this.IK.bind(this),a),y(this,this.xa.Ac,this.jG,this))}IK(){clearTimeout(this.hL);
this.hL=void 0;He(this,this.xa.Ac,this.jG,this);this.R.playing||this.xa.pause();this.R.qp=!1}jG(){.1>this.oT-this.xa.currentTime()&&this.IK()}preload(a){const b=di(this);b||this.R.Ux||(this.R.Ux=!0,setTimeout(()=>{ei(this);this.xa.ready()||this.xa.load()},300));if(a){this.xa.qs()&&b||this.R.Ik||(this.R.Ik=!0,y(this,this.xa.hj,this.sv,this));let c;null!=(c=this.ra)&&$h(c)}}sv(){this.R.Ik&&(He(this,this.xa.hj,this.sv,this),this.R.Ik=!1)}activate(){Rh(this.Ow,"activated");y(this,this.xa.ob(),this.LI,
this)}deactivate(){Rh(this.Ow,"deactivated");He(this,this.xa.ob(),this.LI,this);let a;null!=(a=this.ra)&&a.Dw();this.R.Mi=!1;this.R.Ik=!1;this.R.playing=!1;this.xa.pause()}yh(a,b){if(!this.R.Mi||b){ei(this);ci(this);var c=a-this.xa.currentTime(),d=b?.01:.5;c>d&&!b&&!this.R.Mi?this.Gw(a):Math.abs(c)>d&&this.xa.PD(a);this.R.playing&&!this.xa.playing()&&this.xa.play()}}play(a){!this.R.playing&&this.R.zU&&(this.yh(a,!this.xa.playing()),this.R.playing=!0,this.xa.play())}pause({force:a=!1}={}){this.R.playing&&
(this.R.playing=!1,(a||this.R.yU)&&this.xa.pause())}LI(){var a="buffering"==this.xa.state();this.R.Mi!=a&&(Rh(this.Ow,a?"buffering":"activated"),(this.R.Mi=a)||this.R.playing||this.xa.pause(),this.ld.D())}SC(){this.xa.jf(this.IJ)}};class hi extends gi{constructor(a,b,c,d){super(a,b,a.audio().sources(),c,d);this.Mk=b}};class ii{constructor(a,b){this.Mk=a;this.Xb=b}mk(a,b){return new hi(a,this.Mk,b,this.Xb)}};class ji{constructor(){this.kh=[]}get JN(){return this.kh}count(){return this.kh.length}Bs(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.kh[a]}}ji.prototype.getTrack=ji.prototype.Bs;ji.prototype.count=ji.prototype.count;class ki extends ji{GM(a){return this.Bs(a)}dM(a){this.kh.push(a)}qb(){const a=[];for(let b=0;b<this.count();++b)a.push(this.GM(b));return a}}ki.prototype.addAudioTrack=ki.prototype.dM;ki.prototype.getAudioTrack=ki.prototype.GM;function li(a){return mi(a)&&a.mediaElement().readyState>=HTMLMediaElement.HAVE_METADATA}function ni(a){var b=(b=a.Pc)?b.error?"error":b.ended?"ended":oi(a)?"paused":a.fj?"buffering":"playing":"disposed";const c=a.R;c!=b&&(a.R=b,a.Vj.D(a,c))}function oi(a){return a.If()?a.mediaElement().paused:!a.qc}function mi(a){return!!a.Pc&&!a.Pc.error&&void 0!==a.Pc.play}function pi(a){a.Op&&(clearInterval(a.Op),a.Op=void 0)}function qi(a){0>a.Np&&(a.Np=setInterval(a.NO.bind(a),500))}
function ri(a){0<a.Np&&(clearInterval(a.Np),a.Np=-1)}
class si{constructor(a){this.Pc=a;this.Md=null;this.R="paused";this.fj=this.Cl=this.qc=this.se=!1;this.Mh=this.Tn=-1;this.uG=0;this.Np=-1;this.Hz=0;this.Bc=this.Op=this.ll=void 0;this.Ih=!1;this.Vj=new B;this.lI=new B;this.Ac=new B;this.WH=new B;this.vr=new B;this.fD=new B;this.YA=new B;this.hj=new B;this.Kj=new B;this.UR=new B;this.hi=new B;this.Oe=new B;me(a,"play",this.qB,!1,this);me(a,"playing",this.En,!1,this);me(a,"pause",this.En,!1,this);me(a,"seeking",this.tB,!1,this);me(a,"ended",this.En,
!1,this);me(a,"waiting",this.En,!1,this);me(a,"timeupdate",this.Fn,!1,this);me(a,"progress",this.KI,!1,this);me(a,"loadeddata",this.KI,!1,this);me(a,"canplaythrough",this.mB,!1,this);li(this)||me(a,"loadedmetadata",this.bR,!1,this);(this.se=a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA)||ne(a,"canplay",this.sB,!1,this);ni(this)}mediaElement(){if(!this.Pc)throw Error("media player was disposed");return this.Pc}state(){return this.R}playbackRate(){return this.Pc.playbackRate}Ah(a){this.Pc&&a!=this.playbackRate()&&
(this.Pc.playbackRate=a,this.Pc.defaultPlaybackRate=a,this.hi.D())}ready(){return mi(this)&&this.se}pq(){const a=this.Ih;var b=this.mediaElement().getAttribute("preload");b=b&&"metadata"!=b?Ve?HTMLMediaElement.HAVE_CURRENT_DATA:HTMLMediaElement.HAVE_FUTURE_DATA:HTMLMediaElement.HAVE_METADATA;Ve&&this.mediaElement().readyState>=HTMLMediaElement.HAVE_CURRENT_DATA&&!this.se?this.sB():(this.Ih=this.se&&mi(this)&&this.mediaElement().readyState>=b,!this.Ih&&mf&&1==this.mediaElement().networkState&&1==this.XP&&
(this.Ih=!0,this.UR.D(this)),this.Ih||this.ll?this.Ih&&(clearInterval(this.ll),this.ll=void 0):this.ll=setInterval(this.pq.bind(this),2E3),!a&&this.Ih&&this.hj.D(this),this.XP=this.mediaElement().networkState)}qs(){this.pq();return this.Ih}mB(){this.pq()}playing(){return this.qc}play(){if(mi(this)){this.qc=!0;df&&"VIDEO"==this.mediaElement().tagName&&this.src()&&!this.mediaElement().src&&(this.mediaElement().src=this.src());const a=this.mediaElement().play();a&&a.catch(b=>window.console.log(b));if(zf){const b=
this.mediaElement().currentTime;let c=0;clearInterval(this.Op);this.Op=setInterval(()=>{++c;this.mediaElement().currentTime<b?(this.mediaElement().currentTime=b,pi(this)):3<c&&pi(this)},0)}qi(this)}}xk(a){mi(this)&&(this.seek(a),this.play())}pause(){mi(this)&&(this.qc=!1,ri(this),this.mediaElement().pause(),0!=this.Cl&&(this.Cl=!1))}stop(){pi(this);if(mi(this)){this.qc=!1;ri(this);0!=this.Cl&&(this.Cl=!1);const a=this.mediaElement();a.pause();if(2==a.networkState){const b=this.src();a.src="";a.src=
b}this.En();li(this)&&0<a.currentTime?a.currentTime=0:this.Tn=-1;this.Mh=-1}}vD(){!this.Bc&&this.src()&&(this.Bc=this.src(),this.Pc.src="about:blank")}OE(){this.Bc&&(this.mediaElement().src=this.Bc,this.Bc=void 0)}seek(a){pi(this);li(this)?(this.Hz=this.mediaElement().currentTime=a,this.Tn=-1):this.Tn=mi(this)?a:-1;this.Mh=-1}PD(a){this.seek(a)}currentTime(){return this.ready()?this.mediaElement().currentTime:mi(this)?Math.max(this.Tn,0):0}duration(){return li(this)?this.mediaElement().duration:0}volume(){return mi(this)?
this.mediaElement().volume:1}setVolume(a){df?this.Ni(!a):mi(this)&&(a=Tc(a,0,1),this.mediaElement().volume!=a&&(this.mediaElement().volume=a,this.fD.D(this)))}muted(){return mi(this)&&this.mediaElement().muted}Ni(a){if(mi(this)){const b=this.mediaElement();b.muted!=a&&(b.muted=a,this.YA.D(this))}}Qx(){if(li(this)){const a=this.duration();let b=0;const c=this.mediaElement().buffered;for(let d=0;d<c.length;++d)b+=c.end(d)-c.start(d);return Math.round(1E3*Tc(0<a?b/a:0,0,1))/1E3}return 0}ze(){mi(this)&&
(we(this.Md),this.Md=null,we(this.Pc),ri(this),this.ll&&(clearInterval(this.ll),this.ll=void 0),this.Pc&&(this.Pc.src=""),this.Pc=null,ni(this))}reset(){this.pause();this.seek(0)}ob(){return this.Vj}stateChangedEvent(){return this.ob()}GE(){return this.Ac}TN(){return this.fD}readyEvent(){return this.Kj}sB(){ni(this);this.se=!0;ti.D(this);this.Kj.D(this);if(0<this.Tn){const a=this.Mh;this.seek(this.Tn);this.Mh=a}this.pq()}En(){const a=this.mediaElement();if(oi(this)||a.ended)a.ended&&a.pause(),this.qc=
!1,ri(this);ni(this)}qB(){1!=this.Cl&&(this.Cl=!0);this.En();qi(this)}bR(){this.lI.D(this)}Fn(){const a=this.currentTime();this.uG!=a&&(this.Ac.D(this),this.uG=a)}KI(){this.WH.D(this)}tB(){this.vr.D(this)}NO(){if(this.Ih)if(this.qc&&this.mediaElement().paused&&!this.mediaElement().ended&&!this.If()&&this.mediaElement().play(),1==this.mediaElement().networkState)this.fj&&(this.fj=!1,ni(this));else if(this.Cl){var a=this.mediaElement(),b=this.currentTime();let c=!1;oi(this)||a.ended||b!=this.Hz||(c=
!0);!yf&&!c&&0<this.Mh&&(1<Math.abs(this.Mh-b)?(c=!0,a.currentTime=this.Mh):this.Mh=-1);this.Hz=b;a=this.mediaElement().buffered;if(yf&&a&&c)for(b=0;b<a.length;++b){const d=a.start(b),e=a.end(b);if(this.currentTime()>=d&&e>=Math.min(this.currentTime()+5,this.duration())){c=!1;this.mediaElement().paused&&this.mediaElement().play();break}}this.fj!=c&&(this.fj=c,ni(this))}}nk(a){this.mediaElement().controls=a}If(){return this.mediaElement().controls||We}jf(a){if(this.Pc&&this.Pc.play){if("string"!==
typeof a)a:{Array.isArray(a)||(a=[a]);for(let c=0;c<a.length;++c){const d=a[c];var b=d;const e=this.mediaElement();if(e.canPlayType&&e.canPlayType(b.type())){a=d.src();break a}}a=null}if(a)return b=this.mediaElement(),a!=b.src&&(this.playing()&&this.pause(),this.Mh=-1,this.se&&(this.se=!1,ne(b,"canplay",this.sB,!1,this)),b.src=a,ni(this),this.pq()),!0}return!1}src(){const a=this.mediaElement();return mi(this)?a.src||a.currentSrc:""}mp(a){!!this.Md!=a&&(this.Md&&(we(this.Md),this.Md.remove(),this.Md=
null),a&&(this.Md=document.createElement("track"),this.Md.kind="captions",this.Md.default=!0,me(this.Md,"cuechange",b=>{b=Array.from(b.target.track.activeCues);this.Oe.D(b.map(c=>c.text))}),this.mediaElement().append(this.Md)))}wF(a){this.Md&&this.Md.src!=a&&(this.Md.src=a)}}var ti=new B;class ui extends si{constructor(a){super(a);this.zq=0;this.uA=!1}qB(){this.uA?this.uA=!1:super.qB()}tB(){super.tB();this.zq=Date.now()}Fn(){super.Fn();if(this.ready()&&nf){var a=100>Date.now()-this.zq;this.playing()||a||(this.uA=!0,a=this.mediaElement(),a.play(),a.pause())}}};function vi(a){y(a,a.B.ob(),a.Al,a);y(a,a.B.Ac,a.hR,a);y(a,a.B.vr,a.iR,a);y(a,a.B.hj,a.mB,a);y(a,a.B.Oe,b=>a.Oe.D(b))}function wi(a,b){a.B!=b&&(b.setVolume(a.B.volume()),b.Ni(a.B.muted()),Ne(a,a.B),a.B=b,vi(a))}function xi(a){a.zq=Date.now();a.kC=!0}
class yi extends Vh{constructor(a){super();this.B=a;this.qc=this.wa=!1;this.zq=-1;this.kC=!1;this.Vj=K(this);this.Ac=K(this);this.ld=K(this);this.vr=K(this);this.qo=K(this);this.hj=K(this);this.Fp=K(this);this.Oe=K(this);this.B.setVolume(1);this.B.Ni(!1);vi(this)}Ad(){return this.B}activate(){this.wa||(this.wa=!0,this.Fp.D(this,!0))}deactivate(){this.wa&&(this.wa=!1,this.Fp.D(this,!1))}state(){return this.B.state()}Qx(){return this.B.Qx()}ready(){return this.B.ready()}playing(){return this.B.playing()}buffering(){return"buffering"==
this.B.state()}qs(){return this.B.qs()}load(){const a=this.B.mediaElement();Eb||uf||zf&&!Af?(a.play(),a.pause()):a.load()}play(){this.qc=!0;this.B.play()}xk(a){this.qc=!0;xi(this);this.B.xk(a)}pause(){this.qc=!1;this.B.pause()}stop(){this.qc=!1;xi(this);this.B.stop()}seek(a){xi(this);this.B.seek(a)}PD(a){xi(this);this.B.PD(a)}currentTime(){return this.B.currentTime()}duration(){return this.B.duration()}volume(){return this.B.volume()}setVolume(a){this.B.setVolume(a)}muted(){return this.B.muted()}Ni(a){this.B.Ni(a)}nk(a){this.B.nk(a)}If(){return this.B.If()}src(){return this.B.src()}jf(a){return this.B.jf(a)}mp(a){this.B.mp(a)}wF(a){this.B.wF(a)}playbackRate(){return this.B.playbackRate()}Ah(a){this.B.Ah(a)}ob(){return this.Vj}GE(){return this.Ac}Al(a,
b){this.Vj.D(this,b);const c=a.state();(this.qc&&"paused"==c||!this.qc&&"playing"==c)&&this.qo.D(this,this.qc?"pause":"play");this.qc=a.playing();"buffering"!=c&&"buffering"!=b||this.ld.D(this)}hR(){this.Ac.D(this)}iR(){this.vr.D(this);500<Date.now()-this.zq&&this.B.If()&&this.qo.D(this,"seek");this.kC=!1}mB(){this.kC&&xi(this);this.hj.D(this)}};class zi extends yi{constructor(a){super(new ui(a))}};class Ai{constructor(a){this.Xb=a}mk(a,b){var c=Nh();c=new zi(c);return new hi(a,c,b,this.Xb)}};function Bi(a,b){if(a.length==b.length){const c=a.length;for(let d=0;d<c;++d)if(a[d]!=b[d])return!1}else return!1;return!0}function Ci(a,b){var c=c||fb;const d=[];for(let e=0,f=a.length;e<f;++e){const h=a[e];let g=!1;for(let k=0,l=b.length;k<l;++k)if(c(h,b[k])){g=!0;break}g||d.push(h)}return d};const Di={s0:"started",iO:"suspended",BF:"buffering",t0:"stopped",E_:"rewinding"};q("PresentationClockState$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$clock$PresentationClockState",Di);q("STARTED","started",Di);q("SUSPENDED","suspended",Di);q("BUFFERING","buffering",Di);q("STOPPED","stopped",Di);q("REWINDING","rewinding",Di);function Gi(a,b){return a.slideIndex()!=b.slideIndex()?a.slideIndex()-b.slideIndex():a.stepIndex()!=b.stepIndex()?a.stepIndex()-b.stepIndex():a.timeOffset()-b.timeOffset()}class Hi{constructor(a,b,c){this.zb=a||0;this.Lr=b||0;this.Re=c||0}slideIndex(){return this.zb}stepIndex(){return this.Lr}timeOffset(){return this.Re}}Hi.prototype.timeOffset=Hi.prototype.timeOffset;Hi.prototype.stepIndex=Hi.prototype.stepIndex;Hi.prototype.slideIndex=Hi.prototype.slideIndex;function Zh(a,b,c){const d=a.buffering(),e=a.lo.indexOf(c);b?0>e&&a.lo.push(c):0<=e&&a.lo.splice(e,1);Ii(a);a.buffering()!=d&&a.iz.D(a);a.jz.D(a)}function Xh(a,b,c){const d=a.buffering(),e=a.Pm.indexOf(c);b?0>e&&a.Pm.push(c):0<=e&&a.Pm.splice(e,1);Ii(a);a.buffering()!=d&&a.iz.D(a);a.jz.D(a)}function Ji(a,b){return a.ti||a.fj(b)||a.Cf(b)}function Ii(a){let b="stopped";a.si&&(b=a.ti?"suspended":a.buffering()?"buffering":a.gw?"rewinding":"started");a.R!=b&&(a.R=b,a.Vj.D(a))}
function Ki(a,b){a.ti!=b&&(a.ti=b,Ii(a))}
class Li{constructor(){var a=-1,b,c,d;this.si=this.gw=this.ti=!1;void 0==a&&(a=0);void 0==b&&(b=0);void 0==c&&(c=0);void 0==d&&(d="stopped");this.vd=new Hi(a,b,c);this.R=d;this.Pm=[];this.lo=[];this.Yj=new B;this.Aw=new B;this.Cw=new B;this.Vj=new B;this.iz=new B;this.jz=new B}timestamp(){return this.vd}started(){return this.si}Td(){return this.si&&!Ji(this)}state(){return this.R}suspended(){return this.ti}buffering(){return this.fj()||this.Cf()}clock(){return this}start(a){void 0===a&&(a=!1);this.si&&
this.gw==a?Ki(this,!1):(this.gw=a,this.si=!0,this.ti=!1,Ii(this),this.Aw.D(this))}stop(){this.si&&(this.si=this.gw=!1,Ii(this),this.Cw.D(this))}Ee(a,b,c,d){this.vd=new Hi(a,b,c);this.Yj.D(this,!!d)}pb(){return this.Yj}Gg(){return this.Aw}Fk(){return this.Cw}ob(){return this.Vj}bufferStateChangeEvent(){return this.iz}sD(){return this.jz}fj(a){return 1<this.Pm.length||1==this.Pm.length&&this.Pm[0]!=a}Cf(a){return 1<this.lo.length||1==this.lo.length&&this.lo[0]!=a}}
Li.prototype.bufferedObjectChangeEvent=Li.prototype.sD;Li.prototype.bufferStateChangeEvent=Li.prototype.bufferStateChangeEvent;Li.prototype.stateChangeEvent=Li.prototype.ob;Li.prototype.stopEvent=Li.prototype.Fk;Li.prototype.startEvent=Li.prototype.Gg;Li.prototype.tickEvent=Li.prototype.pb;Li.prototype.clock=Li.prototype.clock;Li.prototype.buffering=Li.prototype.buffering;Li.prototype.suspended=Li.prototype.suspended;Li.prototype.state=Li.prototype.state;Li.prototype.running=Li.prototype.Td;
Li.prototype.started=Li.prototype.started;Li.prototype.timestamp=Li.prototype.timestamp;class Mi{zg(){}duration(){}startTime(){}}q("IAnimationStep$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$slides$IAnimationStep",Mi);Mi.prototype.startTime=Mi.prototype.startTime;Mi.prototype.duration=Mi.prototype.duration;Mi.prototype.automaticAdvance=Mi.prototype.zg;class Ni{constructor(a,b){this.Lt=a;this.fQ=b}Zl(){return this.Lt}loop(){return this.fQ}};class Oi{count(){}Za(){}duration(){}getTime(){}}q("IAnimationSteps$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$slides$IAnimationSteps",Oi);Oi.prototype.getTime=Oi.prototype.getTime;Oi.prototype.duration=Oi.prototype.duration;Oi.prototype.getStep=Oi.prototype.Za;Oi.prototype.count=Oi.prototype.count;class Pi{}q("IMetaCommand$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$meta$IMetaCommand",Pi);Pi.prototype.params=Pi.prototype.params;Pi.prototype.name=Pi.prototype.name;class Ri{}q("IMetaCommands$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$meta$IMetaCommands",Ri);Ri.prototype.count=Ri.prototype.count;Ri.prototype.getMetaCommand=Ri.prototype.VD;let Si=0;class Ti{constructor(a,b){this.Tg=a;this.Ab=b;this.lb=`${Si++}`}name(){return this.Tg}time(){return this.Ab}id(){return this.lb}};function Ui(a,b){if(0>b||b>=a.count())throw Error();return a.Pk[b]}class Vi{constructor(){this.Pk=[]}count(){return this.Pk.length}add(a){this.Pk.push(a)}};class Wi{constructor(a,b,c){this.Y=a;this.qg=b;this.hh=c}type(){return this.Y}startTimestamp(){return this.qg}Ce(){return this.hh}};class Xi{constructor(){this.tb=[]}count(){return this.tb.length}};class Yi{constructor(a,b,c){this.TO=a;this.qg=b;this.Zz=c}startTimestamp(){return this.qg}endTimestamp(){return this.Zz}};function Zi(a){if(0>=a.count())throw Error("index is out of range");return a.Ke[0]}function $i(a,b){for(let c=0;c<a.Ke.length;++c){const d=a.Ke[c];if(0<=Gi(b,d.startTimestamp())&&0>Gi(b,d.endTimestamp()))return d}return null}class aj{constructor(a){this.Ke=a}count(){return this.Ke.length}};function bj(a,b,c){c&&!cj(a,b,c)&&(c=null);c||(c=dj(a,b));a.Ke.push(new Yi(b,b.startTimestamp(),c))}function cj(a,b,c){a=dj(a,b);return 0<=Gi(a,c)}
function dj(a,b){const c=a.Vb;var d=c.fh,e=c.wf,f=null;if("number"===typeof d)f=c.duration(),f=f-(b.Ce()||0)+f*(d-1);else switch(d){case "untilNextClick":e=-1;break;case "untilNextSlide":e=Math.max(e,0)}b=b.startTimestamp();e=0>e?new Hi(b.slideIndex(),b.stepIndex()+1,0):new Hi(b.slideIndex()+e+1,-1,0);d=null;null!==f&&(a=a.K,b=a.Ii(b,!0,!1),f=Math.min(b+f,a.duration()),d=a.Ao(f,!0,!1));return d&&0>Gi(d,e)?d:e}
class ej{constructor(a,b){this.Vb=a;this.K=b;this.Ke=[];a=this.Vb.tb;b=null;for(let e=0;e<a.count();++e){var c=a,d=e;if(0>d||d>=c.count())throw Error("index is out of range");c=c.tb[d];d=c.startTimestamp();switch(c.type()){case "play":b&&bj(this,b,d);b=c;break;case "togglePlay":b&&cj(this,b,d)?(bj(this,b,d),b=null):(b&&bj(this,b),b=c);break;case "stop":b&&(bj(this,b,d),b=null)}}b&&bj(this,b)}uD(){return new aj(this.Ke)}};function fj(a,b){a.Ke||(a.Ke=(new ej(a,b)).uD());return a.Ke}class gj{constructor(a,b,c){this.lb=a;this.Mg=b;this.$=c;this.wf=-1;this.ye=this.fh=1;this.Pk=new Vi;this.tb=new Xi;this.Ke=null}id(){return this.lb}asset(){return this.Mg}duration(){return this.$}volume(){return this.ye}setVolume(a){this.ye=a}Hf(){return this.Pk}};class hj extends gj{constructor(a,b,c){super(a,b,c);this.pn=!1}};class ij{}q("ISlideShowTransition$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$slides$ISlideShowTransition",ij);ij.prototype.duration=ij.prototype.duration;ij.prototype.effectType=ij.prototype.effectType;function jj(a,b){if(0>b||b>=a.ql.length)throw Error("index is out of range");return a.ql[b]}function kj(a,b){for(let c=0;c<a.ql.length;++c){const d=a.ql[c];if(d.id()==b)return d}return null}class lj{constructor(){this.ql=[]}add(a){this.ql.push(a)}count(){return this.ql.length}qb(){return this.ql}};class mj{constructor(a,b,c){this.DJ=a;this.JB=null!=b?b:0;this.Nk=void 0!==c?c:!0;this.zf=0}animationDuration(){return this.DJ}zg(){return this.Nk}duration(){return this.DJ+this.JB}startTime(){return this.zf}cF(a){this.zf=a}}mj.prototype.startTime=mj.prototype.startTime;mj.prototype.duration=mj.prototype.duration;mj.prototype.automaticAdvance=mj.prototype.zg;class nj{constructor(){this.$=0;this.Mr=[]}add(a){a.cF(this.$);this.Mr.push(a);this.$+=a.duration()}count(){return this.Mr.length}Za(a){if(0>a||a>=this.Mr.length)throw Error("stepIndex is out of range");return this.Mr[a]}duration(){return this.$}getTime(a,b){return this.Za(a).startTime()+b}}nj.prototype.getTime=nj.prototype.getTime;nj.prototype.duration=nj.prototype.duration;nj.prototype.getStep=nj.prototype.Za;nj.prototype.count=nj.prototype.count;class oj{constructor(a,b){this.FB=null;this.Tg=a;this.FB=b||null}name(){return this.Tg}params(){return this.FB?Ac(this.FB):null}}oj.prototype.params=oj.prototype.params;oj.prototype.name=oj.prototype.name;class pj{constructor(){this.tb=[]}VD(a){if(0>a||a>=this.count())throw Error("index is out of bounds");return this.tb[a]}count(){return this.tb.length}}pj.prototype.count=pj.prototype.count;pj.prototype.getMetaCommand=pj.prototype.VD;function qj(a,b){a.xI=b}function rj(a,b){a.XJ=b}class sj{constructor(){this.xI=this.XJ=null}Oi(){return this.xI}fp(){return this.XJ}};class tj{constructor(){this.sI={}}YM(a){return u(this.sI,a,!0)}}tj.prototype.navigationActionIsEnabled=tj.prototype.YM;class uj{constructor(a,b,c,d){this.Zc=null;this.mu=a;this.$=b;this.Zc=c||null;this.cL=d||!1}effectType(){return this.mu}duration(){return this.$}sound(){return this.Zc}clone(){return new uj(this.mu,this.$,this.Zc,this.cL)}}uj.prototype.duration=uj.prototype.duration;uj.prototype.effectType=uj.prototype.effectType;class vj{constructor({id:a,Bk:b,Dh:c,tF:d,oh:e,rotation:f,slides:h,sp:g}){this.lb=a;this.tS=b;this.LS=c;this.ET=d;this.zc=e;this.qT=g;this.Rn=f%360;180<this.Rn&&(this.Rn-=360);this.Rn=this.Rn*Math.PI/180;h.sort((k,l)=>k-l);this.K=h}id(){return this.lb}sp(){return this.qT}ia(){return this.zc}duration(){return this.ET}slides(){return this.K}Bk(){return this.tS}Dh(){return this.LS}rotation(){return this.Rn}};function wj(a,b){return Oa(a.He,c=>c.id()==b)}function xj(a,b){return Oa(a.He,c=>!!c.slides().length&&c.slides()[0]==b)}function yj(a){let b=[];for(var c of a.He)b=b.concat(c.slides());if(!b.length)return!0;b.sort((d,e)=>d-e);a=b[0];for(c=0;c<b.length;c++)if(b[c]!=a+c)return!0;return!1}class zj{constructor(){this.He=[]}};function Aj(a,b){a.Zw!=b&&(a.Zw=b,a.UL.D(a.index()))}
class Bj{constructor(a){this.Gm=new nj;this.Y=a;this.zf=0;this.lb="";this.TL=this.Rg=-1;this.Ec=!0;this.LH=!1;this.Bc=null;this.Pe=this.Sl="";this.Nk=!1;this.Hp=!0;this.gd=null;this.gT=new lj;this.Vw=new lj;this.lL=null;this.bB=0;this.Zw=this.pf=!1;this.UL=new B;this.qQ=new pj;this.QJ=null;this.LO=new sj;this.$A=new tj;this.eU=new zj;this.Kp=null}va(){return this.Gm}type(){return this.Y}id(){return this.lb}vN(a){this.lb=a}index(){return this.Rg}visibleIndex(){if(!this.Ec)throw Error("slide is hidden");return this.TL}visible(){return this.Ec}pa(a){this.Ec=
a}yd(){return this.LH}src(){return this.Bc}title(){return this.Sl}dF(a){this.Sl=a}slideNotes(){return this.BQ}zg(){return this.Nk}transition(){return this.gd}duration(){const a=this.gd.duration();return this.Gm.duration()+a}sb(){return this.gT}Fb(){return this.Vw}Fy(){return this.lL}startTime(){return this.zf}cF(a){this.zf=a}hs(){return this.Hp}nestingLevel(){return this.bB}text(){return this.Pe}hm(){return this.qQ}qW(){return this.QJ}Te(){return this.LO}im(){return this.$A}Tf(){return this.eU}completed(){return this.pf}Iy(){return this.Zw}persistState(){return{completed:this.pf,
visited:this.Zw}}Di(a){this.pf=u(a,"completed",!1);Aj(this,u(a,"visited",!1))}Ao(a,b){if(isNaN(a))throw Error("NaN time not accepted");if(0>a)throw Error("negative time not accepted");let c=0;b&&null!=this.transition()&&(b=this.transition().duration(),b<a?a-=b:c=-1);if(0==c){for(b=this.va();c<b.count();++c){const d=b.Za(c);if(d.duration()>=a)break;a-=d.duration()}if(c==b.count())if(.001>=a)--c,a=b.Za(c).duration();else throw Error("time out of bounds");}return new Hi(this.index(),c,a)}}
Bj.prototype.convertTimeToTimestamp=Bj.prototype.Ao;Bj.prototype.zoomEffects=Bj.prototype.Tf;Bj.prototype.navigationSettings=Bj.prototype.im;Bj.prototype.presenter=Bj.prototype.qW;Bj.prototype.metaCommands=Bj.prototype.hm;Bj.prototype.text=Bj.prototype.text;Bj.prototype.nestingLevel=Bj.prototype.nestingLevel;Bj.prototype.startTime=Bj.prototype.startTime;Bj.prototype.thumbnail=Bj.prototype.Fy;Bj.prototype.duration=Bj.prototype.duration;Bj.prototype.transition=Bj.prototype.transition;
Bj.prototype.slideNotes=Bj.prototype.slideNotes;Bj.prototype.title=Bj.prototype.title;Bj.prototype.isLoaded=Bj.prototype.yd;Bj.prototype.visible=Bj.prototype.visible;Bj.prototype.visibleIndex=Bj.prototype.visibleIndex;Bj.prototype.index=Bj.prototype.index;Bj.prototype.id=Bj.prototype.id;Bj.prototype.type=Bj.prototype.type;Bj.prototype.animationSteps=Bj.prototype.va;function Cj(a,b){b.Rg=a.K.length;b.cF(a.duration());a.K.push(b);if(b.visible()){b.TL=a.Yw.length;a.Yw.push(b);const c=b.duration(),d=b.transition()?b.transition().duration():0;a.eD+=c;a.dD+=c-d}b.UL.addHandler(c=>{a.bT.D(c)},a)}
class Dj{constructor(){this.K=[];this.Yw=[];this.dD=this.eD=0;this.bT=new B}getSlide(a){if(0>a||a>=this.K.length)throw Error("slideIndex is out of range");return this.K[a]}count(){return this.K.length}duration(){if(0==this.count())return 0;const a=this.K[this.K.length-1];return a.startTime()+a.duration()}GU(a,b,c){return new Hi(a,b,c)}Ii(a,b,c){if(!a)throw Error("Invalid timestamp");var d=a.slideIndex();if(d>=this.count())throw Error("Slide index is out of bounds");if(0>d)return NaN;void 0===b&&(b=
!0);void 0===c&&(c=!0);let e=0;for(var f=0;f<d;++f){var h=this.K[f];if(!c||h.visible()){var g=h.transition();b&&(e+=g.duration());e+=h.va().duration()}}h=a.stepIndex();f=a.timeOffset();d=this.K[d];g=d.transition();if(!c||d.visible())if(0<=a.stepIndex()){b&&(e+=g.duration());a=d.va();if(h>=a.count())throw Error("stepIndex is out of bounds");a=a.Za(h);f>a.duration()&&(f=a.duration());e+=a.startTime()+f}else b&&(f>g.duration()&&(f=g.duration()),e+=f);return e}Ao(a,b,c){if(isNaN(a))throw Error("NaN time not accepted");
if(0>a)throw Error("negative time not accepted");let d=null;for(var e=0;e<this.count();++e)if(d=this.getSlide(e),!c||d.visible()){let h=d.va().duration();var f=d.transition();b&&(h+=f.duration());f=c?d.visibleIndex()==this.visibleSlidesCount()-1:d.index()==this.count()-1;if(h>=a||f&&.001>=a-h)break;a-=h}if(e==this.count()&&0<=a)throw Error("time out of bounds");c=0;b&&(b=d.transition().duration(),b<a?a-=b:c=-1);if(0==c){for(b=d.va();c<b.count();++c){e=b.Za(c);if(e.duration()>=a)break;a-=e.duration()}if(c==
b.count())if(.001>=a)--c,a=b.Za(c).duration();else throw Error("time out of bounds");}return new Hi(d.index(),c,a)}visibleSlidesCount(){return this.Yw.length}getVisibleSlide(a){if(0>a||a>=this.visibleSlidesCount())throw Error("Slide index is out of range");return this.Yw[a]}sX(){return this.eD}SN(){return this.dD}}Dj.prototype.visibleAnimationStepsDuration=Dj.prototype.SN;Dj.prototype.visibleSlidesDuration=Dj.prototype.sX;Dj.prototype.getVisibleSlide=Dj.prototype.getVisibleSlide;
Dj.prototype.visibleSlidesCount=Dj.prototype.visibleSlidesCount;Dj.prototype.convertTimeToTimestamp=Dj.prototype.Ao;Dj.prototype.convertTimestampToTime=Dj.prototype.Ii;Dj.prototype.createTimestamp=Dj.prototype.GU;Dj.prototype.duration=Dj.prototype.duration;Dj.prototype.count=Dj.prototype.count;Dj.prototype.getSlide=Dj.prototype.getSlide;function Ej(a,b){const c=Fj(a,b);fi(c);c.deactivate();Ne(a,c);a.yT.D(b);a.Oe.D(`${ma(b)}`,[])}function Fj(a,b){const c=`${ma(b)}`;c in a.MC||(a.MC[c]=a.zT.mk(b,a.ga));return a.MC[c]}function Gj(a,b,c){if(a.wa){b=Hj(a,b);for(let d=0;d<b.length;++d){const e=b[d];if(0<Gi(e.endTimestamp(),c)){Ij(a,e);break}}}}function Ij(a,b){if(a.wa){var c=a.J.started();Fj(a,b).preload(c)}}
function Hj(a,b){const c=[];for(let d=0;d<a.kh.length;++d){const e=a.kh[d];e.startTimestamp().slideIndex()<=b&&e.endTimestamp().slideIndex()>=b&&c.push(e)}return c}function Jj(a,b,c){c=Kj(a,c);const d=Kj(a,b.startTimestamp());a=Kj(a,b.endTimestamp())-d;return Tc(c-d,0,a)}function Kj(a,b){return a.K.Ii(b,!0,!1)}
class Lj extends Vh{constructor(a,b,c,d){super();this.K=a;this.J=b.clock();this.ga=b;this.zT=d;this.H=-1;this.Kq=void 0;this.wa=this.qz=!1;this.kh=this.yw(c);this.Wi=[];this.MC={};this.xT=K(this);this.yT=K(this);this.Oe=K(this);y(this,this.J.pb(),this.Oa,this);y(this,this.J.ob(),this.Dn,this)}activate(){this.wa=!0;this.Dn(this.J)}sm(a){this.Kq=a}xM(){this.Wi.forEach(a=>Ej(this,a));this.Wi=[]}yw(a){const b=[];for(let c=0;c<a.count();++c)b.push(a.Bs(c));bb(b,(c,d)=>Gi(c.startTimestamp(),d.startTimestamp()));
return b}uf(a,b){this.qz=!0;if(0<=this.H){const c=Hj(this,this.H);for(let d=0;d<c.length;++d){const e=c[d];(0>=Gi(e.endTimestamp(),b)||0<Gi(e.startTimestamp(),b))&&fi(Fj(this,e))}}Gj(this,a,b);this.H=a}Oa(a){var b=a.timestamp(),c=b.slideIndex();(a=this.H!=c)&&this.uf(c,b);if(c=this.qz){a:{c=Hj(this,this.H);for(var d=0;d<c.length;++d)if(!Fj(this,c[d]).yd()){c=!1;break a}c=!0}c&&(this.wa&&void 0!==this.Kq?(-1!=this.Kq&&(c=Hj(this,this.Kq),this.RB(c)),this.Kq=void 0,c=!0):c=!1)}c&&(this.qz=!1);b=this.vu(b);
if(!eb(b,this.Wi)){c=this.Wi;this.Wi=b;d=Ci(c,b);for(let e=0;e<d.length;++e)Ej(this,d[e]);c=Ci(b,c);for(d=0;d<c.length;++d)a||Ij(this,b[d]),this.Ep(c[d])}}isBuffering(){const a=Hj(this,this.J.timestamp().slideIndex());for(let b=0;b<a.length;++b)if(Fj(this,a[b]).isBuffering())return!0;return!1}pT(a){var b=Fj(this,a);a=Jj(this,a,this.J.timestamp());b.R.playing?.01<a-b.xa.currentTime()&&b.Gw(a):b.xa.seek(a)}Ep(a){var b=this.J.timestamp();b=Jj(this,a,b);const c=Fj(this,a);c.activate(b);this.xT.D(a);this.J.Td()&&
c.play(b);const d=this.pT.bind(this,a);qh(d,this,1E3);y(this,c.ld,()=>{c.isBuffering()||d()});y(this,c.Oe,e=>{this.Oe.D(`${ma(a)}`,e)})}Dn(a){if(this.wa){a.started()&&Gj(this,this.H,a.timestamp());var b=this.Wi;for(let e=0;e<b.length;++e){var c=b[e],d=Fj(this,c);a.si&&!Ji(a,d)?(d=c,c=this.J.timestamp(),c=Jj(this,d,c),Fj(this,d).play(c)):Fj(this,c).pause()}}}vu(a){const b=[];for(let c=this.kh.length-1;0<=c;--c){const d=this.kh[c];if(0<=Gi(a,d.endTimestamp()))break;0<=Gi(a,d.startTimestamp())&&b.push(d)}return b}yh(){if(this.wa){var a=
this.J.timestamp(),b=this.Wi;for(let d=0;d<b.length;++d){var c=b[d];const e=Fj(this,c);c=Jj(this,c,a);e.yh(c,!0)}}}activeTracks(){return Wa(this.Wi)}RB(a){if(!mf)for(let b=0;b<a.length;++b)Fj(this,a[b]).preload(!1)}}Lj.prototype.activeTracks=Lj.prototype.activeTracks;Lj.prototype.isBuffering=Lj.prototype.isBuffering;class Mj extends Lj{constructor(a,b,c,d,e){var f=Nh();f=new zi(f);super(a,b,c,mf?new ii(f,e):new Ai(e));this.Mk=f;this.Ld=d;d.Us().addHandler(this.lh,this);this.lh()}activate(){if(mf){const a=this.Mk.Ad().mediaElement();a.src=rh();a.play()}super.activate()}lh(){this.Mk.setVolume(this.Ld.Ts())}Ep(a){super.Ep(a);mf||(this.Mk=Fj(this,a).Mk,this.lh())}};class Nj{constructor(a,b,c){this.tG=this.ow=!1;this.TP=a;this.tG=b||!1;this.ow=c||!1}key(){return this.TP}xx(){return this.tG}shift(){return this.ow}};class Oj{constructor(a){this.Y=a;this.JK=[]}type(){return this.Y}wm(){return this.JK}};function Pj(a,b){if(0>b||b>=a.count())throw Error("actionIndex is out of range");return a.Ma[b]}class Qj{constructor(){this.Ma=[]}count(){return this.Ma.length}Od(a){this.Ma.push(a)}};class Rj{constructor(){this.Ra=!0;this.Ma=new Qj}enabled(){return this.Ra}kb(a){this.Ra=a}actions(){return this.Ma}};class Sj extends Oh{constructor(a,b,c,d,e,f){super(a,b,e);this.la=c;this.ha=d;this.Ln=f}mm(){return this.Ln}width(){return this.la}height(){return this.ha}If(){return this.kq.includes("controls")}};class Tj extends gj{constructor(a,b,c,d){super(a,b,c);this.zJ=d;this.CJ=this.rK=this.mH=!1}aE(){return this.mH}my(){return this.rK}zE(){return this.CJ}};class Uj{constructor({Kf:a,Ct:b}){this.Ed=a.concat();this.iD=b.concat()}Kf(){return this.Ed.concat()}Ct(){return this.iD.concat()}persistState(){const a={};a.indexes=this.Ed;a.zoomStates=this.iD;return a}xD(){return new Uj({Kf:this.Ed,Ct:this.iD})}};function Vj(a,b){return a.sa.querySelector(`#${b}`)}class Wj extends Vh{constructor(a,b){super();this.sa=a;this.mI=b}content(){return this.sa}HK(){}};function Xj(a,b,c){a.ga.Ee(a.slideIndex(),b,c,!0)}function Yj(a){a.Xx(a.Gm.count()-1)}function Zj(a){a.pause();Xj(a,0,0)}function ak(a){const b=a.ga.clock().timestamp();if(null==a.ka||b.slideIndex()!=a.slideIndex()||0>b.stepIndex())throw Error("playback controller not active");}function bk(a,b){b&&a.Dj!=b&&(a.Dj=b,a.zl())}
class ck{constructor(a,b,c){this.X=a;this.Z=b;this.ga=c;this.VJ=this.ka=null;this.Gm=a.va();this.zb=a.index();this.Dj=!1;this.Kr=new B;this.Ac=new B;this.Wj=new B}slide(){return this.X}view(){return this.Z}activate(a){this.ka=a;this.ga.clock().pb().addHandler(this.Oa,this)}deactivate(){this.ka=null;this.ga.clock().pb().removeHandler(this.Oa,this)}play(){this.ga.start()}pause(){this.ga.stop()}slideIndex(){return this.zb}mx(){}AD(){}Xx(a){const b=this.Gm.Za(a);this.pause();Xj(this,a,b.duration())}va(){return this.Gm}yx(){ak(this);
return this.ga.clock().timestamp().stepIndex()}zD(){ak(this);const a=this.va().Za(this.yx());return Math.min(a.duration(),this.ga.clock().timestamp().timeOffset())}KU(){ak(this);const a=this.va().Za(this.yx());return 0<a.duration()?this.zD()/a.duration():1}CE(){ak(this);let a=this.zD();const b=this.yx(),c=this.va();for(let d=0;d<b;++d)a+=c.Za(d).duration();return a}kN(){ak(this);const a=this.va().duration();return 0<a?this.CE()/a:1}Oa(){var a=this.ga.clock().timestamp();if(a.slideIndex()==this.slideIndex()&&
0<=a.stepIndex()){const b=this.VJ;this.VJ=a;const c=!b||b.stepIndex()!=a.stepIndex();a=!b||c||b.timeOffset()!=a.timeOffset();c&&this.Kr.D(this);a&&this.Ac.D(this)}}pp(){return this.Kr}GE(){return this.Ac}zl(){}Pq(){this.Wj.D(this.X)}stateChangedEvent(){return this.Wj}}ck.prototype.positionChangeEvent=ck.prototype.GE;ck.prototype.stepChangeEvent=ck.prototype.pp;ck.prototype.playbackProgress=ck.prototype.kN;ck.prototype.playbackPosition=ck.prototype.CE;ck.prototype.currentStepProgress=ck.prototype.KU;
ck.prototype.currentStepPosition=ck.prototype.zD;ck.prototype.currentStepIndex=ck.prototype.yx;ck.prototype.slide=ck.prototype.slide;const dk={i_:"slide",rZ:"interaction",s_:"quiz",Q_:"scenario"};q("SlideType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$slides$SlideType",dk);q("PRESENTATION_SLIDE","slide",dk);q("INTERACTION_SLIDE","interaction",dk);q("QUIZ_SLIDE","quiz",dk);q("SCENARIO_SLIDE","scenario",dk);class ek extends Bj{constructor(){super("interaction");this.rl=this.Ej=null;this.It=!1}cE(){return this.LP}Ri(){return this.Ej}gt(a){this.Ej=a}navigationType(){return this.rl}YE(a){this.rl=a}js(){return this.It}};class fk extends Wj{constructor({content:a,mode:b,interactionPlayer:c,js:d}){super(a,b);this.Fd=c;this.It=d}interactionPlayer(){return this.Fd}np(){return this.It||this.Fd.playerController().isCompleted()}};class gk extends ck{constructor(a,b,c){super(a,b,c);this.DA=!1;this.Fd=b.interactionPlayer()}interactionPlayer(){return this.Fd}activate(a){super.activate(a);this.DA||(this.DA=!0,this.Fd.start());this.Dj&&this.Fd.activate()}deactivate(){super.deactivate();this.Dj&&this.Fd.deactivate()}zl(){null!=this.ka&&this.DA&&this.Fd.activate()}};function hk(){}hk.prototype.next=function(){return ik};var ik={done:!0,value:void 0};function jk(a){return{value:a,done:!1}}hk.prototype.lf=function(){return this};function kk(a){if(a instanceof hk)return a;if("function"==typeof a.lf)return a.lf(!1);if(ja(a)){let b=0;const c=new hk;c.next=function(){for(;;){if(b>=a.length)return ik;if(b in a)return jk(a[b++]);b++}};return c}throw Error("Not implemented");}
function lk(a,b){if(ja(a))Ja(a,b);else for(a=kk(a);;){const {done:c,value:d}=a.next();if(c)break;b.call(void 0,d,void 0,a)}}function mk(a,b,c){let d=0,e=a,f=c||1;1<arguments.length&&(d=a,e=+b);if(0==f)throw Error("Range step argument must not be zero");const h=new hk;h.next=function(){if(0<f&&d>=e||0>f&&d<=e)return ik;const g=d;d+=f;return jk(g)};return h}function nk(a){if(ja(a))return Wa(a);a=kk(a);const b=[];lk(a,function(c){b.push(c)});return b};function ok(a){this.sa=a.content;this.XO=""==a.contentHover?a.content:a.contentHover;this.xe=a.url;this.la=a.width;this.ha=a.height;this.GT=a.up;this.WP=a.language;this.hP=a.Co;this.gP=a.Bo;this.iP=a.Do;this.jP=a.Eo}n=ok.prototype;n.content=function(){return this.sa};n.contentHover=function(){return this.XO};n.url=function(){return this.xe};n.width=function(){return this.la};n.height=function(){return this.ha};n.up=function(){return this.GT};n.language=function(){return this.WP};n.Co=function(){return this.hP};
n.Bo=function(){return this.gP};n.Do=function(){return this.iP};n.Eo=function(){return this.jP};class pk extends ok{};class qk{constructor(a,b,c){this.Tg=a;this.dQ=b;this.KT=[].concat(c)}name(){return this.Tg}localName(){return this.dQ}urls(){return this.KT}};class rk{constructor(){this.bM=!0}zF(){return this.bM}};class sk{constructor(){this.Ra=!0}enabled(){return this.Ra}kb(a){this.Ra=a}}sk.prototype.enabled=sk.prototype.enabled;class tk{constructor(){this.Hm={}}KD(a){return a in this.Hm}};class uk extends Sh{constructor(a,b,c,d){super(b,c,d);this.xi=a}video(){return this.xi}width(){return this.xi.width()}height(){return this.xi.height()}wc(){return this.xi.wc()}}uk.prototype.height=uk.prototype.height;uk.prototype.width=uk.prototype.width;uk.prototype.video=uk.prototype.video;class vk extends ji{JM(a){return this.Bs(a)}fM(a){this.kh.push(a)}qb(){const a=[];for(let b=0;b<this.count();++b)a.push(this.JM(b));return a}}vk.prototype.addVideoTrack=vk.prototype.fM;vk.prototype.getVideoTrack=vk.prototype.JM;class wk{constructor(){this.wO=new ki;this.ST=new vk}yg(){return this.wO}Fh(){return this.ST}}wk.prototype.videoTracks=wk.prototype.Fh;wk.prototype.audioTracks=wk.prototype.yg;class xk{constructor(){this.Zq=[]}count(){return this.Zq.length}HM(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.Zq[a]}iU(a){this.Zq.push(a)}}xk.prototype.getPresenter=xk.prototype.HM;xk.prototype.count=xk.prototype.count;class yk{constructor(a,b,c,d){this.Y=a;this.Sl=b;this.xe=c;this.vg=d}type(){return this.Y}title(){return this.Sl}url(){return this.xe}target(){return this.vg}navigate(a){Rg(this.xe,{target:a||this.vg})}}yk.prototype.navigate=yk.prototype.navigate;yk.prototype.target=yk.prototype.target;yk.prototype.url=yk.prototype.url;yk.prototype.title=yk.prototype.title;yk.prototype.type=yk.prototype.type;class zk{constructor(){this.Nn=[]}count(){return this.Nn.length}mV(a){if(0>a||a>=this.count())throw Error("index is out of range");return this.Nn[a]}qb(){return this.Nn}}zk.prototype.getReference=zk.prototype.mV;zk.prototype.count=zk.prototype.count;class Ak{constructor(){this.Nn=new zk}hp(){return this.Nn}}Ak.prototype.references=Ak.prototype.hp;class Bk{constructor(){this.Ra=!1}enabled(){return this.Ra}kb(a){this.Ra=a}};class Ck{constructor(){this.bA=!0}fitToWindow(){return this.bA}}Ck.prototype.fitToWindow=Ck.prototype.fitToWindow;const Dk={$Y:"free",y_:"restricted",T_:"sequential"};q("NavigationType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$settings$NavigationType",Dk);q("FREE","free",Dk);q("RESTRICTED","restricted",Dk);q("SEQUENTIAL","sequential",Dk);class Ek{constructor(){this.tQ=new sk;this.wq=new Rj;this.AP=new rk;this.rl="free"}vh(){return this.tQ}keyboard(){return this.wq}Ko(){return this.AP}navigationType(){return this.rl}YE(a){this.rl=a}}Ek.prototype.navigationType=Ek.prototype.navigationType;Ek.prototype.mouse=Ek.prototype.vh;const Fk={k_:"prompt",KX:"always",zZ:"never"};q("PresentationResumeMode$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$settings$PresentationResumeMode",Fk);q("PROMPT_TO_RESUME","prompt",Fk);q("ALWAYS_RESUME","always",Fk);q("NEVER_RESUME","never",Fk);class Gk{constructor(){this.iw=this.Yi=this.cI=!1;this.Pn="never"}uh(){return this.cI}UW(a){this.cI=a}Fc(){return this.Yi}qy(a){this.Yi=a}resumeMode(){return this.Pn}RE(){return this.iw}}Gk.prototype.resumeMode=Gk.prototype.resumeMode;Gk.prototype.autoStart=Gk.prototype.Fc;Gk.prototype.loopPlayback=Gk.prototype.uh;var Hk={KY:["BC","AD"],JY:["Before Christ","Anno Domini"],xZ:"JFMAMJJASOND".split(""),n0:"JFMAMJJASOND".split(""),tZ:"January February March April May June July August September October November December".split(" "),m0:"January February March April May June July August September October November December".split(" "),X_:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),p0:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),V0:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
r0:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Z_:"Sun Mon Tue Wed Thu Fri Sat".split(" "),q0:"Sun Mon Tue Wed Thu Fri Sat".split(" "),yZ:"SMTWTFS".split(""),o0:"SMTWTFS".split(""),Y_:["Q1","Q2","Q3","Q4"],p_:["1st quarter","2nd quarter","3rd quarter","4th quarter"],LX:["AM","PM"],AY:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],E0:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],BY:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],YN:6,W0:[5,6],ZN:5},Ik=Hk;
Ik=Hk;function Jk(a,b,c,d,e,f){"string"===typeof a?(this.kf=a==Kk?b:0,this.We=a==Lk?b:0,this.days=a==Mk?b:0,this.Jf=a==Nk?b:0,this.Lf=a==Ok?b:0,this.Mf=a==Pk?b:0):(this.kf=a||0,this.We=b||0,this.days=c||0,this.Jf=d||0,this.Lf=e||0,this.Mf=f||0)}
Jk.prototype.Hy=function(){var a=Math.min(this.kf,this.We,this.days,this.Jf,this.Lf,this.Mf),b=Math.max(this.kf,this.We,this.days,this.Jf,this.Lf,this.Mf);if(0>a&&0<b)return null;if(0==a&&0==b)return"PT0S";b=[];0>a&&b.push("-");b.push("P");this.kf&&b.push(Math.abs(this.kf)+"Y");this.We&&b.push(Math.abs(this.We)+"M");this.days&&b.push(Math.abs(this.days)+"D");if(this.Jf||this.Lf||this.Mf)b.push("T"),this.Jf&&b.push(Math.abs(this.Jf)+"H"),this.Lf&&b.push(Math.abs(this.Lf)+"M"),this.Mf&&b.push(Math.abs(this.Mf)+
"S");return b.join("")};Jk.prototype.Ji=function(a){return a.kf==this.kf&&a.We==this.We&&a.days==this.days&&a.Jf==this.Jf&&a.Lf==this.Lf&&a.Mf==this.Mf};Jk.prototype.clone=function(){return new Jk(this.kf,this.We,this.days,this.Jf,this.Lf,this.Mf)};var Kk="y",Lk="m",Mk="d",Nk="h",Ok="n",Pk="s";Jk.prototype.add=function(a){this.kf+=a.kf;this.We+=a.We;this.days+=a.days;this.Jf+=a.Jf;this.Lf+=a.Lf;this.Mf+=a.Mf};
function Qk(a,b,c){"number"===typeof a?(this.La=Rk(a,b||0,c||1),Sk(this,c||1)):la(a)?(this.La=Rk(a.getFullYear(),a.getMonth(),a.getDate()),Sk(this,a.getDate())):(this.La=new Date(Date.now()),a=this.La.getDate(),this.La.setHours(0),this.La.setMinutes(0),this.La.setSeconds(0),this.La.setMilliseconds(0),Sk(this,a))}function Rk(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}n=Qk.prototype;n.CM=Ik.YN;n.EM=Ik.ZN;
n.clone=function(){var a=new Qk(this.La);a.CM=this.CM;a.EM=this.EM;return a};n.getFullYear=function(){return this.La.getFullYear()};n.getYear=function(){return this.getFullYear()};n.getMonth=function(){return this.La.getMonth()};n.getDate=function(){return this.La.getDate()};n.getTime=function(){return this.La.getTime()};n.getDay=function(){return this.La.getDay()};n.getUTCFullYear=function(){return this.La.getUTCFullYear()};n.getUTCMonth=function(){return this.La.getUTCMonth()};n.getUTCDate=function(){return this.La.getUTCDate()};
n.getUTCDay=function(){return this.La.getDay()};n.getUTCHours=function(){return this.La.getUTCHours()};n.getUTCMinutes=function(){return this.La.getUTCMinutes()};n.getTimezoneOffset=function(){return this.La.getTimezoneOffset()};n.set=function(a){this.La=new Date(a.getFullYear(),a.getMonth(),a.getDate())};n.setFullYear=function(a){this.La.setFullYear(a)};n.setYear=function(a){this.setFullYear(a)};n.setMonth=function(a){this.La.setMonth(a)};n.setDate=function(a){this.La.setDate(a)};n.setTime=function(a){this.La.setTime(a)};
n.setUTCFullYear=function(a){this.La.setUTCFullYear(a)};n.setUTCMonth=function(a){this.La.setUTCMonth(a)};n.setUTCDate=function(a){this.La.setUTCDate(a)};
n.add=function(a){if(a.kf||a.We){var b=this.getMonth()+a.We+12*a.kf,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=0<=c&&99>=c?-1900:0,a=new Date((new Date(c,this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.setDate(1),this.setFullYear(a.getFullYear()+
b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Sk(this,a.getDate()))};n.Hy=function(){var a=this.getFullYear();const b=0>a?"-":1E4<=a?"+":"";return[b+jd(Math.abs(a),b?6:4),jd(this.getMonth()+1,2),jd(this.getDate(),2)].join("")+""};n.Ji=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};n.toString=function(){return this.Hy()};function Sk(a,b){a.getDate()!=b&&a.La.setUTCHours(a.La.getUTCHours()+(a.getDate()<b?1:-1))}
n.valueOf=function(){return this.La.valueOf()};function Tk(a,b){return a.getTime()-b.getTime()};function Uk(a,b){this.AN=a;this.xs=b}new Qk(0,0,1);new Qk(9999,11,31);Uk.prototype.getStartDate=function(){return this.AN};Uk.prototype.contains=function(a){return a.valueOf()>=this.AN.valueOf()&&a.valueOf()<=this.xs.valueOf()};Uk.prototype.iterator=function(){return new Vk(this)};function Vk(a){this.qE=a.getStartDate().clone();this.xs=Number(a.xs.Hy())}va(Vk,hk);Vk.prototype.next=function(){if(Number(this.qE.Hy())>this.xs)return ik;var a=this.qE.clone();this.qE.add(new Jk(Mk,1));return jk(a)};function Wk(a,b){a.nL=b}class Xk{constructor(){this.GB=void 0;this.CG=this.nL=null}password(){return this.GB}tp(){return this.nL}Cx(){return this.CG}};function Yk(a,b){a.MK=b}function Zk(a,b){a.OJ=b}class $k{constructor(){this.MK=this.OJ=null}wy(){return this.MK}ey(){return this.OJ}}class al{constructor(a,b){this.xe=a;this.vg=b}url(){return this.xe}target(){return this.vg}open(){Rg(this.xe,{target:this.vg})}};class bl{constructor(){this.$A=new Ek;this.OB=new Gk;this.sO=new Ck;this.Ca=this.Fu=this.Ar=null;this.Tj="";this.VT=new $k;this.hS=new Xk;this.lO=new Bk}navigation(){return this.$A}playback(){return this.OB}hk(){return this.sO}Cy(){return this.Tj}skin(){return this.Ar}jb(){return this.Ca}VE(a){this.Ca=a}Bm(){return this.VT}gp(){return this.hS}Xl(){return this.lO}}bl.prototype.i18n=bl.prototype.jb;bl.prototype.skin=bl.prototype.skin;bl.prototype.appearance=bl.prototype.hk;bl.prototype.playback=bl.prototype.playback;function cl(a){0<=a.H&&--a.H;return 0<=a.H}function dl(a){for(;a.Vx()&&!a.U().visible(););return!!a.U()}function el(a){for(;cl(a)&&!a.U().visible(););return!!a.U()}class fl{constructor(a,b){this.bS=a;this.ho=b;this.$t=b.length;this.H=-1}seekTo(a){this.H=Tc(a,-1,this.$t);return!0}Vx(){this.H<this.$t&&++this.H;return this.H<this.$t}U(){return 0<=this.H&&this.H<this.$t?this.bS.getSlide(this.ho[this.H]):null}currentSlideIndex(){return this.H}};function gl(a){return new fl(a.nO,a.ho)}function hl(a){a=gl(a);return dl(a)?a.currentSlideIndex():-1}class il{constructor(a,b,c){this.nO=a;this.Tg=b;this.ho=c}name(){return this.Tg}slides(){return this.ho}};function jl(a,b){const c=a.count();for(let d=0;d<c;++d){const e=a.sC[d];if(e.name()==b)return e}return null}class kl{constructor(){this.sC=[]}count(){return this.sC.length}add(a){this.sC.push(a)}};class ll{constructor(a,b){this.Bc=a;this.Rk=b;this.pe=1;this.xe=null;this.vg="_self"}src(){return this.Bc}ia(){return this.Rk}opacity(){return this.pe}Nf(a){this.pe=a}url(){return this.xe}target(){return this.vg}};class ml extends Vh{constructor(a){super();this.lb=a;this.K=new Dj;this.yz=this.Sl="";this.Xc=this.Yc=0;this.Oj=new bl;this.wG=new kl;this.zi=this.Qt=this.me=null;this.VG=[];this.Zq=new xk;this.ij=null;this.tf=new wk;this.oS=new Ak;this.wC=new tk;this.RL=new tk;this.XR=[];this.$O=K(this);this.UO=K(this)}uniqueId(){return this.lb}slides(){return this.K}title(){return this.Sl}dF(a){this.Sl=a}TW(a){this.yz!=a&&(this.yz=a,this.$O.D())}courseTitle(){return this.yz}slideWidth(){return this.Yc}slideHeight(){return this.Xc}settings(){return this.Oj}Sx(){if(!this.me){const a=
nk(mk(this.K.count()));this.me=new il(this.K,"__m",a)}return this.me}ns(){return this.Qt}wt(){return this.zi}fonts(){return this.VG}om(){return this.Zq}ph(){return this.ij}UE(a){(this.ij||a)&&(this.ij&&a?!this.ij.isEqual(a):1)&&(this.ij=a,this.UO.D())}hc(){return this.tf}resources(){return this.oS}lm(){return this.XR}}ml.prototype.resources=ml.prototype.resources;ml.prototype.narration=ml.prototype.hc;ml.prototype.company=ml.prototype.ph;ml.prototype.presenters=ml.prototype.om;
ml.prototype.settings=ml.prototype.settings;ml.prototype.slideHeight=ml.prototype.slideHeight;ml.prototype.slideWidth=ml.prototype.slideWidth;ml.prototype.title=ml.prototype.title;ml.prototype.slides=ml.prototype.slides;ml.prototype.uniqueId=ml.prototype.uniqueId;function nl(a,b,c,d,e,f){if(6==arguments.length)this.setTransform(a,b,c,d,e,f);else{if(0!=arguments.length)throw Error("Insufficient matrix parameters");this.nb=this.rb=1;this.Db=this.Cb=this.Hb=this.Ib=0}}n=nl.prototype;n.isIdentity=function(){return 1==this.nb&&0==this.Db&&0==this.Cb&&1==this.rb&&0==this.Hb&&0==this.Ib};n.clone=function(){return new nl(this.nb,this.Db,this.Cb,this.rb,this.Hb,this.Ib)};
n.setTransform=function(a,b,c,d,e,f){if("number"!==typeof a||"number"!==typeof b||"number"!==typeof c||"number"!==typeof d||"number"!==typeof e||"number"!==typeof f)throw Error("Invalid transform parameters");this.nb=a;this.Db=b;this.Cb=c;this.rb=d;this.Hb=e;this.Ib=f;return this};n.scale=function(a,b){this.nb*=a;this.Db*=a;this.Cb*=b;this.rb*=b;return this};n.translate=function(a,b){this.Hb+=a*this.nb+b*this.Cb;this.Ib+=a*this.Db+b*this.rb;return this};
n.rotate=function(a,b,c){var d=new nl;const e=Math.cos(a);a=Math.sin(a);b=d.setTransform(e,a,-a,e,b-b*e+c*a,c-b*a-c*e);return ol(this,b)};n.toString=function(){return"matrix("+[this.nb,this.Db,this.Cb,this.rb,this.Hb,this.Ib].join()+")"};function ol(a,b){let c=a.nb,d=a.Cb;a.nb=b.nb*c+b.Db*d;a.Cb=b.Cb*c+b.rb*d;a.Hb+=b.Hb*c+b.Ib*d;c=a.Db;d=a.rb;a.Db=b.nb*c+b.Db*d;a.rb=b.Cb*c+b.rb*d;a.Ib+=b.Hb*c+b.Ib*d;return a}
n.transform=function(a,b,c,d,e){let f=b;for(b+=2*e;f<b;){e=a[f++];const h=a[f++];c[d++]=e*this.nb+h*this.Cb+this.Hb;c[d++]=e*this.Db+h*this.rb+this.Ib}};function pl(a){const b=a.nb*a.rb-a.Cb*a.Db;return new nl(a.rb/b,-a.Db/b,-a.Cb/b,a.nb/b,(a.Cb*a.Ib-a.rb*a.Hb)/b,(a.Db*a.Hb-a.nb*a.Ib)/b)}n.Ji=function(a){return this===a?!0:a?this.nb==a.nb&&this.Cb==a.Cb&&this.Hb==a.Hb&&this.Db==a.Db&&this.rb==a.rb&&this.Ib==a.Ib:!1};class ql{constructor(a,b){this.Kb=a;this.Qa=b}add(a){this.Kb!=a.Kb&&(this.Qa=this.qb(a.Kb),this.Kb=a.Kb);this.Qa[0]+=a.Qa[0];this.Qa[1]+=a.Qa[1];this.Qa[2]+=a.Qa[2]}multiple(a){this.Qa[0]*=a;this.Qa[1]*=a;this.Qa[2]*=a}toString(){const a=this.qb("rgb");a[0]=Math.round(a[0]);a[1]=Math.round(a[1]);a[2]=Math.round(a[2]);return rl(a[0],a[1],a[2])}qb(a){var b=Wa(this.Qa);"rgb"==this.Kb?(b[0]=Tc(b[0],0,255),b[1]=Tc(b[1],0,255),b[2]=Tc(b[2],0,255)):(b[0]%=360,b[1]=Tc(b[1],0,1),b[2]=Tc(b[2],0,1));if(a==this.Kb)a=
b;else{if("rgb"==this.Kb){var c=b[0]/255;var d=b[1]/255;b=b[2]/255;var e=Math.max(c,d,b);const f=Math.min(c,d,b);let h=0,g=0;const k=.5*(e+f);e!=f&&(e==c?h=60*(d-b)/(e-f):e==d?h=60*(b-c)/(e-f)+120:e==b&&(h=60*(c-d)/(e-f)+240),g=0<k&&.5>=k?(e-f)/(2*k):(e-f)/(2-2*k));c=[Math.round(h+360)%360,g,k]}else c=b;d=c;"rgb"==a?(b=d[1],c=d[2],a=d[0]/360,0==b?c=d=a=255*c:(b=.5>c?c*(1+b):c+b-b*c,e=2*c-b,c=255*sl(e,b,a+1/3),d=255*sl(e,b,a),a=255*sl(e,b,a-1/3)),a=[Math.round(c),Math.round(d),Math.round(a)]):a=d}return a}Ji(a){const b=
this.Kb==a.Kb?this.Qa:this.qb(a.Kb);return eb(b,a.Qa)}clone(){return new ql(this.Kb,Wa(this.Qa))}};function tl(a,b){return b in a.Iz?a.Iz[b]:null}class ul{constructor(a,b,c,d){this.lb=a;this.Rk=b;this.CT=c||null;this.BT=d||null;this.Ty=[];this.Uy=[];this.UG=!1;this.Iz={}}id(){return this.lb}ia(){return this.Rk}hf(){return this.CT}Qf(){return this.BT}};function vl(a,b){if(b in a.jv)return a.jv[b];throw Error("can't find animated object with specified id");}class wl{constructor(){this.Zh=[];this.jv={}}count(){return this.Zh.length}add(a){this.Zh.push(a);this.jv[a.id()]=a}qb(){return this.Zh}};class xl{constructor(a,b,c,d,e,f,h){this.VO=a;this.xe=b;this.la=c;this.ha=d;this.Re=e;this.JO=void 0==f?"":f;this.FT=h;this.tg=1}containerId(){return this.VO}url(){return this.xe}width(){return this.la}height(){return this.ha}timeOffset(){return this.Re*this.tg}Eg(a){this.tg=a}bgColor(){return this.JO}KN(){return this.FT}};class yl{constructor(){this.Xp=[]}count(){return this.Xp.length}Eg(a){for(let b=0;b<this.Xp.length;++b)this.Xp[b].Eg(a)}};class zl{constructor(){this.Zh=[]}add(a){this.Zh.push(a)}count(){return this.Zh.length}get(a){return 0>a||a>=this.count()?null:this.Zh[a]}Eg(a){for(let b=0;b<this.Zh.length;++b)this.Zh[b].Eg(a)}};class Cl{constructor(a,b){this.Nh=this.AG=!1;this.tg=1;this.la=this.ha=this.pL=0;this.lb=a;this.xe=b}width(){return this.la}Fg(a){this.la=a}height(){return this.ha}Ui(a){this.ha=a}timeout(){return this.pL*this.tg}setTimeout(a){this.pL=0<=a?a:0}Eg(a){this.tg=a}SD(){return this.Nh}kp(a){this.Nh=a}us(){return this.AG}id(){return this.lb}url(){return this.xe}};class Dl{};function El(a){a:{var b=a.mG;a=a.time()+b.Uj.time();b=b.jh;for(let c=b.length-1;0<=c;--c){const d=b[c];if(a>=d.time){a=d.freeze?d.RD:d.RD+a-d.time;break a}}throw Error("invalid clock");}return a}class Fl{constructor(a,b){this.Ab=0;this.Ab=b||0;this.mG=a}time(){return this.Ab}add(a){const b=this.Ic();b.Ab+=a;return b}Ic(){return new Fl(this.mG,this.Ab)}}function Gl(a,b,c){return Na(a.Dt,d=>d>=b&&d<=c)}
function Hl(a,b,c,d){b={time:b,RD:c,freeze:d||!1};0==a.jh.length?a.jh.push(b):(c=a.jh[a.jh.length-1],c.time!=b.time&&Gl(a,c.time,b.time)?a.jh.push(b):a.jh.splice(a.jh.length-1,1,b))}class Il{constructor(a){this.Uj=new Fl(this);this.Dt=[];this.jh=[{time:0,RD:a,freeze:!1}]}persistState(){return{t:this.Uj.time(),p:Wa(this.jh)}}};class Jl{constructor(a,b){this.BU=a[fa.Symbol.iterator]();this.LV=b}[Symbol.iterator](){return this}next(){const a=this.BU.next();return{value:a.done?void 0:this.LV.call(void 0,a.value),done:a.done}}}function Kl(a,b){return new Jl(a,b)};function Ll(a){if(a instanceof Ml||a instanceof Nl||a instanceof Ol)return a;if("function"==typeof a.next)return new Ml(()=>a);if("function"==typeof a[Symbol.iterator])return new Ml(()=>a[Symbol.iterator]());if("function"==typeof a.lf)return new Ml(()=>a.lf());throw Error("Not an iterator or iterable.");}class Ml{constructor(a){this.TD=a}lf(){return new Nl(this.TD())}[Symbol.iterator](){return new Ol(this.TD())}Gy(){return new Ol(this.TD())}}
class Nl extends hk{constructor(a){super();this.Hs=a}next(){return this.Hs.next()}[Symbol.iterator](){return new Ol(this.Hs)}Gy(){return new Ol(this.Hs)}}class Ol extends Ml{constructor(a){super(()=>a);this.Hs=a}next(){return this.Hs.next()}};function Pl(a,b){this.Dg={};this.vc=[];this.tt=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)}n=Pl.prototype;n.Fx=function(){return this.size};function Ql(a){Rl(a);return a.vc.concat()}n.has=function(a){return Sl(this.Dg,a)};
n.Ji=function(a){if(this===a)return!0;if(this.size!=a.Fx())return!1;var b=Tl;Rl(this);for(var c,d=0;c=this.vc[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};function Tl(a,b){return a===b}n.sh=function(){return 0==this.size};n.clear=function(){this.Dg={};this.tt=this.size=this.vc.length=0};n.remove=function(a){return this.delete(a)};n.delete=function(a){return Sl(this.Dg,a)?(delete this.Dg[a],--this.size,this.tt++,this.vc.length>2*this.size&&Rl(this),!0):!1};
function Rl(a){if(a.size!=a.vc.length){for(var b=0,c=0;b<a.vc.length;){var d=a.vc[b];Sl(a.Dg,d)&&(a.vc[c++]=d);b++}a.vc.length=c}if(a.size!=a.vc.length){var e={};for(c=b=0;b<a.vc.length;)d=a.vc[b],Sl(e,d)||(a.vc[c++]=d,e[d]=1),b++;a.vc.length=c}}n.get=function(a,b){return Sl(this.Dg,a)?this.Dg[a]:b};n.set=function(a,b){Sl(this.Dg,a)||(this.size+=1,this.vc.push(a),this.tt++);this.Dg[a]=b};
n.addAll=function(a){if(a instanceof Pl)for(var b=Ql(a),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};n.forEach=function(a,b){for(var c=Ql(this),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};n.clone=function(){return new Pl(this)};n.transpose=function(){for(var a=new Pl,b=0;b<this.vc.length;b++){var c=this.vc[b];a.set(this.Dg[c],c)}return a};n.keys=function(){return Ll(this.lf(!0)).Gy()};n.values=function(){return Ll(this.lf(!1)).Gy()};
n.entries=function(){const a=this;return Kl(this.keys(),function(b){return[b,a.get(b)]})};n.lf=function(a){Rl(this);var b=0,c=this.tt,d=this,e=new hk;e.next=function(){if(c!=d.tt)throw Error("The map has changed since the iterator was created");if(b>=d.vc.length)return ik;var f=d.vc[b++];return jk(a?f:d.Dg[f])};return e};function Sl(a,b){return Object.prototype.hasOwnProperty.call(a,b)};class Ul{constructor(a,b){this.J=null;this.J=a||null;this.pf=void 0!==b?b:!0}clock(){return this.J}completed(){return this.pf}};class Xl extends Ul{constructor(a,b,c){super(b,c);this.Kk=a||!1}absolute(){return this.Kk}add(a){if(this.Kk&&a.Kk)throw Error("can't add absolute transforms");var b=a.Kk?a:this;const c=b===a?this:a;b=b.Ic().Gt(c);b.Kk=this.Kk||a.Kk;return b}};class Yl extends Xl{constructor(a,b,c,d,e){super(c,d,e);this.md=a;this.Lk=[];this.Ij=b||0}color(){return this.md}priority(){return this.Ij}jm(){const a=this.Ic();a.md.multiple(-1);return a}Ic(){const a=new Yl(this.md.clone(),this.Ij,this.absolute(),this.clock(),this.completed());a.Lk=Wa(this.Lk);return a}Gt(a){if(this.absolute()){this.md.add(a.md);for(let b=0;b<a.Lk.length;++b)this.md.add(a.Lk[b])}else this.Lk=Va(this.Lk,[a.md],a.Lk);return this}};class Zl extends Ul{constructor(a,b){super(a,b);this.re={}}add(a){const b=new Zl(this.clock(),this.completed());b.re=Ac(this.re);for(const c in a.re)a.re.hasOwnProperty(c)&&(b.re[c]=a.re[c]);return b}}function $l(a,b,c,d){c=new Zl(c,d);c.re[a]=b;return c};class am extends Ul{constructor(a,b,c){super(b,c);this.ke=null!=a?a:Number.MAX_VALUE}level(){return this.ke}};class bm extends Xl{constructor(a,b,c,d){super(b,c,d);this.Ta=a||0}jm(){return new bm(-1*this.Ta,this.absolute(),this.clock(),this.completed())}Ic(){return new bm(this.Ta,this.absolute(),this.clock(),this.completed())}Gt(a){this.Ta+=a.Ta;return this}};class cm extends Xl{constructor(a,b,c,d){super(b,c,d);this.Hc=a||0}angle(){return this.Hc}jm(){return new cm(-1*this.Hc,this.absolute(),this.clock(),this.completed())}Ic(){return new cm(this.Hc,this.absolute(),this.clock(),this.completed())}Gt(a){this.Hc+=a.Hc;return this}};class dm extends Xl{constructor(a,b,c,d){super(b,c,d);this.ua=void 0!==a?a:1}scale(){return this.ua}jm(){return new dm(1/this.ua,this.absolute(),this.clock(),this.completed())}Ic(){return new dm(this.ua,this.absolute(),this.clock(),this.completed())}Gt(a){this.ua*=a.ua;return this}};class em extends Ul{constructor(a,b,c){super(b,c);this.ow=a||0}shift(){return this.ow}};function fm(){return"visibility rotateTo rotateBy moveX moveY scaleX scaleY scaleX2 scaleY2 filter shiftX cssProperties cssTextProperties textColor strokeColor fillColor imgColor sound video".split(" ")};function gm(a,b){if(!(0<=b&&b<a.count()))throw Error("index is out of range");return a.fd[b]}class hm{constructor(a){this.fd=a||[]}count(){return this.fd.length}add(a){this.fd.push(a)}clone(){const a=new hm;a.fd=Wa(this.fd);return a}concat(a){this.fd=Va(this.fd,a.fd)}qb(){return Wa(this.fd)}};class im extends Ul{constructor(a,b){super(b,!0);this.Ec=void 0!==a?a:!0}visible(){return this.Ec}};function jm(a,b,c){if(!(b in a.fd)){if(!c)return null;a.fd[b]=new hm}return a.fd[b]}function km(a,b,c){return(a=jm(a,b,!1))&&0<a.count()?gm(a,a.count()-1):c?new c:null}function lm(a){return km(a,"rotateTo",cm)}function mm(a){return km(a,"rotateBy",cm)}function nm(a){return km(a,"moveX",bm)}function om(a){return km(a,"moveY",bm)}function pm(a){return km(a,"scaleX",dm)}function qm(a){return km(a,"scaleX2",dm)}function rm(a){return km(a,"scaleY",dm)}function sm(a){return km(a,"scaleY2",dm)}
function tm(a){return km(a,"shiftX",em)}function um(a){return km(a,"cssTextProperties")}class vm{constructor(){this.fd={}}clone(){const a=new vm;for(const b in this.fd)this.fd.hasOwnProperty(b)&&(a.fd[b]=this.fd[b].clone());return a}};class wm{constructor(){this.ih={}}get(a){a in this.ih||(this.ih[a]=new vm);return this.ih[a]}set(a,b){this.ih[a]=b}contains(a){return a in this.ih}remove(a){a in this.ih&&delete this.ih[a]}};function xm(a){return a.Tk[a.Tk.length-1]}class ym{constructor(){this.Tk=[[]]}add(a){let b=xm(this);Array.isArray(a)?(b=Va(b,a),this.Tk[this.Tk.length-1]=b):b.push(a)}push(){this.Tk.push([])}pop(){if(1>=this.Tk.length)throw Error("");const a=this.Tk.pop();this.add(a);return a}clear(a,b){const c=xm(this);a=void 0!==a?a:0;b=void 0!==b?b:c.length;c.splice(a,b-a)}apply(a){const b=xm(this);for(let c=0;c<b.length;++c)b[c].apply(a)}}
class zm{constructor(a,b){this.ih=new wm;this.eS=a||new wm;this.jn=b||new Pl;this.tb=new ym}ym(){return this.ih}};class Am extends Dl{constructor(){super()}};class Bm{constructor(a){this.mL=a}normalize(a,b,c){for(let d=0;d<this.mL.length;++d)a=this.mL[d].normalize(a,b,c);return a}}class Cm{constructor(a,b){this.jO=a;this.lP=b}normalize(a,b,c){c&&(a=b-a);a=b*this.Je(0<b?a/b:0);c&&(a=b-a);return a}Je(a){if(0>=a)return 0;if(1<=a)return 1;const b=this.jO,c=this.lP,d=1-(b+c),e=1/(b/2+d+c/2);let f=0;0<b&&(f+=e/b*Math.pow(a>b?b:a,2)/2,a-=b);0<d&&0<a&&(f+=e*(a>d?d:a),a-=d);0<c&&0<a&&(f+=e*a*(1-.5*a/c));return Tc(f,0,1)}}class Dm{normalize(a,b){return b-a}};class Em extends Dl{constructor(){super();this.Rl=null}complete(a,b){this.Jb(this.duration(),a,b)}Ws(a,b){this.Ye(this.duration(),a,b)}Je(a,b){if(0>a||a>this.duration())throw Error("invalid action's run time");return this.Rl?this.Rl.normalize(a,this.duration(),b):a}};function Fm(a){let b=0;a instanceof Em&&(b=a.duration());return b}class Gm extends Em{Jb(){}Ye(){}duration(){}}class Hm{Jb(a,b,c,d){a.Jb(b,c,d)}complete(a,b,c){if(a instanceof Am)a.Jb(b,c);else if(a instanceof Em)a.complete(b,c);else throw Error("unknown action");}}var Im=null;function Jm(){Im||(Im=new Hm);return Im}class Km{Jb(a,b,c,d){a.Ye(b,c,d)}complete(a,b,c){if(a instanceof Am)a.Ye(b,c);else if(a instanceof Em)a.Ws(b,c);else throw Error("unknown action");}}var Lm=null;
function Mm(){Lm||(Lm=new Km);return Lm};class Nm extends Gm{constructor(a){super();this.$=-1;this.Ma=a||[];this.aC=a?a.slice().reverse():[]}Od(a){if(0<=this.$)throw Error("ActionsSequence was already initialized");this.Ma.push(a);this.aC.splice(0,0,a)}kz(){let a=0;for(let b=0;b<this.Ma.length;++b)a+=Fm(this.Ma[b]);return a}duration(){0>this.$&&(this.$=this.kz());return this.$}Jb(a,b,c){a=this.Je(a);this.Ua(this.Ma,Jm(),a,b,c)}complete(a,b){this.Yd(this.Ma,Jm(),a,b)}Ye(a,b,c){a=this.Je(a,!0);this.Ua(this.aC,Mm(),a,b,c)}Ws(a,b){this.Yd(this.aC,
Mm(),a,b)}Ua(a,b,c,d,e){const f=ma(this)+"",h=d.tb;h.push();var g=0;let k=0,l=d.jn.get(f);var m;if(m=l)m=l,m=El(m.clock())==El(e)&&m.time()<=c;m&&(g=l.mO+1,k=l.duration(),h.add(l.tb));l=null;m=!1;const p=a.length;for(let r=g;r<p;++r){const t=a[r],v=(g=t instanceof Em?t:null)?g.duration():0,z=e.add(k);if(k+v<=c)b.complete(t,d,z),m=!0;else{m&&(l=new Om(e,c,r-1,k,Wa(xm(h))));a=c-k;g&&0<=a&&b.Jb(g,a,d,z);break}k+=v}m&&(l||(l=new Om(e,c,p-1,k,xm(h))),d.jn.set(f,l));h.pop()}Yd(a,b,c,d){this.Ua(a,b,this.duration(),
c,d)}}class Om{constructor(a,b,c,d,e){this.J=a;this.Ab=b;this.mO=c;this.$=d;this.tb=e}clock(){return this.J}time(){return this.Ab}duration(){return this.$}};class Pm{constructor(a,b){this.hK=!1;this.lb=a;this.hK=b||!1}id(){return this.lb}required(){return this.hK}clone(){}};function Qm(a){const b=[];for(let c=0;c<a.Ma.length;++c){let d=[0];const e=a.Ma[c];for(let f=0;f<e.length;++f)d=d.concat(e[f].action.sF());ab(d);b.push(d)}return b}
class Rm{constructor(){this.Ma=[];this.reset()}Pd(){this.Ma.push([])}Od(a,b,c){c=void 0!==c?c:this.Ma.length-1;for(c=Math.max(c,0);this.Ma.length-1<c;)this.Ma.push([]);this.Ma[c].push({id:a,action:b})}reset(){this.fr=-1;this.ii=0}Ee(a,b){a=Math.min(a,this.Ma.length-1);const c={},d=this.fr<a||this.fr==a&&this.ii<=b;for(var e=d?Math.max(this.fr,0):0;e<=a;++e){const f=e==this.fr&&d?this.ii:0,h=e==a?b:Number.MAX_VALUE,g=this.Ma[e];for(let k=0;k<g.length;++k){const l=g[k];l.action.Es(f,h)&&(c[l.id]=!0)}}this.fr=
a;this.ii=b;return uc(c)}};class Sm extends Pm{constructor(a,b,c){super(b,c);this.Lp=a}nx(a){return this.Lp.id()==a}clone(a){return Tm(a,this.Lp,this.required())}};class Um extends Pm{constructor(a,b,c){super(b,c);this.$u=Array.isArray(a)?a:[a]}nx(a){return 1==this.$u.length?this.$u[0]==a:0<=Ia(this.$u,a)}clone(a){return Vm(a,this.$u,this.required())}};function Tm(a,b,c){b=new Sm(b,a.Nb.length,c);a.Nb.push(b);return b}function Vm(a,b,c){b=new Um(b,a.Nb.length,c);a.Nb.push(b);return b}class Wm{constructor(){this.Nb=[]}};function Xm(a,b){let c=null;if(0<a.hl.length){const d=a.hl[a.hl.length-1];d instanceof Nm&&(c=d)}c||(c=new Nm,a.hl.push(c));c.Od(b)}class Ym{constructor(a){this.hl=[];this.HC=[];this.Kl=new Rm;this.Pd(Vm(a,"___start",!0))}Pd(a){this.hl.push(a);this.HC.push(a);this.Kl.Pd()}}function Zm(a){for(;a.next()&&!a.Rf(););return null!=a.Rf()}function $m(a){return 0<=a.$d&&a.$d<a.xz?a.mb[a.$d]:null}
class an{constructor(a){this.$d=-1;this.xz=0;this.mb=a;this.xz=a.length}next(){++this.$d;return this.$d<this.xz}seekTo(a){for(;$m(this)!==a&&this.next(););return $m(this)===a}Rf(){const a=$m(this);return a&&a instanceof Pm?a:null}reset(){this.$d=-1}}class bn extends an{constructor(a){super(a.hl)}actions(){const a=$m(this);return!a||a instanceof Pm?null:a}}function cn(a){a=$m(a);return!a||a instanceof Pm?null:a}class dn extends an{constructor(a){super(a.HC)}};class en extends Ym{constructor(a){super(a);this.AA=new Nm;Xm(this,this.AA)}};class fn{constructor(a,b,c){this.type=a;this.text=b;this.Xe=c}};class gn{constructor(a,b,c,d){this.id=a;this.ia=b;this.hf=c;this.Qf=d;this.state=new vm;jm(this.state,"moveX",!0).add(new bm(this.ia.left,!0));jm(this.state,"moveY",!0).add(new bm(this.ia.top,!0))}};class hn{constructor(){this.zm=this.xm=this.vm=this.pm=this.gm=this.fill=this.line=""}};function jn(a){const b=[];a.hb&&b.push(a.hb);a.Hg.forEach(c=>b.push(c));return b}function kn(a){if(a.hb){var b=a.hb.ia,c=a.ia,d=a.wk;c=new pg(c.left-.5*d,c.top-.5*d,c.width+d,c.height+d);d=Math.abs(b.top-c.top);var e=Math.abs(b.width-c.width),f=Math.abs(b.height-c.height);a.os=1E-4>Math.abs(b.left-c.left)&&1E-4>d&&1E-4>e&&1E-4>f&&!a.nM}}
class ln{constructor(a,b,c,d,e,f){this.name=a;this.type=`${b}${a.startsWith("!!")?"":c||""}`;this.ia=d;this.zIndex=e;this.Hg=[];this.kk=[];this.hb=null;this.nM=!1;this.text="";this.Jg=this.Bg=!1;this.rotation=0;this.Pb=this.Xe=void 0;this.wk=0;this.os=!1;this.Jo=new hn;this.uid=f}};class mn{constructor(){this.Bi=[]}add(a){this.Bi.push(a)}count(){return this.Bi.length}Eg(a){for(let b=0;b<this.Bi.length;++b)this.Bi[b].Eg(a)}};function nn(a,b){let c=!1;for(const d of a.rH)-1!=d.indexOf(b)&&(Ja(d,e=>{a.Zr.push(e)}),c=!0);c||a.Zr.push(b)}
class on extends Bj{constructor(){var a=new Wm;super("slide");this.HA=!0;this.vn=new en(a);this.HH=[];this.Fm=new wl;this.Nb=[];this.Zr=[];this.rH=[];this.Bi=new mn;this.Vp=new zl;this.Tz=new yl;this.Zn=[];this.wd=a}persistState(a){a=super.persistState(a);a.visitedHyperlinks=this.Zr;return a}Di(a,b){super.Di(a,b);this.Zr=u(a,"visitedHyperlinks",!1)}Jy(){return this.Zr}rt(){return this.Nb}Pd(a){0>Ia(this.Nb,a)&&this.Nb.push(a)}xt(){return this.Bi}};class pn{constructor(a){this.Y=a}type(){return this.Y}};class qn{constructor(a,b,c,d,e,f,h,g,k){this.rA=a;this.nS=b;this.ja=c;this.Wb=d;this.Ld=e;this.LT=f;this.vq=h;this.GJ=g;this.pc=k}ip(){return this.nS}mediaController(){return this.ja}Am(){return this.LT}Li(){return this.vq}soundController(){return this.Ld}};class rn extends Wj{constructor({content:a,mode:b,quizPlayer:c,ks:d}){super(a,b);this.Vc=c;this.Jt=d}quizPlayer(){return this.Vc}np(){const a=Fh(this.Vc);return this.Jt||"testing"!=a.quizState()}};class sn extends Bj{constructor(){super("quiz");this.mK=this.Jt=this.Xy=!1;this.yi="";this.Iv=this.Jv=this.pu=this.Fv=null;this.WB=0;this.Ej=null;this.tL=!0}ks(){return this.Jt}NE(){return this.mK}eF(a){this.yi=a}persistState(a){const b=super.persistState(a);a&&a.gr?(a=a.quizPlayer(),b.quizState=a.persistState(),a=Fh(a),b.quizInfo=a.pt()):(b.quizState=this.Jv,b.quizInfo=this.Iv?this.Iv.pt():null,b.quizInactivityDuration=this.WB);return b}Di(a,b){super.Di(a,b);this.Jv=a.quizState;const c=a.quizInfo;
c&&(this.Iv=new Eh(c.type,c.state,c.passed,c.retake,c.attempts));"quizInactivityDuration"in a&&(this.WB=a.quizInactivityDuration+b)}Ri(){return this.Ej}gt(a){this.Ej=a}}
class tn extends ck{constructor(a,b,c){super(a,b,c);this.Vc=b.quizPlayer();this.gr=!1}quizPlayer(){return this.Vc}activate(a){super.activate(a);this.Vc.setActionAvailability(a.GJ);if(!this.gr){this.gr=!0;const b=this.X,c=b.Jv;c&&this.Vc.restoreState(c,a.pc.xg+b.WB);this.Vc.stateChangedEvent().addHandler(this.oR,this,1);this.Vc.start()}this.Dj&&this.Vc.activate()}deactivate(){super.deactivate();this.Dj&&this.Vc.deactivate()}zl(){null!=this.ka&&this.gr&&this.Vc.activate()}oR(a){a.actionPrevented()||
(a.preventAction(),this.Pq())}};class un{constructor(a){this.Y=a}type(){return this.Y}};class vn{constructor(a,b,c){this.pf=a;this.uJ=b;this.aG=c}scenarioPassed(){return this.uJ}pt(){return{completed:this.pf,passed:this.uJ,canBePassed:this.aG}}}function wn(a){var b=a.currentSession(),c=b.completed();a=c||0<a.usedAttemptsCount();const d=b.scenario().settings().evaluationSettings();c=(b=c&&(!d.enabled()||b.scenarioPassed()))||!c||d.allowRetake();return new vn(a,b,c)};class xn extends Wj{constructor({content:a,mode:b,scenarioPlayer:c,ls:d}){super(a,b);this.Wc=c;this.Kt=d}scenarioPlayer(){return this.Wc}np(){const a=wn(this.Wc);return this.Kt||a.pf}};class yn extends ck{constructor(a,b,c){super(a,b,c);this.Wc=b.scenarioPlayer();this.sr=!1}scenarioPlayer(){return this.Wc}activate(a){super.activate(a);this.Wc.setActionAvailability(a.GJ);if(!this.sr){this.sr=!0;const b=this.X,c=b.KB;c&&this.Wc.restoreStateEx(c,a.pc.xg+b.iC);this.Wc.stateChangedEvent().addHandler(this.uR,this,1)}this.Dj&&this.Wc.activate()}deactivate(){super.deactivate();this.Dj&&this.Wc.deactivate()}zl(){null!=this.ka&&this.sr&&this.Wc.activate()}uR(a){a.actionPrevented()||(a.preventAction(),
this.Pq())}};class zn extends Bj{constructor(){super("scenario");this.KB=this.Ej=null;this.Kt=!1;this.yi="";this.Kv=this.qu=this.Gv=null;this.iC=0}ls(){return this.Kt}eF(a){this.yi=a}Ri(){return this.Ej}gt(a){this.Ej=a}persistState(a){const b=super.persistState(a);a&&a.sr?(a=a.scenarioPlayer(),b.scenarioState=a.persistState(),a=wn(a),b.scenarioInfo=a.pt()):(b.scenarioState=this.KB,b.scenarioInfo=this.Kv?this.Kv.pt():null,b.scenarioInactivityDuration=this.iC);return b}Di(a,b){super.Di(a,b);this.KB=a.scenarioState;
const c=a.scenarioInfo;c&&(this.Kv=new vn(c.completed,c.passed,c.canBePassed));"scenarioInactivityDuration"in a&&(this.iC=a.scenarioInactivityDuration+b)}};class An{constructor(a){this.zb=a}type(){return"gotoSlide"}slideIndex(){return this.zb}};function Bn(a){return a.xO.some(b=>a.qS.some(c=>c(b)))}
class Cn{constructor(a,b,c){this.I=a;this.C=b;b=this.slides;var d=c;c=[];do if(c.push(d),"slide"==d.type()&&d.zg()){var e=b;const f=d.Te().Oi();(d=f&&"gotoSlide"==f.type()?e.getSlide(f.slideIndex()):d.index()<e.count()-1?e.getSlide(d.index()+1):null)&&("slide"!=d.type()||c.includes(d))&&(d=null)}else d=null;while(d);this.xO=c;this.vQ=[...a.hc().yg().JN,...a.hc().Fh().JN];a=this.slides;b=[];for(c=0;c<a.count();++c)for(e=a.getSlide(c).sb(),d=0;d<e.count();++d)b.push(jj(e,d));this.cT=b;this.qS=[this.zO.bind(this),
this.yO.bind(this),this.AO.bind(this),this.BO.bind(this),this.iS.bind(this),this.FS.bind(this),this.KP.bind(this)]}get playbackController(){return this.C}get slides(){return this.I.slides()}zO(a){return this.vQ.some(b=>b.startTimestamp().slideIndex()<=a.index()&&b.endTimestamp().slideIndex()>=a.index())}yO(a){return!!a.Kp}AO(a){return this.cT.some(b=>{a:{b:{var c=fj(b,this.slides);if(0<c.count()&&(b=Zi(c).startTimestamp(),c=Zi(c).endTimestamp(),a.index()>=b.slideIndex()&&a.index()<=c.slideIndex())){b=
{startTimestamp:b,endTimestamp:c};break b}b=null}if(c=b){b=c.startTimestamp;c=c.endTimestamp;if(a.index()==b.slideIndex()){if(0<b.stepIndex()){b=a.va().Za(b.stepIndex()-1).zg();break a}}else if(a.index()==c.slideIndex()){b=0<=c.stepIndex();break a}b=!0}else b=!1}return b})}BO(a){if(a instanceof on){const b=new Hi(a.index(),0,0);return a.Fb().qb().some(c=>!!$i(fj(c,this.slides),b))}return!1}iS(a){return a instanceof sn?(a=this.playbackController.getSlidePlaybackController(a.index()))?!a.quizPlayer().autoStartAvailable():
!0:!1}FS(a){return a instanceof zn?(a=this.playbackController.getSlidePlaybackController(a.index()))?!a.scenarioPlayer().autoStartAvailable():!0:!1}KP(a){return a instanceof ek?(a=this.playbackController.getSlidePlaybackController(a.index()))?!a.interactionPlayer().autoStartAvailable():!0:!1}};function Dn(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""}function En(a){return a.classList?a.classList:Dn(a).match(/\S+/g)||[]}function Fn(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function Gn(a,b){return a.classList?a.classList.contains(b):Qa(En(a),b)}function Hn(a,b){if(a.classList)a.classList.add(b);else if(!Gn(a,b)){var c=Dn(a);Fn(a,c+(0<c.length?" "+b:b))}}
function In(a,b){a.classList?a.classList.remove(b):Gn(a,b)&&Fn(a,Array.prototype.filter.call(En(a),function(c){return c!=b}).join(" "))};function Jn(a,b){var c=Kn();a.style[c.Mn.transform]=b.isIdentity()?"":c.Gx(b)}function Ln(a){return Kn().Gx(a)}function Mn(a){return Kn().getTransform(a)}function Nn(a){var b=Kn();a=(a=tg(a,b.Mn.transformOrigin))?(a=On(a,2))?new Vc(a[0],a[1]):null:null;return a}function Pn(a,b,c){c=c||b;b=(new nl).setTransform(b,0,0,c,0,0);c=Kn();a.style[c.Mn.transform]=b.isIdentity()?"":c.Gx(b)}function Qn(a){const b=a.style.display;a.style.display="none";const c=a.offsetHeight;a.style.display=b;return c}
function Rn(a){return Math.floor(1E6*a)/1E6}var Sn=null;
function Kn(){if(Sn)return Sn;let a=null;const b=vd("DIV"),c=[["transform",Tn,{transform:"transform",transformOrigin:"transformOrigin"}],["webkitTransform",Tn,{transform:"webkitTransform",transformOrigin:"webkitTransformOrigin"}],["msTransform",Tn,{transform:"msTransform",transformOrigin:"msTransformOrigin"}],["MozTransform",Un,{transform:"MozTransform",transformOrigin:"MozTransformOrigin"}],["OTransform",Tn,{transform:"OTransform",transformOrigin:"OTransformOrigin"}]];for(let d=0;d<c.length;++d)if(void 0!==
b.style[c[d][0]]){a=new c[d][1](c[d][2]);break}if(!a)throw Error("browser doesn't support css matrix transformation");return Sn=a}function Tn(a){this.Mn=a}Tn.prototype.Gx=function(a){return`matrix(${a.nb.toFixed(5)},${a.Db.toFixed(5)},${a.Cb.toFixed(5)},${a.rb.toFixed(5)},${a.Hb.toFixed(5)},${a.Ib.toFixed(5)})`};Tn.prototype.getTransform=function(a){return(a=Vn(this,a))?new nl(a[0],a[1],a[2],a[3],a[4],a[5]):null};
function Vn(a,b){a="none"!=tg(b,"display")?tg(b,a.Mn.transform):b.style[a.Mn.transform];return 0==a.lastIndexOf("matrix(",0)?On(a,6):null}function On(a,b){const c=[];for(let d=0;d<b;++d){const e=a.match(/^.*?(-?\d+(?:\.\d+)?(e-?\d+)?)/);if(!e)return null;c[d]=parseFloat(e[1]);a=a.substr(e[0].length)}return c}function Un(a){this.Mn=a}va(Un,Tn);Un.prototype.Gx=function(a){return`matrix(${a.nb.toFixed(5)},${a.Db.toFixed(5)},${a.Cb.toFixed(5)},${a.rb.toFixed(5)},${a.Hb.toFixed(5)}px,${a.Ib.toFixed(5)}px)`};class Wn{constructor(a,b){this.Y=a;this.kS=b}type(){return this.Y}hy(){return this.kS}}Wn.prototype.relatedSlideIndex=Wn.prototype.hy;Wn.prototype.type=Wn.prototype.type;class Xn{constructor(a,b,c,d,e,f){this.wQ=a;this.sS=b;this.rS=c;this.zb=null!=d?d:null;this.vd=e||null;this.$n=f||null}XM(){return this.wQ}ly(){return this.sS}PE(){return this.rS}hy(){return this.zb}GW(){return this.vd}FW(){return this.$n}}Xn.prototype.relatedSlideShow=Xn.prototype.FW;Xn.prototype.relatedTimestamp=Xn.prototype.GW;Xn.prototype.relatedSlideIndex=Xn.prototype.hy;Xn.prototype.restrictionReason=Xn.prototype.PE;Xn.prototype.restrictionSource=Xn.prototype.ly;
Xn.prototype.navigationAction=Xn.prototype.XM;class Yn{constructor(a){this.Z=a;this.yI=!1;this.Ja=w("DIV");Hn(this.Ja,"framesLayer");this.Kd=new B;a.resizeEvent().addHandler(this.Oq,this)}Oq(a,b,c,d){this.Z.Nx()?vg(this.Ja,0,0):vg(this.Ja,c,d);E(this.Ja,"pointer-events","none");c="";this.yI||(c="rect(0px,"+a+"px,"+b+"px,0px)");E(this.Ja,"clip",c);this.Kd.D()}resizeEvent(){return this.Kd}position(a,b){const c=this.Z.Vi();return this.Fj(c.querySelector("#"+a),c,b||this.scale())}scale(){return this.Z.scale()}Fj(a,b,c){let d=new Vc(0,0);if(!a)return d;
a=zg(a);b=zg(b);d=$c(a,b);return d=new Vc(d.x/c,d.y/c)}displayObject(){return this.Ja}};var Zn=class extends Td{constructor(a,b){super("visibilitychange");this.hidden=a;this.visibilityState=b}};const $n=new WeakMap;function ao(a){var b=bo;const c=ma(a),d=([,...f])=>b(c,f),e=([f,...h])=>a.apply(f,h);return function(...f){const h=this||fa;let g=$n.get(h);g||(g={},$n.set(h,g));return Db(g,[this,...f],e,d)}}function bo(a,b){a=[a];for(let c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};function co(a){ye.call(this);this.vs=a||nd();if(this.BM=this.jV())this.ZU=me(this.vs.Qd,this.BM,ua(this.rV,this))}va(co,ye);n=co.prototype;n.jV=ao(function(){var a=!!this.zs(),b="hidden"!=this.zs();return a?b?((mg()||"")+"visibilitychange").toLowerCase():"visibilitychange":null});n.zs=ao(function(){return ng("hidden",this.vs.Qd)});n.nV=ao(function(){return ng("visibilityState",this.vs.Qd)});function eo(a){return!!a.vs.Qd[a.zs()]}
n.rV=function(){var a=this.zs()?this.vs.Qd[this.nV()]:null;a=new Zn(eo(this),a);this.dispatchEvent(a)};n.Ue=function(){ve(this.ZU);co.xc.Ue.call(this)};function fo(){this.Yj=new B}var go;n=fo.prototype;n.Dm=!1;n.zf=0;n.start=function(){if(this.Dm)throw Error("timer was already started");this.Dm=!0;this.zf=Date.now();ho()(this.vi.bind(this))};n.stop=function(){if(!this.Dm)throw Error("timer wasn't started");this.Dm=!1};n.isActive=function(){return this.Dm};n.vi=function(){if(this.Dm){const a=this.zf;this.zf=Date.now();this.Yj.D(this.zf-a);ho()(this.vi.bind(this))}};n.pb=function(){return this.Yj};var io=1E3/30;
function ho(){if(go)return go;const a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;return go=df||void 0===a?function(b){setTimeout(b,io)}:function(b){a(b)}};class jo{constructor(){this.K=[];this.Wu=1;this.Xh=this.Zb=0;this.vj=!1}push(a){this.vj||(this.K[this.Xh]=a,this.Xh=(this.Xh+1)%this.Wu,this.Zb=Math.min(this.Zb+1,this.Wu))}pop(){if(this.vj||this.sh())return null;this.Xh=0>this.Xh-1?this.Wu-1:this.Xh-1;this.Zb--;return this.K[this.Xh]}top(){return this.sh()?null:this.K[0>this.Xh-1?this.Wu-1:this.Xh-1]}sh(){return!this.Zb}size(){return this.Zb}lock(){this.vj=!0}unlock(){this.vj=!1}};const ko={WZ:"playingSlide",XZ:"playingTransition",SZ:"pausedTransition",RZ:"pausedSlide",iO:"suspended",BF:"buffering"};q("PresentationPlaybackState$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$PresentationPlaybackState",ko);q("PLAYING_SLIDE","playingSlide",ko);q("PAUSED_SLIDE","pausedSlide",ko);q("SUSPENDED","suspended",ko);q("PLAYING_TRANSITION","playingTransition",ko);q("PAUSED_TRANSITION","pausedTransition",ko);
q("BUFFERING","buffering",ko);class lo extends Ul{constructor(a,b,c){super(c);this.Av=a;this.ke=b}wh(){return this.Av}level(){return this.ke}}class mo{constructor(a,b,c){this.hh=null;this.lQ=a;this.Y=b;this.hh=void 0!==c?c:null}Ns(){return this.lQ}type(){return this.Y}Ce(){return this.hh}}class no{constructor(){this.Y="stopEffectChannel"}type(){return this.Y}};function oo(a){a=po(a);let b=null;for(let c=a.length-1;0<=c;--c){const d=a[c];b=b?b.add(d):d;if(d.absolute())break}return b}function po(a){return(Array.isArray(a)?a:a.qb()).sort((b,c)=>{b=b.clock();c=c.clock();return!!b!=!!c?b?1:-1:b&&c?El(b)-El(c):0})};class qo{constructor(a){this.$=a}duration(){return this.$}Es(a){return a<=this.$}sF(){return[this.$]}};function ro(a){a=a||document.styleSheets;for(var b=[],c=so(a),d=0;a=c[d];d++){var e=to(a);if(e&&e.length)for(var f=0,h=0,g=e.length,k;h<g;h++)k=e[h],k.href||(k.style&&(k.parentStyleSheet||(k.style["-closure-parent-stylesheet"]=a),k.style["-closure-rule-index"]=f),b.push(k)),f++}return b}function to(a){var b=null;try{b=a.cssRules||a.rules}catch(c){if(15==c.code)throw c.styleSheet=a,c;}return b}
function so(a,b){var c=[];a=a||document.styleSheets;b=void 0!==b?b:!1;if(a.imports&&a.imports.length)for(var d=0,e=a.imports.length;d<e;d++)Ya(c,so(a.imports[d]));else if(a.length)for(d=0,e=a.length;d<e;d++)Ya(c,so(a[d]));else{var f=to(a);if(f&&f.length){d=0;e=f.length;for(var h;d<e;d++)h=f[d],h.styleSheet&&Ya(c,so(h.styleSheet))}}!(a.type||a.rules||a.cssRules)||a.disabled&&!b||c.push(a);return c}
function uo(a){var b=nd(),c=b.Qd,d=b.createElement("STYLE");a:{var e=((c?c.parentWindow||c.defaultView:window)||fa).document;if(e.querySelector&&(e=e.querySelector('style[nonce],link[rel="stylesheet"][nonce]'))&&(e=e.nonce||e.getAttribute("nonce"))&&Sc.test(e))break a;e=""}e&&d.setAttribute("nonce",e);d.type="text/css";b.getElementsByTagName("HEAD")[0].appendChild(d);d.styleSheet?d.styleSheet.cssText=a:d.appendChild(c.createTextNode(a));return d};function vo(a){this.vb=a;if(a.parentNode!=wo()&&!Gd(document.body,a)){this.fl=Fd(a);let b=0,c=a;for(;c.previousSibling;)c=c.previousSibling,++b;this.Zm=b;xo(this);wo().appendChild(a)}}var yo={};vo.prototype.fl=null;function zo(a){if(a.fl){Ad(a.fl,a.vb,a.Zm);const b=yo[a.fl];b&&Ta(b,a.Zm)}}var Ao=null;
function wo(){if(!Ao){const a=w("div");E(a,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",top:0,left:0,whiteSpace:"nowrap"});I(a,0);const b="_"+kd();a.id=b;uo("#"+b+" * { position: absolute; }");document.body.appendChild(a);Ao=a}return Ao}function xo(a){yo[a.fl]||(yo[a.fl]=[]);const b=yo[a.fl];let c=0;Ja(b,function(d){d<=this.Zm&&++c},a);a.Zm+=c;b.push(a.Zm)};function Bo(a,b,c,d,e,f,h,g){this.yt=a;this.At=b;this.x1=c;this.y1=d;this.x2=e;this.y2=f;this.zt=h;this.Bt=g}Bo.prototype.clone=function(){return new Bo(this.yt,this.At,this.x1,this.y1,this.x2,this.y2,this.zt,this.Bt)};Bo.prototype.Ji=function(a){return this.yt==a.yt&&this.At==a.At&&this.x1==a.x1&&this.y1==a.y1&&this.x2==a.x2&&this.y2==a.y2&&this.zt==a.zt&&this.Bt==a.Bt};function Co(a,b){const c=w("canvas");void 0!==a&&(c.width=a);void 0!==b&&(c.height=b);return c}function Do(a,b){b=b instanceof nl?[b.nb,b.Db,b.Cb,b.rb,b.Hb,b.Ib]:b;a.transform(b[0],b[1],b[2],b[3],b[4],b[5])};class Eo{constructor(a,b){this.eI=null;this.hQ=a;this.eI=b||null}Wo(){return this.hQ}Ae(){return this.eI}}var Fo=[];function Go(a){a.Oc.clearRect(-a.yb.width,-a.yb.height,2*a.yb.width,2*a.yb.height)}function Ho(a,b){const c=a.yb.width,d=a.yb.height;a=a.Oc;switch(b){case Io[90]:a.rotate(.5*Math.PI);a.translate(0,-d);break;case Io[180]:a.rotate(Math.PI);a.translate(-c,-d);break;case Io[270]:a.rotate(1.5*Math.PI),a.translate(-c,0)}}
class Jo{constructor(a,b,c){this.qq=!1;this.wn="";this.xj=a;this.yb=this.Zd(b||100,c||100);this.Oc=this.yb.getContext("2d");this.Oc.fillStyle="rgba(255,255,255,1)";this.wn=Ko}Zd(a,b){return Co(a,b)}apply(a,b){const c=a.getContext("2d");c.save();this.we(this.qq?1-b:b);b=this.yb;c.scale(a.width/b.width,a.height/b.height);c.globalCompositeOperation=this.wn==Ko?"destination-in":"destination-out";c.drawImage(b,0,0);c.restore()}}var Ko="maskIn";const Io={0:"0",90:"90",180:"180",270:"270"};class Lo extends Jo{constructor(a,b,c){super(a,102,102);this.SO=6;this.xS=c;b||Ho(this,Io[90]);a=Math.ceil(this.yb.width/6);c=Math.ceil(this.yb.height/c);this.Wp=this.Zd(a,c);this.hw=this.Zd(this.yb.width+a,c)}we(a){Go(this);var b=this.Wp.width,c=this.Wp.height,d=this.Wp.getContext("2d");d.clearRect(0,0,b,c);d.fillStyle="rgba(255,255,255,1)";d.fillRect(0,0,b*a,c);a=this.hw.getContext("2d");a.clearRect(0,0,this.hw.width,this.hw.height);b=this.Wp;for(c=0;c<this.SO+1;++c)a.drawImage(b,c*b.width,0);a=
this.hw;b=a.height;c=this.Wp.width;d=this.Oc;for(let e=0;e<this.xS;++e)d.drawImage(a,e%2?-c/2:0,e*b)}}class Mo extends Lo{constructor(a){super(a,0<(a.Ae()&2),1)}}class No extends Lo{constructor(a){super(a,0<(a.Ae()&1),6)}};class Oo extends Jo{constructor(a){super(a);a.Ae()&4&&(this.wn="maskOut",this.qq=!0)}we(){}}class Po extends Oo{we(a){Go(this);var b=this.yb.width;a*=b;b=(b-a)/2;this.Oc.fillRect(b,b,a,a)}}class Qo extends Oo{constructor(a){super(a);a=this.yb.width/2;this.jQ=Math.ceil(Math.sqrt(2*a*a))}we(a){Go(this);const b=this.Oc,c=this.yb.width/2;a*=this.jQ;b.beginPath();b.arc(c,c,a,0,2*Math.PI,!1);b.fill()}}
class Ro extends Oo{constructor(a){super(a);a=this.yb.width;this.Oc.translate(a/2,a/2)}we(a){Go(this);const b=this.Oc;a*=this.yb.width;b.beginPath();b.moveTo(-a,0);b.lineTo(0,a);b.lineTo(a,0);b.lineTo(0,-a);b.fill()}}class So extends Oo{we(a){Go(this);const b=this.Oc,c=this.yb.width,d=c/2;a*=c;b.fillRect(0,d-a/2,c,a);b.fillRect(d-a/2,0,a,c)}};class To extends Jo{constructor(a,b){super(a);this.pG=a.Ae();b||(this.wn="maskOut",this.qq=!0);Ho(this,Io[270])}we(a){Go(this);const b=this.Oc,c=this.yb.width,d=2*Math.PI/this.pG;a*=d;b.save();b.translate(c/2,c/2);b.beginPath();for(let e=0;e<this.pG;++e){const f=d*e;b.moveTo(0,0);b.arc(0,0,c,f,f+a,!1);b.lineTo(0,0)}b.fill();b.restore()}}class Uo extends To{constructor(a){super(a,!0)}}class Vo extends To{constructor(a){super(a,!1)}};class Wo extends Jo{constructor(a){super(a);a=a.Ae();a&1&&Ho(this,Io[90]);a&4&&(this.wn="maskOut",this.qq=!0)}we(a){const b=this.yb;Go(this);a*=b.width;this.Oc.fillRect(b.width/2-a/2,0,a,b.height)}};function Xo(a){a=nk(mk(0,a));gb(a);return a}
class Yo extends Jo{constructor(a){super(a);this.IB=[];this.HB=[];for(a=0;5>a;++a)this.IB.push(Xo(100)),this.HB.push(this.Zd(20,20));const b=Xo(25);for(a=0;a<b.length;++a)b[a]%=5;this.TR=b}we(a){Go(this);const b=this.Oc;a=Math.floor(100*a);var c=this.IB.length;for(var d=0;d<c;++d){const e=this.IB[d],f=this.HB[d].getContext("2d");f.clearRect(0,0,20,20);f.fillStyle="rgba(255,255,255,1)";for(let h=0;h<a;++h){const g=e[h];f.fillRect(2*Math.floor(g/10),g%10*2,2,2)}}for(a=0;5>a;++a)for(c=20*a,d=0;5>d;++d)b.drawImage(this.HB[this.TR[5*
a+d]],c,20*d)}};class Zo extends Jo{constructor(a){super(a);a.Ae()&2&&Ho(this,Io[90]);this.dK=nk(mk(0,100));gb(this.dK)}we(a){Go(this);const b=this.Oc,c=this.yb.width;a=Math.floor(100*a);for(let d=0;d<a;++d)b.fillRect(0,this.dK[d],c,1)}};class $o extends Jo{constructor(a){super(a,96,96);a=a.Ae();this.eL=this.Zd(192,96);var b=80==a||160==a;const c=this.eL.getContext("2d");c.fillStyle="rgb(255,255,255)";c.fillRect(0,0,96,96);c.translate(96,0);for(let d=0;16>d;++d)c.fillRect(0,6*d,b?6*(16-d-1):6*d,6);a&32&&Ho(this,Io[180])}we(a){Go(this);this.Oc.drawImage(this.eL,-192*(1-a),0)}};class ap extends Jo{constructor(a){super(a);a.Ae()&16&&(this.wn="maskOut",this.qq=!0);Ho(this,Io[270])}we(a){Go(this);const b=this.Oc;a*=Math.PI;const c=this.yb.width;b.save();b.translate(c/2,c/2);b.beginPath();b.moveTo(0,0);b.arc(0,0,c,-a,a,!1);b.lineTo(0,0);b.fill();b.restore()}};class bp extends Jo{constructor(a){super(a);let b=Io[0];switch(a.Ae()){case 128:b=Io[90];break;case 64:b=Io[180];break;case 16:b=Io[270]}Ho(this,b)}we(a){const b=this.yb;Go(this);this.Oc.fillRect(0,0,b.width*a,b.height)}};class cp extends Jo{constructor(a){super(a)}we(a){const b=this.yb,c=this.Oc;Go(this);c.fillStyle="rgba(255,255,255,1)";c.fillRect(0,0,b.width*a,b.height)}};const dp={};function ep(a){switch(a.Wo()){case "wipe":return new bp(a);case "barn":return new Wo(a);case "checkerboard":return new No(a);case "blinds":return new Mo(a);case "dissolve":return new Yo(a);case "randombar":return new Zo(a);case "strips":return new $o(a);case "wedge":return new ap(a);case "wheelCw":return new Uo(a);case "wheelCcw":return new Vo(a);case "box":return new Po(a);case "circle":return new Qo(a);case "diamond":return new Ro(a);case "plus":return new So(a)}return new cp(a)};function fp(a,b){a.Tt!=b&&(a.Tt=b,a.XC(b))}function gp(a,b){if(a.oz!=b&&(a.oz=b)&&a.Jj){b=a.canvas();for(let c=0;c<a.Jj.length;++c)a.Jj[c](b);a.Jj=null}}function hp(a,b){a.Fs()?b(a.canvas()):(a.Jj||(a.Jj=[]),a.Jj.push(b))}
class ip{constructor(a){this.Jj=null;this.Tt=this.oz=!1;this.nz=null;this.sa=a}XC(a){const b=a?this.canvas():this.sa;a=a?this.sa:this.canvas();var c=a.parentNode;c&&c.replaceChild(b,a)}canvas(){this.nz||(this.nz=this.Zd());return this.nz}content(){return this.sa}Fs(){return this.oz}};function jp(a,b,c,d,e){this.Sd=!!b;this.node=null;this.Vd=0;this.mF=!1;this.sM=!c;a&&this.setPosition(a,d);this.depth=void 0!=e?e:this.Vd||0;this.Sd&&(this.depth*=-1)}va(jp,hk);n=jp.prototype;n.setPosition=function(a,b,c){if(this.node=a)this.Vd="number"===typeof b?b:1!=this.node.nodeType?0:this.Sd?-1:1;"number"===typeof c&&(this.depth=c)};n.clone=function(){return new jp(this.node,this.Sd,!this.sM,this.Vd,this.depth)};
n.next=function(){if(this.mF){if(!this.node||this.sM&&0==this.depth)return ik;var a=this.node;var b=this.Sd?-1:1;if(this.Vd==b){var c=this.Sd?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.Sd?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.Vd*(this.Sd?-1:1)}else this.mF=!0;return(a=this.node)?jk(a):ik};n.isStarted=function(){return this.mF};n.Gs=function(){return 1==this.Vd};n.OM=function(){return-1==this.Vd};
n.Ji=function(a){return a.node==this.node&&(!this.node||a.Vd==this.Vd)};n.splice=function(a){var b=this.node,c=this.Sd?1:-1;this.Vd==c&&(this.Vd=-1*c,this.depth+=this.Vd*(this.Sd?-1:1));this.Sd=!this.Sd;jp.prototype.next.call(this);this.Sd=!this.Sd;c=ja(arguments[0])?arguments[0]:arguments;for(var d=c.length-1;0<=d;d--)b.parentNode&&b.parentNode.insertBefore(c[d],b.nextSibling);Bd(b)};class kp{constructor(a){this.Ez=0;this.jj=a}context(){return this.jj}};function lp(a,b,c,d){var e=b.xh?b.xh.position:(0,a.hA)(b);(e.left||e.top)&&c.translate(e.left,e.top);e=b.xh?b.xh.transform:Mn(b);d&&(e||(e=new nl),e.translate(d,0));if(e){if((d=b.xh?b.xh.transformOrigin:Nn(b))&&(0!=d.x||0!=d.y)){const f=new nl;f.translate(d.x,d.y);ol(f,e);f.translate(-d.x,-d.y);e=f}Do(c,e);Ha(c.yo).push(e)}a=b.xh?b.xh.opacity:(0,a.cH)(b);c.globalAlpha*=a}
class mp{async(){return!1}Eh(a,b){a=b.context();a.save();a.yo.push([])}HN(a){a=a.context();a.restore();a.yo.pop()}lM(a,b){a=b.context();a.save();a.yo.push([])}kM(a){a=a.context();a.restore();a.yo.pop()}isVisible(a){return"none"!=tg(a,"display")}nN(a){a.xh={position:this.hA(a),opacity:this.cH(a),transform:Mn(a),transformOrigin:Nn(a)}}hA(a){const b=parseFloat(tg(a,"left"));a=parseFloat(tg(a,"top"));return{left:isNaN(b)?0:b,top:isNaN(a)?0:a}}cH(a){a=Hg(a);return"string"===typeof a?1:a}};class np extends mp{constructor(){super()}Eh(a,b){super.Eh(a,b);try{b.context().drawImage(a,0,0,a.width,a.height)}catch(c){}}};var op={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function pp(a){const b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(qp.test(c))return b.$D=rp(c),b.type="hex",b;a:{var d=a.match(sp);if(d){c=Number(d[1]);const e=Number(d[2]);d=Number(d[3]);if(0<=c&&255>=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}if(c.length)return b.$D=rl(c[0],c[1],c[2]),b.type="rgb",b;if(op&&(c=op[a.toLowerCase()]))return b.$D=c,b.type="named",b;throw Error(a+" is not a valid color string");}var tp=/#(.)(.)(.)/;
function rp(a){if(!qp.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(tp,"#$1$1$2$2$3$3"));return a.toLowerCase()}function rl(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(a!=(a&255)||b!=(b&255)||c!=(c&255))throw Error('"('+a+","+b+","+c+'") is not a valid RGB color');b=a<<16|b<<8|c;return 16>a?"#"+(16777216|b).toString(16).slice(1):"#"+b.toString(16)}function sl(a,b,c){0>c?c+=1:1<c&&--c;return 1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}
var qp=/^#(?:[0-9a-f]{3}){1,2}$/i,sp=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i;class up extends mp{constructor(){super()}Eh(a,b){super.Eh(a,b);lp(this,a,b.context());var c=b.context();try{const d=ug(a,"backgroundColor"),e=a.style.width,f=a.style.height;if(""!=d&&"transparent"!=d&&""!=e&&""!=f){const h=pp(d);c.save();c.fillStyle=h.$D;c.fillRect(0,0,parseFloat(e),parseFloat(f));c.restore()}}catch(d){}"block"==fa.window.getComputedStyle(a,null).display&&(b.Ez=0)}};class vp extends mp{Eh(a,b){super.Eh(a,b);lp(this,a,b.context());try{a.complete&&b.context().drawImage(a,0,0,a.width,a.height)}catch(c){}}};var wp=!Fb&&!wb();function xp(a){if(/-[a-z]/.test("width"))return null;if(wp&&a.dataset){if(zb()&&!("width"in a.dataset))return null;a=a.dataset.width;return void 0===a?null:a}return a.getAttribute("data-"+"width".replace(/([A-Z])/g,"-$1").toLowerCase())};const yp={};function zp(a){return a in yp?yp[a]:null}class Ap{constructor(a,b,c,d,e){this.ha=a;this.$T=b;this.JC=c;this.KO=d||!1;this.SP=e||!1}height(){return this.ha}yF(){return this.$T}bold(){return this.KO}italic(){return this.SP}};function Bp(a,b,c,d){const e=parseFloat(c.fontSize);let f=parseFloat(c.letterSpacing);var h=parseFloat(c.lineHeight);isNaN(h)&&(h=parseFloat(c.height));var g=zp(c.fontFamily);!g||isNaN(h)?isNaN(h)?(a.textBaseline="alphabetic",h=e):(a.textBaseline="middle",h*=.5):(a.textBaseline="alphabetic",h=.5*(e*g.height()+h)-e*(g.yF()+g.JC));if(isNaN(f))a.fillText(b,0,h),b=a.measureText(b).width;else{const k=[];let l=0;for(g=0;g<b.length;++g){const m=a.measureText(b[g]).width;k[g]=m;l+=m}d&&(f=(d-l)/(b.length-
1));for(g=d=0;g<b.length;++g)a.fillText(b[g],d,h),d+=k[g]+f;b=Math.max(d-f,0)}a:{switch(c.textDecoration){case "underline":c=e+2;break;case "overline":c=0;break;case "line-through":c=e/2+2;break;default:break a}a.fillRect(0,c,b,1)}}function Cp(a){const b=new nl;a=a.yo;for(let c=0;c<a.length;++c)Ja(a[c],d=>{var e=d=d.clone(),f=-d.Ib;e.Hb+=-d.Hb;e.Ib+=f;ol(b,d)});return b}
class Dp extends mp{constructor(){super()}Eh(a,b){super.Eh(a,b);const c=b.context(),d=Eb?a.currentStyle:fa.window.getComputedStyle(a,null);var e=0;"relative"==d.position&&(e=b.Ez,b.Ez=e+a.offsetWidth);Fb&&"rtl"==d.direction&&"relative"==d.position&&(b=a.xh?a.xh.position:(0,this.hA)(a),b.left&&(e-=2*b.left));lp(this,a,c,e);e=a.innerHTML;e=-1!=e.indexOf("&")?"document"in fa?dd(e):fd(e):e;if(ib(e)){c.font=[d.fontStyle,d.fontVariant,d.fontWeight,d.fontSize,d.fontFamily].join(" ");c.fillStyle=d.color;
a=parseFloat(xp(a));if(b=d.textShadow){var f=b.match(/rgba?\([^)]+\)/);if(f){var h=f[0];b=b.replace(h,"");b=(f=b.match(/(-?\d+(?:.\d+)?).*\s(-?\d+(?:.\d+)?).*\s(-?\d+(?:.\d+)?)/))?{color:h,offsetX:parseFloat(f[1]),offsetY:parseFloat(f[2]),blur:parseFloat(f[3])}:null}else b=null}else b=null;b?(c.save(),c.fillStyle="rgba(0,0,0,1)",f=2*c.canvas.width,c.translate(f,0),h=c.canvas.hasAttribute("data-scale-x")?c.canvas.getAttribute("data-scale-x"):1,f=[-f*h,0],Cp(c).transform(f,0,f,0,1),c.shadowOffsetX=
b.offsetX+f[0],c.shadowOffsetY=b.offsetY+f[1],c.shadowColor=b.color,c.shadowBlur=b.blur,Bp(c,e,d,a),c.restore()):Bp(c,e,d,a)}}};function Ep(a,b){const c=Co();canvg(c,a,{ignoreMouse:!0,ignoreAnimation:!0});try{b.drawImage(c,0,0)}catch(d){}}function Fp(a,b,c){a=Gp(a);const d=w("img");d.onload=function(){0<d.width&&0<d.height?b.drawImage(d,0,0):Ep(a,b);d.onload=null;d.onerror=null;c()};d.onerror=function(){d.onload=null;d.onerror=null;c()};d.src="data:image/svg+xml;base64,"+cg(a)}
function Gp(a){0>a.indexOf("http://www.w3.org/2000/svg")&&(a='<svg xmlns="http://www.w3.org/2000/svg" '+a.substr(5));a=a.replace(/style="[^"]*"/,"");return a=a.replace(/<a[^>]*>/g,"").replace(/<\/a>/g,"")}class Hp extends mp{constructor(){super()}async(){return!Eb}Eh(a,b){Ep(ib(Id(a)),b.context())}HN(){}lM(a,b,c){Fp(ib(Id(a)),b.context(),c)}kM(a,b){b()}nN(){}};function Ip(a,b,c,d){const e=b.getContext("2d");e.clearRect(0,0,b.width,b.height);d&&(b.setAttribute("data-scale-x",d.width),e.scale(d.width,d.height));b=new Jp;b.ui.div=new up;b.ui.a=new up;b.ui.img=new vp;b.ui.span=new Dp;b.ui.svg=new Hp;b.ui.canvas=new np;b.ui.video=new np;b.cG=new kp(e);e.yo=[];b.uz=c||null;b.OH=new Kp(a,b.ui,b.ez)}
class Jp{constructor(){this.cG=this.OH=this.uz=null;this.ui={};this.ez=this.oP.bind(this)}oP(){const a=this.ui,b=this.OH;let c;for(;c=b.next();){const d=a[c.nodeName.toLowerCase()],e=d.async(),f=this.cG;b.OM()?e?d.kM(f,this.ez):d.HN(f):e?d.lM(c,f,this.ez):d.Eh(c,f);if(e)return}c||this.uz&&this.uz()}}
class Kp{constructor(a,b,c){this.$d=-1;this.mb=[];const d=new vo(a),e=this;setTimeout(()=>{const f=new jp(a);for(;;){var h=f.next();if(h.done)break;h=h.value;if(h!==a){var g=h.nodeName.toLowerCase();if(g in b){var k=f.Gs();g=b[g];const l=h.hasAttribute("data-draw-ignore");k&&!g.isVisible(h)||l?(h=f,k=h.Sd?-1:1,h.Vd==k&&(h.Vd=-1*k,h.depth+=h.Vd*(h.Sd?-1:1))):(k&&g.nN(h),e.mb.push({element:h,Gs:k}))}}}zo(d);c()},0)}next(){this.$d<this.mb.length&&++this.$d;return this.$d<this.mb.length?this.mb[this.$d].element:
null}Gs(){if(0<=this.$d&&this.$d<this.mb.length)return this.mb[this.$d].Gs;throw Error("iteration ended or not started, current item is null");}OM(){return!this.Gs()}};function Lp(a,b){for(let c=0;c<a.Xt.length;++c)E(a.Xt[c],"visibility",b?"visible":"hidden")}function Mp(a){a=a.canvas();a.getContext("2d").clearRect(0,0,a.width,a.height)}function Np(a){if(!a.Dv){if(!a.Rq){a.Rq=a.Zd();const b=a.mJ;if(b){const c=a.Rq.getContext("2d");Do(c,b)}}a.Dv=!0;a.CB=!1;gp(a,!1);Mp(a);Ip(a.content(),a.Rq,a.dR.bind(a))}}
class Qp extends ip{constructor(a,b,c){super(a);this.Xt=this.mJ=null;this.CB=this.Dv=this.QF=!1;this.Rq=null;this.YO=Math.ceil(b);this.WO=Math.ceil(c)}XC(a){if(this.QF){const b=this.content(),c=this.canvas();if(!this.Xt){const d=Cd(this.content());this.Xt=Wa(d)}a?(b.appendChild(c),Lp(this,!1)):(Bd(c),Lp(this,!0))}else super.XC(a)}Zd(){return Co(this.YO,this.WO)}dR(){this.Dv=!1;this.CB=!0;this.gy()}gy(){this.CB&&(Mp(this),this.canvas().getContext("2d").drawImage(this.Rq,0,0),gp(this,!0))}};class Rp extends ip{Zd(){const a=this.content(),b=w("canvas");var c=Mn(a);let d=1,e=1;c&&(d=c.nb,e=c.rb);c=a.height*e;b.width=a.width*d;b.height=c;return b}gy(){var a=this.canvas();const b=this.content(),c=a.getContext("2d");c.clearRect(0,0,a.width,a.height);a=Vn(Kn(),b);let d=0,e=0,f=1,h=1;a&&(d=a[4],e=a[5],f=a[0],h=a[3],c.setTransform(f,a[1],a[2],h,d,e));c.drawImage(b,-d/f,-e/h,b.width,b.height);gp(this,!0)}};class Sp extends am{constructor(a,b,c,d,e){super(c,d,e);this.xj=a;this.Me=b}progress(){return this.Me}};class Tp extends am{constructor(a,b,c,d){super(b,c,d);this.pO=null!=a?a:100}alpha(){return this.pO}};function Up(a){const b=new Zl;for(let c=0;c<a.length;++c)b.re[a[c]]="";return b}function Vp(a,b,c){c=c||a.vb;a=uc(b.re);for(let d=0;d<a.length;++d){const e=a[d];let f=e in b.re?b.re[e]:"";"font-size"==e&&""!==f&&(f+="px");E(c,e,f)}}
function Wp(a,b){var c=b&&b instanceof Tp?b.alpha():"";I(a.vb,c);const d=a.Uu;b&&b instanceof Sp?!d.Dv&&Xp(a,b)&&((c=!d.Tt)?Np(d):d.gy(),hp(d,e=>{var f=b.xj;var h=ma(f)+"";h in dp?h=dp[h]:(f=ep(f),h=dp[h]=f);h.apply(e,b.progress());ih(e,"50% 50%");Jn(e,a.gQ);fp(d,!0)}),c&&.1>b.progress()&&fp(d,!0)):(d.Jj=null,d.Tt&&fp(d,!1))}function Xp(a,b){a=km(a.R,"filter");return a instanceof Sp&&b.progress()==a.progress()&&b.xj.Wo()==a.xj.Wo()&&b.xj.Ae()==a.xj.Ae()?!1:!0}
function Yp(a,b){const c=a.EP;if(c)if(b=b.color(),(a=tl(a.hg,"imgColor"))&&b.Ji(a))fp(c,!1);else{const d=b.qb("rgb");c.Fs()||c.gy();hp(c,e=>{const f=e.getContext("2d");try{const h=f.getImageData(0,0,e.width,e.height),g=h.data;for(e=0;e<g.length;e+=4)g[e]=d[0],g[e+1]=d[1],g[e+2]=d[2];f.putImageData(h,0,0);fp(c,!0)}catch(h){}})}}
function Zp(a,b,c){b=b.color().toString();a=a.vb.querySelectorAll("path,rect,circle,g,ellipse");for(let d=0;d<a.length;++d){const e=a[d],f=e.getAttribute(c);f&&"none"!=f&&e.setAttribute(c,b)}}
class $p{constructor(a,b,c){const d=new vo(b);this.hg=a;this.vb=b;this.on=c;this.R=new vm;this.Eu();a=new Qp(this.vb,this.hg.ia().width,this.hg.ia().height);a.QF=!0;b=new nl;let e=new nl;const f=Nn(this.vb)||new Vc;b.translate(f.x,f.y);var h=this.hg.Qf();h&&(b=ol(b,h),e=ol(e,pl(h)));if(h=this.hg.hf())b=ol(b,h),e=ol(e,pl(h));b.translate(-f.x,-f.y);a.mJ=b;const {KV:g,NV:k}={KV:a,NV:e};this.Uu=g;this.gQ=k;a=this.vb.querySelector("img");this.EP=a instanceof HTMLImageElement?new Rp(a):null;this.EH=!0;
sf&&(jm(c,"moveX")||jm(c,"moveY"))&&(this.vb.style.willChange="transform");zo(d)}Eu(){var a="none"!=tg(this.vb,"display");jm(this.on,"visibility",!0).add(new im(a));a=this.hg.Ty;0<a.length&&jm(this.on,"cssProperties",!0).add(Up(a));a=this.hg.Uy;0<a.length&&jm(this.on,"cssTextProperties",!0).add(Up(a));if(this.hg.UG){a=this.on;var b=this.vb.querySelectorAll("span")[0];if(b&&(b=parseInt(tg(b,"font-size"),10),!isNaN(b))){var c=um(a);c||(c=new Zl,jm(a,"cssTextProperties",!0).add(c));c.re["font-size"]=
b}}a=this.on;b=["textColor","fillColor","strokeColor","imgColor"];for(c=0;c<b.length;++c){const d=b[c],e=tl(this.hg,d);e&&jm(a,d,!0).add(new Yl(e,0,!0))}}Di(a){const b=this.vb;var c=km(a,"visibility",im).visible(),d=c?"inherit":"none",e=this.vb,f=e.style[ld("display")];("undefined"!==typeof f?f:e.style[rg(e,"display")]||"")!=d&&(E(this.vb,"display",d),c?!mf&&rf&&Qn(this.vb):(d=this.vb.querySelector("video"))&&!d.paused&&d.pause());if(c){(c=km(a,"cssProperties"))&&c!=km(this.R,"cssProperties")&&Vp(this,
c);if((c=um(a))&&c!=um(this.R))for(d=this.vb.querySelectorAll("span"),e=0;e<d.length;++e)Vp(this,c,d[e]);(c=km(a,"fillColor"))&&c!=km(this.R,"fillColor")&&Zp(this,c,"fill");(c=km(a,"strokeColor"))&&c!=km(this.R,"strokeColor")&&Zp(this,c,"stroke");if((c=km(a,"textColor"))&&c!=km(this.R,"textColor"))for(c=c.color().toString(),d=this.vb.querySelectorAll("span"),e=0;e<d.length;++e){f=d[e];let g;if(f.currentStyle)g=f.currentStyle.textShadow;else{var h=void 0;g=null==(h=window.getComputedStyle(f,null))?
void 0:h.textShadow}g&&"none"!=g||E(f,"color",c)}(h=km(a,"imgColor"))&&h!=km(this.R,"imgColor")&&Yp(this,h);Wp(this,km(a,"filter"));if(nm(a).Ta!=nm(this.R).Ta||om(a).Ta!=om(this.R).Ta||lm(a).angle()!=lm(this.R).angle()||mm(a).angle()!=mm(this.R).angle()||pm(a).scale()!=pm(this.R).scale()||qm(a).scale()!=qm(this.R).scale()||rm(a).scale()!=rm(this.R).scale()||sm(a).scale()!=sm(this.R).scale()||tm(a).shift()!=tm(this.R).shift())d=new nl,d.translate(nm(a).Ta,om(a).Ta),d.rotate(lm(a).angle()+mm(a).angle(),
0,0),d.scale(pm(a).scale()*qm(a).scale(),rm(a).scale()*sm(a).scale()),h=d,c=tm(a).shift(),e=h.nb,f=h.Db,h.nb+=0*h.Cb,h.Db+=0*h.rb,h.Cb+=c*e,h.rb+=c*f,h=d,(c=this.hg.hf())&&(h=ol(h,c)),(c=this.hg.Qf())&&(h=ol(c.clone(),h)),Jn(b,h);this.EH&&(E(this.vb,{top:0,left:0}),Lb&&Qn(this.vb));this.EH=!1;this.R=a}}};function aq(a){return"string"!==typeof a.className}function bq(a,b){a.className.baseVal=b}function cq(a){return aq(a)?(a=a.className.baseVal,"string"===typeof a&&a.match(/\S+/g)||[]):En(a)}function dq(a,b){return aq(a)?Qa(cq(a),b):Gn(a,b)}function eq(a,b){if(aq(a)){if(!dq(a,b)){let c=a.className.baseVal;c+=0<a.className.baseVal.length?` ${b}`:b;bq(a,c)}}else Hn(a,b)}function fq(a,b){aq(a)?dq(a,b)&&bq(a,Ma(cq(a),c=>c!=b).join(" ")):In(a,b)};var gq=["touchstart","mousedown"],hq=["touchend","mouseup"],iq=["touchmove","mousemove"];function jq(a,b){b.forEach(c=>{const d=c.dataset.shapeId;a.jq.has(d)?a.jq.get(d).push(c):a.jq.set(d,[c]);kq(a,c)})}function kq(a,b){if(b.dataset.hoverStyle||b.dataset.activeStyle){const c=b.dataset.shapeId;x(a,b,"mouseover",d=>a.Nq(d,c));x(a,b,"mouseout",d=>a.Mq(d,c));x(a,b,gq,()=>lq(a,c));x(a,b,hq,()=>mq(a,c))}}function lq(a,b){nq(a,b,c=>{var d=c.dataset.activeStyle;d&&eq(c,d)})}function mq(a,b){nq(a,b,c=>{var d=c.dataset.activeStyle;d&&fq(c,d)})}function nq(a,b,c){a.jq.get(b).forEach(d=>c(d))}
function oq(a,b){nq(a,b,c=>{var d=c.dataset.hoverStyle;d&&eq(c,d)})}function pq(a,b){nq(a,b,c=>{var d=c.dataset.hoverStyle;d&&fq(c,d)})}function qq(a,b,c){return!a.jq.get(c).find(d=>d.contains(b.relatedTarget))}class rq extends Vh{constructor(a){super();this.jq=new Map;jq(this,a)}Nq(a,b){qq(this,a,b)&&oq(this,b)}Mq(a,b){qq(this,a,b)&&(pq(this,b),mq(this,b))}};function sq(a,b){if(a=a.querySelector(`#${b}`)){var c="div"==a.tagName.toLowerCase()?tq(a):[a];uq(a);vq(c,b);return c}return[]}
function tq(a){var b=Array.from(a.querySelectorAll("svg"));const c=Array.from(a.querySelectorAll("img, span"));b=[...b.map(d=>{let e;const f=Array.from(d.children);1==f.length&&"a"==f[0].tagName.toLowerCase()?e=f[0]:(e=document.createElementNS("http://www.w3.org/2000/svg","a"),e.setAttribute("fill","none"),e.append(...f),d.append(e));return e}),...c.map(d=>{{const f=d.parentNode;if("a"==f.tagName.toLowerCase())d=f;else{var e=document.createElement("a");e.href="#";e.append(d);f.append(e);d=e}}return d})];
return b.length?b:[a]}function uq(a){1<a.children.length&&a.querySelectorAll("path").forEach(b=>b.style.pointerEvents="bounding-box")}function vq(a,b){a.forEach(c=>{c.qt=b;c.querySelectorAll("a").forEach(d=>{d.qt=b});c.style.cursor="pointer"})};function wq(a,b){for(const c of b)(b=Vj(a,c))&&eq(b,"visited")}function xq(a){a.Nb.forEach(b=>yq(a,b))}function yq(a,b){sq(a.content(),b).forEach(c=>{x(a,c,"click",a.CR,a)})}
class zq extends Wj{constructor({content:a,mode:b="normal",rt:c}){super(a,b);this.Nb=c;this.ta=K(this);this.oo=K(this);this.Au=null;this.wz=!1}Mx(a){if(!this.wz){wq(this,a);a=this.content().querySelectorAll("span");for(let b=0;b<a.length;++b){const c=a[b],d=window.getComputedStyle(c,null),e=zp(d.fontFamily);e&&(e.JC&&(c.style.top=`${(parseFloat(d.top)||0)+e.JC*(parseFloat(d.fontSize)||0)}px`),e.bold()&&(c.style.fontWeight="normal"),e.italic()&&(c.style.fontStyle="normal"))}Le(this,this.Au);this.Au=
null;a=this.content().querySelectorAll("[data-shape-id]");a.length&&(this.Au=new rq(a),Ke(this,this.Au));this.KF();this.wz=!0}}HK(){this.wz=!1}KF(){"normal"==this.mI&&(x(this,this.content(),"click",this.KQ,this),xq(this))}KQ(a){a.stopPropagation();this.ta.D(this,a)}CR(a){if(a.target&&a.target instanceof HTMLVideoElement&&a.target.controls)a.stopPropagation();else{var b=a.currentTarget;if(b&&b.qt){const c=new Dh;this.oo.D(b.qt,c);a.stopPropagation();c.actionPrevented()&&a.preventDefault()}}}};function Aq(a,b,c){const d=b.id();if(a.Vy[d])return a.Vy[d];let e=null;const f=Vj(a.aT,b.id());f&&(e=new $p(b,f,c));return a.Vy[d]=e}class Bq{constructor(a,b){this.X=a;this.aT=b;this.Vy={}}};function Cq(a,b){for(let f=0;f<a.count();++f){var c=gm(a,f),d=c.wh();if(d instanceof mo){var e=b;const h=d.Ns();c=0==c.level();switch(d.type()){case "play":e.play(h,d.Ce(),c);break;case "pause":e.pause(h,c);break;case "stop":e.stop(h);break;default:throw Error("unknown operation type");}}else if(d instanceof no)switch(c=b,d.type()){case "stopEffectChannel":c.BN();break;default:throw Error("unknown operation type");}else throw Error("unknown operation");}}
class Dq{constructor(a){this.fT=new Eq(a);this.QT=new Fq(a)}process(a){const b=jm(a,"sound");b&&Cq(b,this.fT);(a=jm(a,"video"))&&Cq(a,this.QT)}}class Eq{constructor(a){this.ja=a}play(a,b,c){var d=this.ja;a=Kq(d,a);null!=d.Ol.ka&&a&&Nq(d.ja,a,b,c)}pause(a,b){var c=this.ja;a=Kq(c,a);if(null!=c.Ol.ka&&a){c=c.ja;const d=Oq(c,a);d.playing()?d.pause():Nq(c,a,null,b)}}stop(a){var b=this.ja;a=Kq(b,a);null!=b.Ol.ka&&a&&Oq(b.ja,a).stop()}BN(){var a=this.ja;null!=a.Ol.ka&&Pq(a.ja)}}
class Fq{constructor(a){this.ja=a}play(a,b,c){this.ja.playVideo(a,b,c)}pause(a,b){this.ja.pauseVideo(a,b)}stop(a){this.ja.stopVideo(a,!0)}BN(){throw Error("unsupported operation");}};class Qq{constructor(a,b,c){this.ne=a;this.Wa=b;this.AT=c}apply(a){jm(a.ym().get(this.ne),this.Wa,!0).add(this.AT)}};class Rq extends Am{constructor(a,b){super();this.ne=a;this.R=b}Jb(a){a=a.tb;const b=fm();for(let d=0;d<b.length;++d){const e=b[d];var c=jm(this.R,e,!1);c&&0<c.count()&&(c=gm(c,0),a.add(new Qq(this.ne,e,c)))}}Ye(){}};class Sq{constructor(a){this.R=a}state(){return this.R}}class Tq extends Sq{constructor(a){super("waitForTrigger");this.PC=a}Rf(){return this.PC}};class Uq{constructor(a){this.Df=a}Ee(a,b,c,d,e){b=Vq(e);c=null;const f=new bn(this.Df);for(;f.next()&&f.Rf()!==b;){const h=f.actions();f.Rf()?c=Wq(e,f.Rf()):h&&c&&h.complete(a,c.Uj)}c=new bn(this.Df);c.seekTo(b);e=Wq(e,b).Uj;c.next()&&c.actions()&&(b=c.actions(),b.duration()<=d?b.complete(a,e):b.Jb(d,a,e))}};function Xq(a,b,c,d,e,f){e=Math.round(e);f=Math.round(f);a=new dn(a.Df);for(a.seekTo(c);a.next()&&cn(a);){c=cn(a);const h=Math.round(c.fC);h>=e&&h<=f&&c.Jb(b,d.add(h))}}class Yq{constructor(a){this.RJ=null;this.ii=-1;this.Df=a}Ee(a,b,c,d,e,f){if(f){f=Vq(e);var h=Wq(e,f).Uj;this.RJ==c&&this.ii==b&&(b+=1);f===c?Xq(this,a,f,h,b,d):(e=Wq(e,c).Uj,Xq(this,a,c,e,b,Number.MAX_VALUE),Xq(this,a,f,h,0,d));this.RJ=f;this.ii=d}}};function Zq(a,b){const c=new bn(a.Df);var d=Vq(a.Rb);d&&c.seekTo(d);d=null;let e="completed";for(;c.next();){const f=c.actions(),h=c.Rf();if(h&&h.required()){d=h;e="waitForTrigger";break}else if(f&&(!b||a.Ab<f.duration())){e="playing";break}}a.qe&&"playing"==a.qe.state()&&e!=a.qe.state()&&a.no.D();if("waitForTrigger"==e){if(!d)throw Error("requiredTrigger must be set for WAIT_FOR_TRIGGER state");a.qe=new Tq(d)}else a.qe=new Sq(e)}
function $q(a,b){function c(e){for(;Zm(e)&&!e.Rf().required(););return e.Rf()}const d=new bn(a.Df);(a=Vq(a.Rb))&&d.seekTo(a);if(a=c(d))return a.nx(b);d.reset();Zm(d);return(a=c(d))&&a.nx(b)}
class ar{constructor(a,b){this.Ab=0;this.wd=a;this.Df=b;this.Rb=new br(Qm(b.Kl),a);this.oI=[new Uq(b),new Yq(b)];this.ZO=new Pl;this.reset(0);this.no=new B}vp(){return this.no}timeline(){return this.Df}time(){return this.Ab}resume(a){const b=Vq(this.Rb);b&&Hl(Wq(this.Rb,b),this.Ab,a)}seek(a,b){if(a<this.Ab)throw Error("can't seek backward, use reset() and seek after that");var c=Vq(this.Rb);c&&(c=Wq(this.Rb,c),Hl(c,this.Ab,b,!0),Hl(c,a,b));this.Ab=a}Ee(a,b,c){const d=Vq(this.Rb);if(!d)throw Error("at least one trigger must be activated for running timeline playback");
c=void 0!==c?c:!0;const e=this.Ab;a=e+a;var f=Wq(this.Rb,d).Uj,h=0,g=new bn(this.Df);for(g.seekTo(d);g.next();){var k=g.actions();if(k){if(h=k.duration(),h>a)break}else if(k=g.Rf(),k.required())break;else f=new Il(El(f.add(h))),this.Rb.Pd(k,f),f=f.Uj,a-=h,h=0}this.Ab=a;b=new zm(b,this.ZO);for(g=0;g<this.oI.length;++g)this.oI[g].Ee(b,e,d,a,this.Rb,c);Zq(this,!0);b.tb.apply(b);return b.ym()}xo(a,b){if(!$q(this,a))return!1;var c=new bn(this.Df);const d=Vq(this.Rb);d&&c.seekTo(d);let e=null;const f=[];
for(;Zm(c);){const h=c.Rf();if(h.nx(a)){e=h;break}else{if(h.required())break;f.push(h)}}if(!e)return this.reset(b),this.xo(a,b);d&&"playing"==this.qe.state()&&Hl(Wq(this.Rb,d),this.Ab,b,!0);if(0<f.length)for(a=new Il(b),Hl(a,0,b,!0),c=0;c<f.length;++c)this.Rb.Pd(f[c],a);this.Rb.Pd(e,new Il(b));this.Ab=0;Zq(this,!1);return!0}reset(a){this.Rb.clear();this.Rb.Pd(this.Df.hl[0],new Il(a));this.Ab=0;Zq(this,!1)}playbackState(){return this.qe}persistState(){const a={s:this.qe.state(),t:this.Ab,T:this.Rb.persistState()};
"waitForTrigger"==this.qe.state()&&(a.nt=this.qe.Rf().id());return a}restoreState(a){const b=a.s;this.qe="waitForTrigger"==b?new Tq(this.wd.Nb[a.nt]):new Sq(b);this.Ab=a.t;this.Rb=new br(Qm(this.Df.Kl),this.wd,a.T)}}function Vq(a){const b=a.Nb.length;return 0<b?a.Nb[b-1]:null}function Wq(a,b){b=Ia(a.Nb,b);if(0>b)throw Error("trigger wasn't activated");return a.Vr[b]}
class br{constructor(a,b,c){this.Dt=a;this.wd=b;this.Nb=[];this.Vr=[];if(c){a=c.t;b=c.at;for(let d=0;d<a.length;++d){const e=this.wd.Nb[a[d]];c=b[d];const f=new Il(c.t);f.jh=Wa(c.p);this.Pd(e,f)}}}persistState(){const a=[];Ja(this.Nb,c=>{a.push(c.id())},this);const b=[];Ja(this.Vr,c=>{b.push(c.persistState())},this);return{t:a,at:b}}Pd(a,b){b.Dt=this.Dt[this.Vr.length];this.Nb.push(a);this.Vr.push(b)}clear(){this.Nb=[];this.Vr=[]}};function cr(a){const b=a.X;var c=b.vn;if(!c)throw Error("slide must contain main timeline");dr(a);a.Mc=new ar(b.wd,c);a.Mc.vp().addHandler(()=>{a.no.D(a.zb)});c=b.HH;a.fg=[];for(let d=0;d<c.length;++d){const e=new ar(b.wd,c[d]);a.fg.push(e);e.vp().addHandler(()=>{a.no.D(a.zb)})}}
function dr(a){a.X.HA&&a.X.Fm.qb().forEach(b=>{if(!a.CA.includes(b.id())){var c=a.Xi.get(b.id());er(a,b)&&(jm(c,"moveX",!0).add(new bm(b.ia().left,!0)),jm(c,"moveY",!0).add(new bm(b.ia().top,!0)));if(c=(c=Aq(a.SL,b,c))?c.on:null)c=new Rq(b.id(),c),a.X.vn.AA.Od(c),a.X.vn.Kl.Od(b.id(),new qo(0),0),a.CA.push(b.id())}})}function er(a,b){return!a.X.Zn.find(c=>c.hb&&c.hb.id==b.id()||!!c.Hg.find(d=>d.id==b.id()))}function fr(a,b){a&&(a.reset(b),a.timeline().Kl.reset())}
function gr(a){if(!a.Mc)throw Error("animation controller isn't activated");}function hr(a){return"completed"==a.Mc.playbackState().state()?a.X.va().count()-1:a.Mc.Rb.Nb.length-1-1}function ir(a,b){const c=b.slideIndex();return 0>b.stepIndex()||c!=a.zb?!1:!0}
class jr{constructor(a,b,c,d,e){this.X=a;this.J=c;this.Xb=e;this.no=new B;this.zb=a.index();this.Xi=new wm;this.SL=new Bq(a,b);this.oQ=new Dq(d);this.fg=this.Mc=null;this.wa=!1;this.CA=[];a.Zn.forEach(f=>jn(f).forEach(h=>this.Xi.set(h.id,h.state)))}vp(){return this.no}persistState(){const a=[];Ja(this.fg,b=>{a.push(b.persistState())},this);return{m:this.Mc.persistState(),i:a}}restoreState(a){this.Mc||cr(this);this.Mc.restoreState(a.m);this.ky(a);this.vi(0,0)}ky(a){Ja(a.i,(b,c)=>{this.fg[c].restoreState(b)})}reset(a,
b){void 0===a&&(a=-1);void 0===b&&(b=0);this.Mc||cr(this);this.Wv=this.Lh();this.YJ=a;this.ZJ=b;fr(this.Mc,this.Wv);0<=a&&(this.vi(0,0),this.seek(a,b));this.vi(0,0,!1)}KE(){this.X.Fm.qb().some(a=>!this.CA.includes(a.id()))&&(this.X.vn.AA.$=-1,dr(this),this.reset(0,0))}activate(){if(this.wa)throw Error("already activated");this.wa=!0;this.J.pb().addHandler(this.Oa,this);this.J.Gg().addHandler(this.BI,this)}deactivate(){gr(this);this.wa=!1;this.J.pb().removeHandler(this.Oa,this);this.J.Gg().removeHandler(this.BI,
this)}play(){gr(this);this.Mc.resume(this.Lh())}pause(){gr(this)}vi(a,b,c){var d=[];c=void 0!==c?c:this.J.Td();a=this.Mc.Ee(a,this.Xi,c);d.push(a);for(a=0;a<this.fg.length;++a)d.push(this.fg[a].Ee(b,this.Xi));b=[];for(a=0;a<d.length;++a)b=b.concat(uc(d[a].ih));ab(b);Qa(b,"__mediaTransforms")||b.push("__mediaTransforms");this.Xi.remove("__mediaTransforms");a=d.length;for(c=0;c<b.length;++c){var e=b[c],f=[];for(var h=0;h<a;++h)d[h].contains(e)&&f.push(d[h].get(e));if(1==f.length)h=f[0];else if(1<f.length){h=
void 0;var g=fm(),k=g.length;h=h||new vm;for(var l=0;l<f.length;++l){var m=f[l];for(var p=0;p<k;++p){var r=jm(m,g[p],!1);r&&jm(h,g[p],!0).concat(r)}}}else continue;f=new vm;g=fm();for(k=0;k<g.length;++k)if(l=g[k],m=jm(h,l,!1)){p=m;if(0<p.count())if(m=gm(p,0),m instanceof Yl){m=[];for(r=0;r<p.count();++r){var t=gm(p,r),v=t.priority();m[v]||(m[v]=[]);m[v].push(t)}m=oo(new hm(m.pop()))}else if(m instanceof Xl)m=oo(p);else if(m instanceof am){m=po(p);p=null;for(r=m.length-1;0<=r;--r)if(t=m[r],!p||p.level()>
t.level())p=t;m=p}else if(m instanceof Zl){m=po(p);p=null;for(r=0;r<m.length;++r)t=m[r],p=p?p.add(t):t;m=p}else if(m instanceof lo)if(0<p.count()){r=[];m=[];for(t=0;t<p.count();++t)v=gm(p,t),v.wh()instanceof mo?r.push(v):m.push(v);p={};for(t=0;t<r.length;++t){v=r[t];var z=v.wh().Ns();z in p||(p[z]=[]);p[z].push(v)}r=[];for(z in p)p.hasOwnProperty(z)&&(t=p[z],t=po(t),0<t.length&&r.push(t.pop()));m=po(Va(r,m));m=new hm(m)}else m=null;else m=po(p),m=0<m.length?m.pop():null;else m=null;m&&(m instanceof
hm?jm(f,l,!0).concat(m):jm(f,l,!0).add(m))}h=f;this.Xi.set(e,h)}d=this.SL;z=this.Xi;a=d.X.Fm;for(c=0;c<b.length;++c)h=b[c],h in a.jv&&(e=vl(a,h),h=z.get(h),(e=Aq(d,e,h))&&e.Di(h));this.oQ.process(this.Xi.get("__mediaTransforms"))}Lh(){return Date.now()}seek(a,b){if(!(0<=a&&a<this.X.va().count()))throw Error("invalid stepIndex");gr(this);const c=this.Lh(),d=hr(this);let e=1>=this.Mc.Rb.Nb.length?0:this.Mc.time();if(a>d||a==d&&(void 0===b||e<=b)){for(;hr(this)!=a;)this.Mc.xo("__step",c),e=0;void 0!==
b&&0<b-e&&this.Mc.seek(b,c)}else fr(this.Mc,c),this.seek(a,b)}xo(a){gr(this);const b=this.Lh();for(let c=0;c<this.fg.length;++c)this.fg[c].xo(a,b);this.Wv=b;this.vi(0,0)}Oa(a,b){var c=a.timestamp();if(ir(this,c)){a=c.stepIndex();c=1E3*c.timeOffset();var d=this.Lh(),e=(d-this.Wv)*this.Xb.playbackRate();this.Wv=d;d=c-this.ZJ;if(a!=this.YJ||b)d=0,this.seek(a,c);this.vi(d,e);this.YJ=a;this.ZJ=c}}BI(a){a=a.timestamp();ir(this,a)&&this.vi(0,0)}};function Kq(a,b){return kj(a.X.sb(),b)}function kr(a,b){return kj(a.X.Fb(),b)}class lr{constructor(a,b){this.ja=null;this.X=a;this.Ol=b}sy(a){this.ja=a}playVideo(a,b,c){a=kr(this,a);if(null!=this.Ol.ka&&a){var d=this.ja;mr(d,a,d.J.timestamp(),null!=b?b:null,c||!1)}}stopVideo(a,b){a=kr(this,a);null!=this.Ol.ka&&a&&nr(this.ja,a,b)}pauseVideo(a,b){a=kr(this,a);if(null!=this.Ol.ka&&a){var c=this.ja;const d=or(c,a);d.playing()?(d.pause(),c.Og==d&&(c.Og=null)):mr(c,a,c.J.timestamp(),null,b||!1)}}};function pr(a,b,c){for(let d=0;d<b.count();++d){const e=jj(b,d),f=c(e);if(f){const h=ma(f)+"";a.Jq.push(f);a.Wq[h]=e;f.Ac.addHandler(a.Fn,a)}}}
class qr{constructor(a,b){this.Jq=this.Wq=null;this.X=a;this.yc=b;this.UA={}}activate(a){this.Jq=[];this.Wq={};pr(this,this.X.sb(),a.WD.bind(a));pr(this,this.X.Fb(),a.rh.bind(a))}deactivate(){for(let a=0;a<this.Jq.length;++a)this.Jq[a].Ac.removeHandler(this.Fn,this);this.Wq=this.Jq=null}Fn(a){var b=ma(a)+"";if(b in this.Wq){var c=this.Wq[b];b=c.id();a=a.currentTime();var d=b in this.UA?this.UA[b]:0;if(d!=a){var e=a;if(!(d>e)){c=c.Hf();const f=[];for(let h=0;h<c.Pk.length;++h){const g=c.Pk[h],k=g.time();
k>=d&&k<=e&&f.push(g)}d=f;for(e=0;e<d.length;++e)this.yc.xo(d[e].id())}}this.UA[b]=a}}};function rr(a){let b=!1,c=!1;sr(a,(d,e)=>{(e=Vj(a.Z,e.zJ))?(tr(d,e),b=!0):c=!0});a.$C=b&&!c}function ur(a){sr(a,b=>b.OE())}function vr(a){sr(a,b=>{b.stop();Uf&&b.vD()})}function wr(a){sr(a,b=>xr(b));a.$C=!1}function sr(a,b){const c=a.ka.Wb;a.X.Fb().qb().forEach(d=>{if(!(0<d.wf)){const e=c.rh(d);b(e,d)}})}
class yr extends ck{constructor(a,b,c,d){super(a,b,c);this.ja=new lr(a,this);this.yc=new jr(a,b,c.clock(),this.ja,d);this.hI=new qr(a,this.yc);this.$C=this.Rm=!1;this.WC=-1;b.ta.addHandler(this.FR,this);b.oo.addHandler(this.LR,this)}vp(){return this.yc.vp()}persistState(){return this.yc.persistState()}restoreState(a){this.yc.restoreState(a)}ky(a){this.yc.ky(a)}activate(a){super.activate(a);const b=a.rA;b.Ra=!0;b.qA.addHandler(this.fJ,this);b.sA.addHandler(this.CI,this);this.ja.sy(a.mediaController());
this.yc.activate()}deactivate(){this.ja.sy(null);this.yc.deactivate();if(this.ka){const a=this.ka.rA;a.qA.removeHandler(this.fJ,this);a.sA.removeHandler(this.CI,this)}this.Rm=!1;super.deactivate()}mx(){if(null==this.ka)throw Error("media activation available only when slide is activated");this.$C||rr(this);ur(this);this.hI.activate(this.ka.Wb)}AD(a={}){if(null==this.ka)throw Error("media deactivation available only when slide is activated");this.hI.deactivate();vr(this);(mf||a.NU)&&wr(this);0<this.WC&&
(clearTimeout(this.WC),this.WC=-1)}Mx(){this.Z.Mx(this.X.Jy())}play(){this.yc.play();super.play()}pause(){this.yc.pause();super.pause()}KE(){this.yc.KE()}fJ(){this.Rm=!0}CI(a){const b=this.X,c=this.Z;nn(b,a);wq(c,b.Jy());this.Pq()}FR(a,b){this.Rm?this.Rm=!1:null!=this.ka&&zr(this.ka.Am(),a,b)}LR(a,b,c){!c&&this.Rm?this.Rm=!1:(this.yc.xo(a),b.preventAction())}};class Ar extends pn{constructor(a){super("gotoSlide");this.zb=a}slideIndex(){return this.zb}};class Br{constructor(a){this.C=a}ID(a){switch(a.type()){case "closePlayerWindow":this.C.nu.D();return;case "gotoNextSlide":Cr(this.C,!0,!0,!0);return;case "gotoSlide":this.oA(a.slideIndex());return}throw Error("unknown action type");}oA(a){this.C.gotoSlide(a)}};class Dr extends un{constructor(a){super("gotoSlide");this.zb=a}slideIndex(){return this.zb}};class Er{constructor(a){this.C=a}ID(a){switch(a.type()){case "closePlayerWindow":this.C.nu.D();return;case "gotoNextSlide":Cr(this.C,!0,!0,!0);return;case "gotoSlide":this.oA(a.slideIndex());return}throw Error("unknown action type");}oA(a){this.C.gotoSlide(a)}};class Fr{constructor(a,b,c){this.Xg=a;this.Lr=b;this.Re=c;0>this.Re&&(this.Re=0);this.Xg&&0>this.Xg.m.t&&(this.Xg.m.t=0)}stepIndex(){return this.Lr}timeOffset(){return this.Re}SE(){const a={s:this.Lr,t:this.Re};this.Xg&&(a.S=Ac(this.Xg));return a}clone(){return new Fr(this.Xg?Ac(this.Xg):null,this.Lr,this.Re)}};class Gr{constructor({effect:a,M:b,Gk:c,Si:d}){this.Xf=a;this.rq=b;this.rT=c;this.Fl=d;this.pl=null}effect(){return this.Xf}Gk(){return this.rT}M(){return this.rq}Si(){return this.Fl}jE(){return this.pl}XE(a){this.pl=a}};class Hr{constructor(a,b,c){this.$n=a;this.pK=b;this.XS=c}};const N={BZ:"null",yY:"Cut",zY:"CutThroughBlack",x_:"RandomTransition",QX:"BlindsHorizontal",RX:"BlindsVertical",YX:"CheckerboardAcross",ZX:"CheckerboardDown",gY:"CoverLeft",mY:"CoverUp",jY:"CoverRight",fY:"CoverDown",iY:"CoverLeftUp",lY:"CoverRightUp",hY:"CoverLeftDown",kY:"CoverRightDown",EY:"Dissolve",MY:"FadeThroughBlack",G0:"UncoverLeft",M0:"UncoverUp",J0:"UncoverRight",F0:"UncoverDown",I0:"UncoverLeftUp",L0:"UncoverRightUp",H0:"UncoverLeftDown",K0:"UncoverRightDown",v_:"RandomBarsHorizontal",
w_:"RandomBarsVertical",v0:"StripsLeftUp",x0:"StripsRightUp",u0:"StripsLeftDown",w0:"StripsRightDown",h1:"WipeLeft",j1:"WipeUp",i1:"WipeRight",g1:"WipeDown",VX:"BoxOut",TX:"BoxIn",j0:"SplitHorizontalOut",i0:"SplitHorizontalIn",l0:"SplitVerticalOut",k0:"SplitVerticalIn",U_:"ShapeCircle",V_:"ShapeDiamond",aY:"CombHorizontal",bY:"CombVertical",LY:"FadeSmoothly",AZ:"Newsflash",W_:"ShapePlus",l_:"PushDown",m_:"PushLeft",n_:"PushRight",o_:"PushUp",U0:"Wedge",X0:"Wheel1Spoke",Y0:"Wheel2Spokes",Z0:"Wheel3Spokes",
$0:"Wheel4Spokes",a1:"Wheel8Spokes",b1:"WheelReverse1Spoke",O0:"VortexLeft",Q0:"VortexUp",P0:"VortexRight",N0:"VortexDown",F_:"RippleCenter",J_:"RippleRightUp",H_:"RippleLeftUp",G_:"RippleLeftDown",I_:"RippleRightDown",dZ:"GlitterDiamondLeft",fZ:"GlitterDiamondUp",eZ:"GlitterDiamondRight",cZ:"GlitterDiamondDown",hZ:"GlitterHexagonLeft",jZ:"GlitterHexagonUp",iZ:"GlitterHexagonRight",gZ:"GlitterHexagonDown",aZ:"GalleryLeft",bZ:"GalleryRight",dY:"ConveyorLeft",eY:"ConveyorRight",GY:"DoorsVertical",FY:"DoorsHorizontal",
d1:"WindowVertical",c1:"WindowHorizontal",R0:"WarpIn",S0:"WarpOut",UY:"FlyThroughIn",WY:"FlyThroughOut",VY:"FlyThroughInBounce",XY:"FlyThroughOutBounce",C_:"RevealSmoothLeft",D_:"RevealSmoothRight",A_:"RevealBlackLeft",B_:"RevealBlackRight",oZ:"Honeycomb",PY:"FerrisWheelLeft",QY:"FerrisWheelRight",y0:"SwitchLeft",z0:"SwitchRight",SY:"FlipLeft",TY:"FlipRight",RY:"Flashbulb",b0:"ShredStripsIn",c0:"ShredStripsOut",$_:"ShredRectangleIn",a0:"ShredRectangleOut",pY:"CubeLeft",rY:"CubeUp",qY:"CubeRight",
oY:"CubeDown",L_:"RotateLeft",N_:"RotateUp",M_:"RotateRight",K_:"RotateDown",UX:"BoxLeft",XX:"BoxUp",WX:"BoxRight",SX:"BoxDown",DZ:"OrbitLeft",FZ:"OrbitUp",EZ:"OrbitRight",CZ:"OrbitDown",NZ:"PanLeft",PZ:"PanUp",OZ:"PanRight",MZ:"PanDown",IX:"AirplaneLeft",JX:"AirplaneRight",GZ:"OrigamiLeft",HZ:"OrigamiRight",HY:"DrapeLeft",IY:"DrapeRight",NY:"FallOverLeft",OY:"FallOverRight",xY:"Curtains",ZY:"Fracture",nY:"Crush",f1:"WindRight",e1:"WindLeft",TZ:"PeelOffLeft",UZ:"PeelOffRight",j_:"Prestige",IZ:"PageCurlDoubleLeft",
JZ:"PageCurlDoubleRight",KZ:"PageCurlSingleLeft",LZ:"PageCurlSingleRight",vZ:"MorphByObject",wZ:"MorphByWord",uZ:"MorphByChar",l1:"Zoom"};q("TransitionEffectType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$slides$TransitionEffectType",N);q("NULL","null",N);q("CUT","Cut",N);q("CUT_THROUGH_BLACK","CutThroughBlack",N);q("RANDOM_TRANSITION","RandomTransition",N);q("BLINDS_HORIZONTAL","BlindsHorizontal",N);
q("BLINDS_VERTICAL","BlindsVertical",N);q("CHECKERBOARD_ACROSS","CheckerboardAcross",N);q("CHECKERBOARD_DOWN","CheckerboardDown",N);q("COVER_LEFT","CoverLeft",N);q("COVER_UP","CoverUp",N);q("COVER_RIGHT","CoverRight",N);q("COVER_DOWN","CoverDown",N);q("COVER_LEFT_UP","CoverLeftUp",N);q("COVER_RIGHT_UP","CoverRightUp",N);q("COVER_LEFT_DOWN","CoverLeftDown",N);q("COVER_RIGHT_DOWN","CoverRightDown",N);q("DISSOLVE","Dissolve",N);q("FADE_THROUGH_BLACK","FadeThroughBlack",N);
q("UNCOVER_LEFT","UncoverLeft",N);q("UNCOVER_UP","UncoverUp",N);q("UNCOVER_RIGHT","UncoverRight",N);q("UNCOVER_DOWN","UncoverDown",N);q("UNCOVER_LEFT_UP","UncoverLeftUp",N);q("UNCOVER_RIGHT_UP","UncoverRightUp",N);q("UNCOVER_LEFT_DOWN","UncoverLeftDown",N);q("UNCOVER_RIGHT_DOWN","UncoverRightDown",N);q("RANDOM_BARS_HORIZONTAL","RandomBarsHorizontal",N);q("RANDOM_BARS_VERTICAL","RandomBarsVertical",N);q("STRIPS_LEFT_UP","StripsLeftUp",N);q("STRIPS_RIGHT_UP","StripsRightUp",N);
q("STRIPS_LEFT_DOWN","StripsLeftDown",N);q("STRIPS_RIGHT_DOWN","StripsRightDown",N);q("WIPE_LEFT","WipeLeft",N);q("WIPE_UP","WipeUp",N);q("WIPE_RIGHT","WipeRight",N);q("WIPE_DOWN","WipeDown",N);q("BOX_OUT","BoxOut",N);q("BOX_IN","BoxIn",N);q("SPLIT_HORIZONTAL_OUT","SplitHorizontalOut",N);q("SPLIT_HORIZONTAL_IN","SplitHorizontalIn",N);q("SPLIT_VERTICAL_OUT","SplitVerticalOut",N);q("SPLIT_VERTICAL_IN","SplitVerticalIn",N);q("SHAPE_CIRCLE","ShapeCircle",N);q("SHAPE_DIAMOND","ShapeDiamond",N);
q("COMB_HORIZONTAL","CombHorizontal",N);q("COMB_VERTICAL","CombVertical",N);q("FADE_SMOOTHLY","FadeSmoothly",N);q("NEWSFLASH","Newsflash",N);q("SHAPE_PLUS","ShapePlus",N);q("PUSH_DOWN","PushDown",N);q("PUSH_LEFT","PushLeft",N);q("PUSH_RIGHT","PushRight",N);q("PUSH_UP","PushUp",N);q("WEDGE","Wedge",N);q("WHEEL_1_SPOKE","Wheel1Spoke",N);q("WHEEL_2_SPOKES","Wheel2Spokes",N);q("WHEEL_3_SPOKES","Wheel3Spokes",N);q("WHEEL_4_SPOKES","Wheel4Spokes",N);q("WHEEL_8_SPOKES","Wheel8Spokes",N);
q("WHEEL_REVERSE_1_SPOKE","WheelReverse1Spoke",N);q("VORTEX_LEFT","VortexLeft",N);q("VORTEX_UP","VortexUp",N);q("VORTEX_RIGHT","VortexRight",N);q("VORTEX_DOWN","VortexDown",N);q("RIPPLE_CENTER","RippleCenter",N);q("RIPPLE_RIGHT_UP","RippleRightUp",N);q("RIPPLE_LEFT_UP","RippleLeftUp",N);q("RIPPLE_LEFT_DOWN","RippleLeftDown",N);q("RIPPLE_RIGHT_DOWN","RippleRightDown",N);q("GLITTER_DIAMOND_LEFT","GlitterDiamondLeft",N);q("GLITTER_DIAMOND_UP","GlitterDiamondUp",N);
q("GLITTER_DIAMOND_RIGHT","GlitterDiamondRight",N);q("GLITTER_DIAMOND_DOWN","GlitterDiamondDown",N);q("GLITTER_HEXAGON_LEFT","GlitterHexagonLeft",N);q("GLITTER_HEXAGON_UP","GlitterHexagonUp",N);q("GLITTER_HEXAGON_RIGHT","GlitterHexagonRight",N);q("GLITTER_HEXAGON_DOWN","GlitterHexagonDown",N);q("GALLERY_LEFT","GalleryLeft",N);q("GALLERY_RIGHT","GalleryRight",N);q("CONVEYOR_LEFT","ConveyorLeft",N);q("CONVEYOR_RIGHT","ConveyorRight",N);q("DOORS_VERTICAL","DoorsVertical",N);
q("DOORS_HORIZONTAL","DoorsHorizontal",N);q("WINDOW_VERTICAL","WindowVertical",N);q("WINDOW_HORIZONTAL","WindowHorizontal",N);q("WARP_IN","WarpIn",N);q("WARP_OUT","WarpOut",N);q("FLY_THROUGH_IN","FlyThroughIn",N);q("FLY_THROUGH_OUT","FlyThroughOut",N);q("FLY_THROUGH_IN_BOUNCE","FlyThroughInBounce",N);q("FLY_THROUGH_OUT_BOUNCE","FlyThroughOutBounce",N);q("REVEAL_SMOOTH_LEFT","RevealSmoothLeft",N);q("REVEAL_SMOOTH_RIGHT","RevealSmoothRight",N);q("REVEAL_BLACK_LEFT","RevealBlackLeft",N);
q("REVEAL_BLACK_RIGHT","RevealBlackRight",N);q("HONEYCOMB","Honeycomb",N);q("FERRIS_WHEEL_LEFT","FerrisWheelLeft",N);q("FERRIS_WHEEL_RIGHT","FerrisWheelRight",N);q("SWITCH_LEFT","SwitchLeft",N);q("SWITCH_RIGHT","SwitchRight",N);q("FLIP_LEFT","FlipLeft",N);q("FLIP_RIGHT","FlipRight",N);q("FLASHBULB","Flashbulb",N);q("SHRED_STRIPS_IN","ShredStripsIn",N);q("SHRED_STRIPS_OUT","ShredStripsOut",N);q("SHRED_RECTANGLE_IN","ShredRectangleIn",N);q("SHRED_RECTANGLE_OUT","ShredRectangleOut",N);
q("CUBE_LEFT","CubeLeft",N);q("CUBE_UP","CubeUp",N);q("CUBE_RIGHT","CubeRight",N);q("CUBE_DOWN","CubeDown",N);q("ROTATE_LEFT","RotateLeft",N);q("ROTATE_UP","RotateUp",N);q("ROTATE_RIGHT","RotateRight",N);q("ROTATE_DOWN","RotateDown",N);q("BOX_LEFT","BoxLeft",N);q("BOX_UP","BoxUp",N);q("BOX_RIGHT","BoxRight",N);q("BOX_DOWN","BoxDown",N);q("ORBIT_LEFT","OrbitLeft",N);q("ORBIT_UP","OrbitUp",N);q("ORBIT_RIGHT","OrbitRight",N);q("ORBIT_DOWN","OrbitDown",N);q("PAN_LEFT","PanLeft",N);
q("PAN_UP","PanUp",N);q("PAN_RIGHT","PanRight",N);q("PAN_DOWN","PanDown",N);q("AIRPLANE_LEFT","AirplaneLeft",N);q("AIRPLANE_RIGHT","AirplaneRight",N);q("ORIGAMI_LEFT","OrigamiLeft",N);q("ORIGAMI_RIGHT","OrigamiRight",N);q("DRAPE_LEFT","DrapeLeft",N);q("DRAPE_RIGHT","DrapeRight",N);q("FALL_OVER_LEFT","FallOverLeft",N);q("FALL_OVER_RIGHT","FallOverRight",N);q("CURTAINS","Curtains",N);q("FRACTURE","Fracture",N);q("CRUSH","Crush",N);q("WIND_RIGHT","WindRight",N);q("WIND_LEFT","WindLeft",N);
q("PEEL_OFF_LEFT","PeelOffLeft",N);q("PEEL_OFF_RIGHT","PeelOffRight",N);q("PRESTIGE","Prestige",N);q("PAGE_CURL_DOUBLE_LEFT","PageCurlDoubleLeft",N);q("PAGE_CURL_DOUBLE_RIGHT","PageCurlDoubleRight",N);q("PAGE_CURL_SINGLE_LEFT","PageCurlSingleLeft",N);q("PAGE_CURL_SINGLE_RIGHT","PageCurlSingleRight",N);q("MORPH_BY_OBJECT","MorphByObject",N);q("MORPH_BY_WORD","MorphByWord",N);q("MORPH_BY_CHAR","MorphByChar",N);const Ir={VZ:"playing",QZ:"paused",IDLE:"idle"};q("TransitionPlaybackState$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$transitions$TransitionPlaybackState",Ir);q("PLAYING","playing",Ir);q("PAUSED","paused",Ir);q("IDLE","idle",Ir);function Jr(a,b){this.x=a;this.y=b}va(Jr,Vc);n=Jr.prototype;n.clone=function(){return new Jr(this.x,this.y)};n.scale=Vc.prototype.scale;n.normalize=function(){return this.scale(1/Math.hypot(this.x,this.y))};n.add=function(a){this.x+=a.x;this.y+=a.y;return this};n.gf=function(a){this.x-=a.x;this.y-=a.y;return this};n.rotate=function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function Kr(a,b,c){return a.clone().gf(b).rotate(c).add(b)}
n.Ji=function(a){return this===a?!0:a instanceof Jr&&!!a&&this.x==a.x&&this.y==a.y};function Lr(a,b){if(0==b)return a.clone();b=b*Math.PI/180;let {kX:c,lX:d,sU:e,tU:f}={kX:new Jr(a.left,a.top),lX:new Jr(a.left+a.width,a.top),sU:new Jr(a.left,a.top+a.height),tU:new Jr(a.left+a.width,a.top+a.height)};if(!h){a=d;var h=e;var g=f;const k=c.clone();k.add(a);k.add(h);k.add(g);k.x*=.25;k.y*=.25;h=k}c=Kr(c,h,b);d=Kr(d,h,b);e=Kr(e,h,b);f=Kr(f,h,b);b=new og(Math.min(c.y,d.y,e.y,f.y),Math.max(c.x,d.x,e.x,f.x),Math.max(c.y,d.y,e.y,f.y),Math.min(c.x,d.x,e.x,f.x));return new pg(b.left,b.top,b.right-
b.left,b.bottom-b.top)};function Mr(a){if(!a)return a;const b=document.createElement("canvas");b.width=a.width;b.height=a.height;b.id=a.id;b.getContext("2d").drawImage(a,0,0);return b}function Nr(a,b){const c=[];for(const d of a)if(a=b.querySelector("#"+d))a.setAttribute("data-draw-ignore",!0),c.push(a);return c}function Or(a){for(const b of a)b.removeAttribute("data-draw-ignore")}
function Pr(a,b,c,d,e,f=null){const h=Nr(d,c),g=a.Zd(b),k=g.getContext("2d");k.clearRect(0,0,b.width,b.height);const l=a.Zd(b);Ip(c,l,function(){f&&f instanceof HTMLCanvasElement&&k.drawImage(f,0,0);k.drawImage(l,0,0);Or(h);e(g)}.bind(a),new bd(1,1))}function Qr(a,b,c,d,e,f){e=Lr(e,180*f/Math.PI);c=Lr(new pg(0,0,c,d),180*f/Math.PI);a.drawImage(b,e.left,e.top,e.width,e.height,c.left,c.top,c.width,c.height)}
function Rr(a,b,c,d,e,f,h,g=null){const k=b.width,l=b.height,m=a.Zd(b),p=Nr(f,c),r=m.getContext("2d");r.clearRect(0,0,k,l);r.translate(k/2,l/2);r.rotate(-d);r.translate(-k/2,-l/2);const t=a.Zd(b);Ip(c,t,function(){g&&g instanceof HTMLCanvasElement&&Qr(r,g,k,l,e,d);Qr(r,t,k,l,e,d);Or(p);h(m)}.bind(a),new bd(1,1))}class Sr{Zd(a){const b=w("CANVAS");b.width=a.width;b.height=a.height;return b}};function Tr(a,b,c){a.Ea=b;a.ni=c;a.rw=vd("div");a.rw.innerHTML=a.Ea.innerHTML;a.NK=vd("div");a.NK.innerHTML=a.ni.innerHTML}function Ur(a){a.Ic&&(Bd(a.Ic),a.Ic=null);a.Ic=w("DIV");E(a.Ic,"position","absolute");var b=w("DIV");E(b,"position","absolute");a.Ic.appendChild(b);const c=a.nn?Mr(a.nn):a.NK;b.appendChild(c);b=w("DIV");E(b,"position","absolute");a.Ic.appendChild(b);b.appendChild(a.rw);a.PK.appendChild(a.Ic)}function Vr(a,b){a.Yn&&(zd(a.Yn),a.nn=b,a.Yn.appendChild(a.nn||a.ni))}
function Wr(a,b,c){Pn(b,c);vg(b,(a.la-a.pJ*c)/2,(a.ha-a.oJ*c)/2)}
class Xr extends Vh{constructor(a,b,c,d,e,f){super();this.Vf=a;this.Ic=this.X=this.nn=null;this.la=c;this.ha=d;this.pJ=c;this.oJ=d;this.gI=Number.MAX_VALUE;this.Rg=b;void 0!==e&&(this.gI=e);this.ng=w("DIV");this.PK=w("DIV");f&&(f.yd()?this.wA(f):y(this,f.og,this.wA,this))}hd(){var a=this.Vf,b=this.Rg;a.pC.appendChild((0>b?a.Im:a.K[b]).ng)}um(a){Lg(this.slide(),a)}width(){return this.la}height(){return this.ha}slide(){return this.X}clone(){return this.Ic}wA(a){Tr(this,a.Ea,a.slideBackground());Ur(this)}zk(){this.Ki();
this.X=w("DIV");E(this.X,"position","absolute");this.Yn=w("DIV");E(this.Yn,"position","absolute");this.X.appendChild(this.Yn);Vr(this,this.nn);this.sw=w("DIV");E(this.sw,"position","absolute");this.X.appendChild(this.sw);this.sw.appendChild(this.Ea);this.ng.appendChild(this.X);Ur(this)}NM(a){Vr(this,a);this.X&&Ur(this)}Kx(){return this.nn}Ki(){this.X&&(Bd(this.X),this.X=null)}content(){return this.sw}background(){return this.Yn}VI(a){this.wA(a)}resize(a,b){if(this.la!=a||this.ha!=b)this.la=a,this.ha=
b,this.kr(a,b)}kr(a,b){a=Math.min(a/this.pJ,b/this.oJ,this.gI);this.Ea&&Wr(this,this.Ea,a);this.ni&&Wr(this,this.ni,a)}};class Yr{constructor(a){this.eP=a}displayObject(){return this.eP}};function Zr(a){for(let b=a.He.length-1;0<=b;--b)if(a.He[b])return a.He[b];return null}function $r(a,b=null){a.Pt=b?new Yr(b):null;a.pl=null}function as(a,b){const c=[];for(let d=0;d<a.Dr.length;++d){const e=a.Dr[d];void 0!==b&&e!=b||c.push(a.Ed[d])}return c}function bs(a,b,c){const d=as(a,c);return b.every(e=>d.includes(e))}
function cs(a,b,c,d,e,f){function h(k){if(e&&!f.getSlide(c).visible())return k;for(;k<f.count()&&!f.getSlide(k).visible();)++k;return k}if(!e)return b;const g=yj(d);d=as(a,e).concat([c]);if(!g)return h(Math.max.apply(a,d)+1);for(a=0;a<d.length;++a)d[a]==b&&b++;return h(b)}function ds(a){const b=[];for(const c of a.He)c?b.push({id:c.effect().id(),M:c.M()}):b.push(c);return new Uj({Kf:a.Ed,Ct:b})}
class es extends Vh{constructor(a){super();this.pc=a;this.K=[];this.Ed=[];this.Dr=[];this.He=[];this.Zb=0;this.pl=this.Pt=null;this.TI=K(this);this.JH=K(this)}push(a,b,c){this.K.push(a);this.He.push(b);this.Ed.push(a.index());this.Dr.push(c);this.Zb=this.K.length;a=this.pc;b=ds(this);a.mh=b;a.Af=!0}pop(){if(this.sh())return null;const a={slide:this.K[this.Zb-1],VU:this.He[this.Zb-1]};this.K.splice(this.Zb-1,1);this.He.splice(this.Zb-1,1);this.Ed.splice(this.Zb-1,1);this.Dr.splice(this.Zb-1,1);this.Zb=
this.K.length;var b=this.pc,c=ds(this);b.mh=c;b.Af=!0;return a}reset(a=null){this.K=[];this.He=[];this.Ed=[];this.Dr=[];this.Zb=0;$r(this,a);this.TI.D();a=this.pc;var b=ds(this);a.mh=b;a.Af=!0}XE(a){this.pl=new Yr(a)}slideBackground(){return this.Pt?this.Pt.displayObject():null}jE(){return this.pl?this.pl.displayObject():null}Px(){const a=this.sh()?null:this.K[this.Zb-1];return a?a.index():-1}sh(){return!this.Zb}};class fs extends zq{KF(){}};function gs(a,b){var c=[];const d=a.ga.clock().timestamp(),e=hs(d,"slide"+b,c);if(a.ww[e])return Promise.resolve(a.SK.get(a.ww[e]));a.ww[e]={hash:e};const f=a.Va.ub[b],h=is(a,b);return new Promise(g=>{Pr(a.IG,a.te,h,c,k=>{a.SK.set(a.ww[e],k);g(k)},f.Kx())})}
function js(a,b,c,d,e,f){const h=a.ga.clock().timestamp(),g=hs(h,b,f,d,e);if(a.fu[g])return Promise.resolve(a.rG.get(a.fu[g]));a.fu[g]={hash:g};const k=a.Va.ub[c],l=is(a,c);return new Promise(m=>{Rr(a.IG,a.te,l,e,d,f,p=>{a.rG.set(a.fu[g],p);p.setAttribute("id",b);m(p)},k.Kx())})}
function ks(a,b,c){function d(){return new Promise(l=>{gs(k,g).then(m=>{k.Ba.XE(m);c.XE(k.Ba.jE());l()})})}function e(){return new Promise(l=>{js(k,h.id(),g,h.ia(),h.rotation(),[h.sp()]).then(m=>{k.Ba.Pt=new Yr(m);l()})})}b=0<=b?a.K.getSlide(b):void 0;var f=b instanceof sn||b instanceof ek||b instanceof zn;if(!c||f)return Promise.resolve();const h=c.effect(),g=c.Gk(),k=a;h&&h.Dh()&&($r(a.Ba),a.Ba.JH.D(b));b=h&&!h.Dh()&&!c.M();f=!!c.Si();a=[];if(f&&b)b=new Promise(l=>{d().then(()=>{e().then(()=>{l()})})}),
a.push(b);else if(f||b)f&&(f=d(),a.push(f)),b&&(b=e(),a.push(b));return Promise.all(a)}function hs(a,b,c,d,e){c=c.join(",");a=[a.stepIndex(),a.timeOffset(),b,c];d&&a.push(d.toString());void 0!==e&&a.push(e);return a.join("_")}function is(a,b){const c=a.Va.ub[b];b=a.K.getSlide(b);var d=c.PK;b.HA=!1;d=new fs({content:d,rt:b.rt()});a=new yr(b,d,a.ga,a.Xb);a.Mx();var e=a.va();d=e.Za(e.count()-1);e=e.count()-1;d=d.duration();a.yc.activate();a.yc.reset(e,1E3*d);b.HA=!0;return c.clone()}
class ls{constructor({ZW:a,op:b,GX:c,Hi:d,slides:e,wx:f,$x:h}){this.te=a;this.Va=b;this.ga=d;this.K=e;this.ka=f;this.Xb=h;this.IG=new Sr;this.SK=new WeakMap;this.ww={};this.rG=new WeakMap;this.fu={};this.Ba=c;this.mq={}}};class ms extends il{constructor(a,b,c,d){super(a,b,c.slides());this.aM=c;this.fo=d||kd()}};function ns(a,b){if(0<=a.currentSlideIndex()){var c=a.Ba.slideBackground();b=b?b.index():a.U().index();var d=a.kx,e=b;d.mq[e]?c&&(d.mq[e]=c):d.mq[e]=c;d=a.Va.ub[b];a=Mr(a.kx.mq[b]);d.NM(a)}}function os(a){return 0<a.Cc.length?ps(a)instanceof ms:!1}
function qs(a,{slideIndex:b,Fc:c=!0,eM:d=!0,M:e=!1,yh:f=!0,jt:h=!0,Ak:g=!0,px:k=!0,Bp:l,qm:m=!1}){const p=()=>{ks(a.kx,b,l).then(()=>{a.gH(b,c,d,e,f,h,g,k,l);m&&a.Ba.reset();a.pv&&a.pv();a.pv=null})},r=l?l.Gk():b,t=a.K.getSlide(r);!l||t.yd()?p():(a.tc.og.addHandler(v=>{v.index()===r&&p()}),a.tc.sm(r))}
function rs(a,b=!0){if(a.iw){var c=a.clock().timestamp();if(0<=c.slideIndex()&&0<=c.stepIndex()){var d=a.getSlidePlaybackController(c.slideIndex());d=d instanceof yr?d.persistState():null;d=new Fr(d,c.stepIndex(),c.timeOffset());a=a.ka.pc;b&&(a.Qr=!0);b=a;c=c.slideIndex();d?b.oi[c]=d:delete b.oi[c];b.Af=!0;a.invalidate()}}}function ss(a){var b=a.J.timestamp(),c=b.stepIndex();b=b.timeOffset();const d=a.Gb.va();c=0<=c?d.Za(c):null;return"suspended"==a.J.state()||null!==c&&b>=c.duration()}
function ts(a,b){const c=os(a)?ps(a).fo:void 0;return new ms(a.I.slides(),b.id(),b,c)}function us(a,b,c,d,e){c=c?d&&d.Si()?new Hi(d.Gk(),0,0):e||a.J.timestamp():null;a.Cc.push(new Hr(b,c,a.jc));b=hl(b);0>b&&(b=0);a.jc=b}function vs(a,b,c){const d=Zr(a.Ba)||void 0,e=d?!1:void 0;if(d){var f=d.effect();const h=ts(a,f),g=new Hi(d.Gk(),0,0);d.M()||us(a,h,f.Bk(),d,g);f=hl(h);0>f&&(f=0);a.jc=f}qs(a,{slideIndex:b,Fc:c,jt:e,Ak:!0,px:!1,Bp:d})}
function ws(a){if(0<a.Cc.length&&xs(a)){var b=Ha(a.Cc).pK;if(os(a)&&ys(a,a.H+1))return a.H+1;if(b)return b.slideIndex()}b=zs(a);if(!os(a)&&a.H!=b)return ps(a).slides()[0];b=gl(ps(a));if(b.seekTo(a.jc)){a.U().visible()?dl(b):b.Vx();b=b.U();if(!b&&os(a)&&xs(a)){var c=As(a).slides().find(d=>a.K.getSlide(d).visible()&&d>ps(a).slides()[a.jc]);if(void 0===c)for(b=a.Cc.length-2;-1<=b;--b)c=a.Cc[b],c=(c?c.$n:a.me).slides().find(d=>a.K.getSlide(d).visible()&&d>ps(a).slides()[a.jc]);return void 0!==c?c:-1}c=
os(a)?ps(a).fo:void 0;b=b?cs(a.Ba,b.index(),a.H,a.U().Tf(),c,a.K):-1;return b>=a.K.count()?-1:b}return-1}function Bs(a){if(!a.Ba.sh()){var b=a.Ba.Px();if(-1!=b)return b}var c=a.U();b=zs(a);if(!os(a)&&a.H!=b)return ps(a).slides()[0];b=gl(ps(a));if(b.seekTo(a.jc)){for(c=c.visible();cl(b);){const d=b.U();if(d&&d.Iy()||!c||c&&d&&d.visible())break}b=b.U();return!b&&os(a)&&xs(a)?(b=As(a).slides().concat().reverse().find(d=>d<ps(a).slides()[0]-1),void 0!==b?b:-1):b?b.index():-1}return-1}
function Cs(a){a.Bu||a.oK.D()}function Ds(a,b,c,d){let e=-1;a=a.K;for(let f=0;f<a.count();++f){const h=a.getSlide(f);if(wj(h.Tf(),b.id())){e=h.index();break}}return new Gr({effect:b,M:c,Gk:e,Si:d})}function xs(a){const b=ps(a);var c=a.jc;var d=gl(b);d.H=d.ho.length;d=el(d)?d.currentSlideIndex():-1;c=c==d||a.jc==b.slides().length-1;a=os(a)?bs(a.Ba,b.slides(),b.fo):!1;return c||a}function Es(a){return"gotoSlide"==a.type()?a.slideIndex():-1}function zs(a){return 0<=a.jc?ps(a).slides()[a.jc]:-1}
function ps(a){const b=Ha(a.Cc);return b?b.$n:a.me}function As(a){if(!ps(a)||2>a.Cc.length)return a.me;const b=a.Cc[a.Cc.length-2];return b?b.$n:a.me}function Fs(a,b,c,d,e){us(a,b,c,d);qs(a,{slideIndex:b.slides()[a.jc],jt:!0,Bp:d,qm:e})}function Gs(a,b,c){const d=ts(a,b);c=Ds(a,b,!1,c);Fs(a,d,b.Bk(),c)}
function Hs(a,b){a.Cc.length||a.nu.D();var c=os(a),d=a.Cc.pop();const e=c?d.$n.aM:void 0;e&&$r(a.Ba);(c=d.pK)?(a.jc=d.XS,d=e?Ds(a,e,!0):void 0,qs(a,{slideIndex:c.slideIndex(),Ak:!1,Bp:d,qm:b})):a.jc=a.H}
function Cr(a,b,c,d){if(0>a.H)throw Error("current slide is null");var e=!!a.U().Te().Oi();const f=d?ws(a):a.nextSlideIndex();0<=f?(d=()=>{a.Dl=!0;const h=Is(a,f);h?Gs(a,h.aN,h.Si):0<a.Cc.length&&xs(a)?Hs(a,!1):qs(a,{slideIndex:f,Fc:b,yh:c,jt:!0,Ak:!1})},0<a.Cc.length&&xs(a)?(e=os(a)?ps(a).aM:null,ys(a,a.H+1)?d():(Hs(a,!1),e&&!e.Bk()&&(e=os(a)?ps(a).fo:void 0,a.Ba.push(a.K.getSlide(a.H),void 0,e),d()))):d()):a.I.settings().playback().uh()&&!e?(Js(a),qs(a,{slideIndex:a.firstSlideIndex(),Fc:b,jt:!0,
Ak:!1,qm:!0})):(Ks(a.fc),Yj(a.Gb))}function Is(a,b){if(Ls(a))return null;var c=ys(a,b);if(c)return{aN:c};if(c=Zr(a.Ba)){const d=c.Gk();a=xj(a.K.getSlide(d).Tf(),b);if(!a)return null;b=c.effect();return{aN:a,Si:b}}return null}function ys(a,b){if(!(b>=a.K.count())){if(!a.K.getSlide(b).visible())return ys(a,b+1);b=a.H==b?void 0:xj(a.U().Tf(),b);var c=os(a)?ps(a).fo:void 0;return b&&bs(a.Ba,b.slides(),c)?ys(a,Math.max.apply(a,b.slides())+1):b}}function Js(a){a.Pv||(a.Pv=!0,a.Yg.D())}
function Ls(a){return"accessible"==a.Va.ya}function Ms(a,b){a.pv=b}
function Ns(a,b,c,d,e){a.H!=b&&(c&&0<=a.H&&a.zu.push(a.K.getSlide(a.H)),d&&0<=a.H&&(d=os(a)?ps(a).fo:void 0,a.Ba.push(a.K.getSlide(a.H),e,d)),a.Gb&&(a.Gb.AD(),a.Gb.deactivate()),e=ps(a).slides(),d=-1,null!==a.Dl&&(d=a.Dl?e.indexOf(b,a.jc):e.lastIndexOf(b,a.jc)),e=0<=d?d:e.indexOf(b),0<=e&&(a.jc=e),a.Dl=null,a.H=b,e=a.K.getSlide(b),e.Iy()||Aj(e,!0),Ls(a)&&!e.completed()&&(e.pf=!0),c&&Os(a.ka.pc,b),a.Gb=a.getSlidePlaybackController(b),a.LK.D(b),Ps(a,e),a.OK.D(b))}
function Qs(a){a.Gb instanceof yr&&(a.Gb.Mx(),a.Gb.KE())}function Rs(a){if(a.Gb){var b=a.Gb;bk(b,a.wa);b.activate(a.ka)}}function Ps(a,b,c=!0){const d=b.index(),e=a.getSlidePlaybackController(d);b=b.persistState(e);a=a.ka.pc;a.Sj[d]=b;a.Af=!0;c&&a.invalidate()}
function Ss(a){var b=a.ka.pc.mh;if(b){var c=b.Kf();b=b.Ct();for(let e=0;e<c.length;++e){var d=b[e];let f=null,h=!1;if(d)for(let g=0;g<a.K.count();++g){const k=wj(a.K.getSlide(g).Tf(),d.id);if(k){f=k;h=d.M;break}}d=f?Ds(a,f,h):void 0;a.Ba.push(a.K.getSlide(c[e]),d)}}}
class Ts{constructor(a,b,c,d,e,f,h,g,k){this.Pv=!1;this.pv=null;this.jc=this.H=-1;this.Dl=null;this.wa=!1;this.cD=-1;this.I=a;this.K=a.slides();this.tc=c;this.ZS=d;this.ga=e;this.J=e.clock();this.TH=this.J.timestamp();this.ka=f;this.fc=h;this.NC=g;this.iw=a.settings().playback().RE();this.Va=b;this.El=k;this.Yg=new B;this.oK=new B;c.og.addHandler(this.VI,this);this.J.pb().addHandler(this.Oa,this);this.J.Gg().addHandler(()=>{this.NC.clock().Gg().D()},this);this.J.Fk().addHandler(()=>{this.NC.clock().Fk().D()},
this);this.fc.transitionEffectCompleteEvent().addHandler(this.bJ,this);this.fc.transitionEffectStartEvent().addHandler(()=>{this.yL.D()},this);this.fc.transitionEffectCompleteEvent().addHandler(()=>{this.DT.D();ns(this)},this);this.$S=[];this.zu=new jo;this.me=a.Sx();this.Cc=[];a=new bd(this.I.slideWidth(),this.I.slideHeight());this.Ba=new es(this.ka.pc);this.Ba.TI.addHandler(()=>{this.kx.mq={};os(this)&&(this.Cc.pop(),this.jc=this.H);ns(this)},this);this.Ba.JH.addHandler(l=>{ns(this,l)},this);this.kx=
new ls({ZW:a,op:b,GX:this.Ba,Hi:e,slides:this.K,wx:f,$x:this.El});b=this.J.timestamp().slideIndex();0<=b&&(this.J.started()?qs(this,{slideIndex:b,eM:!1,yh:!1}):this.Oa(this.J));this.MA=Date.now();this.PF=new fo;this.PF.pb().addHandler(this.FQ,this);this.PF.start();this.Zy=new B;this.Em=new B;this.OK=new B;this.Kr=new B;this.LK=new B;this.nu=new B;this.SG=new B;this.yL=new B;this.DT=new B;this.OG=new B;this.hi=new B;this.EB=new co;this.EB.zs()&&me(this.EB,"visibilitychange",this.MR,!1,this);me(window,
"beforeunload",()=>{rs(this,!1)});this.$H=new B;this.CL=new B;this.El.hi.addHandler(this.fR,this)}play(){0>this.H?qs(this,{slideIndex:this.firstSlideIndex(),Ak:!1}):ss(this)&&!this.J.buffering()?this.tk():this.Gb.play()}pause(){this.Gb&&this.Gb.pause()}gotoSlide(a,b,c=!0){this.Ba.reset();qs(this,{slideIndex:a,Fc:b,Ak:!c,px:!1,qm:!0})}Px(){const a=this.zu.top();return a?a.index():-1}Oo(a){this.Ba.reset();if(!this.zu.sh()){void 0===a&&(a=!0);var b=this.zu.pop();b&&qs(this,{slideIndex:b.index(),Fc:a,
eM:!1,qm:!0})}}firstSlideIndex(){const a=gl(this.me);return dl(a)?a.U().index():this.me.slides()[0]}th(){var a=gl(this.me);a.H=a.ho.length;if(el(a))return a.U().index();a=this.me.slides().length;return this.me.slides()[a-1]}rk(a){this.Ba.reset();qs(this,{slideIndex:this.firstSlideIndex(),Fc:a,qm:!0})}sk(a){this.Ba.reset();qs(this,{slideIndex:this.th(),Fc:a,qm:!0})}gotoNextSlide(a){Cr(this,void 0!==a?a:!0,!0)}gotoPreviousSlide(a){void 0===a&&(a=!0);if(0>this.H)throw Error("current slide is null");
this.nA(a,!1)}tk(){if(0>this.H)throw Error("Slide has not been loaded");var a=this.J.timestamp(),b=a.stepIndex(),c=a.timeOffset();a=this.Gb;var d=a.va();const e=0<=b?d.Za(b):null,f=e?e.duration():0;d=b==d.count()-1&&(c>=f||e&&e.zg());0>b?(Ks(this.fc),this.Tr&&Cr(this,!0,!1)):d?(Yj(a),Cr(this,!0,!0)):(this.Bu=f<=c,b=a.X.va(),c=a.ga.clock().timestamp().stepIndex(),c==b.count()-1?Yj(a):(b=c+1,a.play(),Xj(a,b,0)),Cs(this),this.Bu=!1)}uk(a,b,c,d){void 0==d&&(d=!1);if(a>this.K.count()||0>a)throw Error("slideIndex is out of bounds");
var e=this.K.getSlide(a);if(0>b)c=b=0;else{var f=e.va().count();b>f-1&&(b=f-1)}"idle"!=this.fc.state()&&Ks(this.fc);if(f=a!=this.H){rs(this);this.tc.sm(a);if(!e.yd()){this.qj=arguments;this.$p=this.uk.bind(this);this.qj.slideIndex=a;Xh(this.ga,!0,this.tc);return}this.qj&&(this.$p=this.qj=null,Xh(this.ga,!1,this.tc));if(0==b&&0==c){qs(this,{slideIndex:a,Fc:d,jt:!1});return}e=this.getSlidePlaybackController(a);if(e instanceof yr){e.yc.reset(b,1E3*c);var h=Us(this.ka.pc,a);(h=h?h.Xg:null)&&e.ky(h)}}this.ga.Ee(a,
b,c,!0);f&&this.Em.D(a);d?this.ga.start():this.ga.stop();Cs(this)}nA(a,b,c=!1){void 0!==this.mA?this.UJ=arguments:this.mA=setTimeout(this.eH.bind(this,a,b,c),0)}eH(a,b,c=!1){clearTimeout(this.mA);this.mA=void 0;var d=this.UJ;if(d)this.UJ=null,this.eH.apply(this,d);else{d=this.previousSlideIndex();if(0>d){if(0>this.H)return;d=this.H}this.Dl=!1;if(!this.Ba.sh()&&this.Ba.Px()==d){const {slide:h,VU:g}=this.Ba.pop();if(h){d=void 0;if(g){var e=g.Gk()==h.index();d=void 0;var f=g.effect();g.Si()&&(f=g.Si(),
d=g.effect());d=Ds(this,f,e,d);e&&(e=this.Ba,f=h.index(),$r(e,this.Va.ub[f].Kx()))}os(this)&&xs(this)&&(this.Cc.pop(),this.jc=this.H);d&&!os(this)&&(e=d.effect(),f=ts(this,e),us(this,f,e.Bk(),d));qs(this,{slideIndex:h.index(),Fc:a,M:b,Ak:c,px:!1,Bp:d});return}}qs(this,{slideIndex:d,Fc:a,M:b,Ak:c,px:!1})}}previousSlideIndex(){if(0>this.H)return-1;const a=this.U().Te().fp();return a?Es(a):Bs(this)}Po(){const a=this.getSlidePlaybackController(this.H);let b=!0;var c=this.J.timestamp();const d=c.stepIndex();
0>d?(Ks(this.fc),this.Tr||(this.nA(!1,!0,!0),b=!1)):0<d||.01<c.timeOffset()?(c=a.ga.clock().timestamp().stepIndex(),0==c?Zj(a):a.Xx(c-1)):(this.nA(!1,!0,!0),b=!1);b&&Cs(this)}lF(a,b){this.Ba.reset();(a=jl(this.I.wG,a))&&Fs(this,a,b,void 0,!0)}mt(a){(a=wj(this.U().Tf(),a))&&Gs(this,a)}FD(){this.Ba.reset();Hs(this,!0)}FQ(){var a=this.MA;this.MA=Date.now();if(!(0>this.H)){var b=this.J.Td(),c=b?(this.MA-a)/1E3:0,d=this.J.timestamp();a=d.slideIndex();var e=d.stepIndex();d=d.timeOffset();var f=this.El.playbackRate();
d+=c*f;if(b&&0<=e&&(b=this.U().va(),c=b.Za(e),d>=c.duration()))if(c.zg()){++e;if(e==b.count()){this.ga.Ee(a,e-1,c.duration());Cr(this,!0,!1);return}d=0}else{this.ga.Ee(a,e,c.duration());Ki(this.ga,!0);return}this.ga.Ee(a,e,d)}}bJ(){this.tc.kb(!0);const a=this.getSlidePlaybackController(this.H);a.mx();const b=Us(this.ka.pc,this.H),c=b?b.Xg:null;this.Bu=!0;b&&this.pS?(this.ga.Ee(this.H,b.stepIndex(),b.timeOffset()),this.Gb instanceof yr&&c&&this.Gb.restoreState(c),this.Yi?a.play():a.pause()):this.Yi?
(a.play(),Xj(a,0,0)):Zj(a);this.Bu=!1;(this.Tr||b)&&Cs(this)}nextSlideIndex(){if(0>this.H)return-1;const a=this.U().Te().Oi();return a?Es(a):ws(this)}gH(a,b,c,d,e,f,h,g,k){a<<=0;if(a>=this.K.count()||0>a)throw Error("Invalid slide index");void 0==b&&(b=!0);void 0==c&&(c=!0);void 0==d&&(d=!1);void 0==e&&(e=!0);void 0==f&&(f=!0);void 0==h&&(h=!0);void 0==g&&(g=!0);if(a!=this.H){var l=~this.H?this.K.getSlide(this.H).type():null,m=this.K.getSlide(a).type(),p=Ls(this);this.Zy.D(l,m);l="quiz"==m||this.quizPlayer();
m="interaction"==m||this.interactionPlayer();if(l||m||p)f=!1;"idle"!=this.fc.state()&&Ks(this.fc);this.tc.sm(a);if(2!=this.tc.Mo(a))this.qj=arguments,this.qj.slideIndex=a,this.$p=this.gH.bind(this),Xh(this.ga,!0,this.tc);else{this.$p=this.qj=null;this.tc.kb(!1);m=k?k.effect():void 0;this.Yi=p?!1:b;this.Tr=k?void 0===m.duration()?null===this.Dl?!1:!this.Dl:k.M():d;this.pS=h;p=this.Tr?0>this.H?a:this.H:a;this.gd=this.K.getSlide(p).transition().clone();k&&(void 0===m.duration()?m=null:(m=m.duration(),
m=new uj("Zoom",m,null,!1)),this.gd=m||this.gd);this.SG.D(this.gd,this.H,a);rs(this);this.ga.Ee(p,-1,0);p=this.getSlidePlaybackController(a);if(p instanceof yr)if(h||(m=this.ka.pc,delete m.oi[a],m.Af=!0),m=(m=Us(this.ka.pc,a))?m.Xg:null)p.restoreState(m);else{m=p.yc;if(m.fg){l=m.Lh();for(var r=0;r<m.fg.length;++r)fr(m.fg[r],l)}p.yc.reset(0,0)}Ns(this,a,c,g,k);Qs(this);if(p=f&&0<this.gd.duration()){ns(this,this.K.getSlide(a));m=this.fc;var t=a;l=this.gd.effectType();var v=this.gd.duration(),z=this.Tr,
F=k;m.Fw=NaN;var D=m.Va;r=0>m.H;m.Vg=r?D.background():m.Va.ub[m.H];m.tl=D.ub[t];D=[];0<=m.H&&(D=m.I.slides().getSlide(m.H),D=D instanceof on?D.Zn:[]);var G=m.I.slides().getSlide(t);G=G instanceof on?G.Zn:[];m.H=t;Vs(m);v=t=new Ws(m.Yc,m.Xc,z,m.tl,m.Vg,m.Kc,v,F);z=G;v.wl=D;v.ul=z;t.Bn=r;r=l;l=t;"RandomTransition"==r&&(r=Xs[Math.floor(Math.random()*Xs.length)],r=r[Math.floor(Math.random()*r.length)]);l=(r=Ys[r])?r(l):new Zs(l);m.Cd=l;m.Cd.Vo()&&(l=m.Cd,l.J=m.J,l.J.Gg().addHandler(l.AI,l),l.J.Fk().addHandler(l.zI,
l),y(m,m.Cd.Sb,m.AR,m));m.Cd.Fs()?$s(m):y(m,m.Cd.ew,m.cJ,m)}else at(this.fc,a),ns(this);Rs(this);this.Em.D(a);this.ga.start(d);f&&((l=this.gd.sound())?(m=this.ka.mediaController(),bt(m,l,m.J.timestamp(),0)):this.gd.cL&&Pq(this.ka.mediaController()));p||this.bJ();e&&Cs(this)}}}playbackState(){const a=this.J.state(),b=this.J.timestamp().stepIndex();return"stopped"==a?0>b?"pausedTransition":"pausedSlide":"suspended"==a?"suspended":"buffering"==a?"buffering":0>b?"playingTransition":"playingSlide"}Oa(a){a=
a.timestamp();const b=a.slideIndex(),c=a.stepIndex();var d=a.timeOffset();if(0>c){var e=d,f=0;if(this.gd&&"null"!=this.gd.effectType()){var h=this.fc.Fw*this.gd.duration();isNaN(h)&&(h=0);f=Math.max(0,this.gd.duration()-h);e-=h}this.NC.Dk(0<f?e/f:1)}h=this.K.getSlide(b);0<=c&&b!=this.H&&(at(this.fc,b),Ns(this,b,!0,!0),Rs(this),Qs(this),this.Gb.mx());e=!1;f=h.va();f.count()-1==c&&f.Za(c).duration()<=d&&(e=!0,h.completed()||(h.pf=!0,Ps(this,h)));d=this.TH;this.TH=a;d.slideIndex()==b&&d.stepIndex()!=
c&&this.Kr.D(c);b==this.th()&&e?(f.Za(f.count()-1).zg()&&ct(this.ka.mediaController().Sh),Js(this)):this.Pv=!1}BE(){return this.Pv}activate(){this.wa=!0;this.cD=Date.now();this.Gb&&bk(this.Gb,!0);const a=this.ka.pc;dt(a,0);const b=this;setInterval(()=>{dt(a,b.xg())},1E3)}xg(){return 0<this.cD?Math.floor((Date.now()-this.cD)/1E3):0}clock(){return this.J}Hi(){return this.ga}currentSlideIndex(){return this.H}U(){if(0>this.H)throw Error("Current slide is undefined");return this.K.getSlide(this.H)}Qb(){if(!this.Gb)throw Error("Current slide is undefined");
return this.Gb}updateCurrentSlideState(){if(-1!=this.H){const a=this.K.getSlide(this.H);Ps(this,a,!1)}}getSlidePlaybackController(a,b=!0){if(!this.K.getSlide(a).yd())return null;const c=this.$S;let d=c[a]||null;!d&&b&&(d=et(this.ZS,a),c[a]=d,d.stateChangedEvent().addHandler(this.xR,this),d instanceof yr?d.vp().addHandler(e=>{this.H==e&&rs(this)}):d instanceof tn?d.quizPlayer().quizPlayerEvent().addHandler(this.nR,this):d instanceof yn&&d.scenarioPlayer().scenarioPlayerEvent().addHandler(this.tR,this));
return d}nR(a){switch(a){case "gotoPreviousSlide":this.gotoPreviousSlide();break;case "skipQuizSlide":this.gotoNextSlide();break;case "quizFinished":a=this.U();var b=this.Qb();b=Fh(b.quizPlayer());a=Gh(b)?a.Fv:a.pu;b=this.U();const c=this.Qb().quizPlayer(),d=Fh(c);"graded"==d.Zv&&Hh(d)&&!Gh(d)&&b.NE()&&c.restartQuiz();(new Br(this)).ID(a);break;case "lockPresentationViewMode":this.$H.D();break;case "unlockPresentationViewMode":this.CL.D()}}tR(a){switch(a){case "gotoPreviousSlide":this.gotoPreviousSlide();
break;case "gotoNextSlide":this.gotoNextSlide();break;case "skipScenarioSlide":this.gotoNextSlide();break;case "scenarioRestarted":case "scenarioRestored":this.OG.D(a);break;case "scenarioFinished":a=this.U();var b=this.Qb();a=wn(b.scenarioPlayer()).scenarioPassed()?a.Gv:a.qu;(new Er(this)).ID(a)}}xR(a){Ps(this,a)}EE(){return this.El}slideChangeEvent(){return this.OK}transitionEffectStartEvent(){return this.yL}LD(){return this.OG}pp(){return this.Kr}iF(){return this.LK}Qi(){return this.Yg}VI(a){const b=
this.qj,c=this.$p;c&&b&&b.slideIndex==a.index()&&(this.$p=this.qj=null,Xh(this.ga,!1,this.tc),c.apply(this,b))}quizPlayer(){return 0>this.H||!(this.U()instanceof sn)?null:this.Qb().quizPlayer()}interactionPlayer(){return 0>this.H||!(this.U()instanceof ek)?null:this.Qb().interactionPlayer()}scenarioPlayer(){return 0>this.H||!(this.U()instanceof zn)?null:this.Qb().scenarioPlayer()}slideTransitionController(){return this.fc}Li(){return this.ka.Li()}TQ(a){var b=this.getSlidePlaybackController(this.H);
b&&(b=b.view(),b instanceof zq&&b.oo.D(a,new Dh,!0))}MR(){eo(this.EB)?(this.RO=this.J.Td(),this.pause()):this.RO&&qh(()=>{this.play()},this,100)}fR(){this.hi.D()}}Ts.prototype.slideTransitionController=Ts.prototype.slideTransitionController;Ts.prototype.scenarioPlayer=Ts.prototype.scenarioPlayer;Ts.prototype.interactionPlayer=Ts.prototype.interactionPlayer;Ts.prototype.quizPlayer=Ts.prototype.quizPlayer;Ts.prototype.playbackCompleteEvent=Ts.prototype.Qi;Ts.prototype.stepChangeEvent=Ts.prototype.pp;
Ts.prototype.slideChangeEvent=Ts.prototype.slideChangeEvent;Ts.prototype.currentSlide=Ts.prototype.U;Ts.prototype.currentSlideIndex=Ts.prototype.currentSlideIndex;Ts.prototype.clock=Ts.prototype.clock;Ts.prototype.playbackState=Ts.prototype.playbackState;Ts.prototype.nextSlideIndex=Ts.prototype.nextSlideIndex;Ts.prototype.gotoPreviousStep=Ts.prototype.Po;Ts.prototype.previousSlideIndex=Ts.prototype.previousSlideIndex;Ts.prototype.gotoTimestamp=Ts.prototype.uk;Ts.prototype.gotoNextStep=Ts.prototype.tk;
Ts.prototype.gotoPreviousSlide=Ts.prototype.gotoPreviousSlide;Ts.prototype.gotoNextSlide=Ts.prototype.gotoNextSlide;Ts.prototype.gotoLastSlide=Ts.prototype.sk;Ts.prototype.gotoFirstSlide=Ts.prototype.rk;Ts.prototype.lastSlideIndex=Ts.prototype.th;Ts.prototype.firstSlideIndex=Ts.prototype.firstSlideIndex;Ts.prototype.gotoLastSlideViewed=Ts.prototype.Oo;Ts.prototype.gotoSlide=Ts.prototype.gotoSlide;Ts.prototype.pause=Ts.prototype.pause;Ts.prototype.play=Ts.prototype.play;function ft(a){return new gt(a,b=>b.Fb().qb())}function ht(a,b,c){return Ci(a.io[b]||[],a.io[c]||[])}class gt{constructor(a,b){this.io=[];for(let e=0;e<a.count();++e){var c=a.getSlide(e);const f=b(c);for(let h=0;h<f.length;++h){c=f[h];var d=e;const g=d+(0<c.wf?c.wf:0);for(;d<=g;++d)this.io[d]||(this.io[d]=[]),this.io[d].push(c)}}}};function it(a){return new gt(a,b=>{b=b.Fb();const c=[];for(let d=0;d<b.count();++d){const e=jj(b,d);0<e.wf&&c.push(e)}return c})}function jt(a,b){b=ma(b)+"";return a.AJ[b]||null}
class kt{constructor(a,b,c,d){this.wa=!1;this.H=-1;this.kc=b;this.C=c;this.Wb=d;this.Vw=it(a);this.oC=[];this.AJ={};this.RK={};this.L=w("div");this.kc.displayObject().appendChild(this.L);c.clock().pb().addHandler(this.Oa,this);b.resizeEvent().addHandler(this.jR,this)}activate(){this.wa=!0;const a=this.C.clock().timestamp();0<=a.slideIndex()&&0<=a.stepIndex()&&this.uf(a.slideIndex())}Oa(a){if(this.wa){a=a.timestamp();var b=a.slideIndex();0<=a.stepIndex()&&b!=this.H&&this.uf(b);Ja(this.oC,this.JT,this)}}JT(a){var b=
ma(a)+"";var c=this.RK[b]||null;(b=jt(this,a))&&c&&(c=tg(c,"display"),"none"==c&&"none"!=b.style.display?(Lg(b,!1),(a=this.Wb.rh(a))&&a.playing()&&a.pause()):"none"!=c&&Lg(b,!0))}uf(a){const b=this.H;this.H=a;const c=ht(this.Vw,b,a);Ja(c,this.CP,this);a=ht(this.Vw,a,b);Ja(a,this.PS,this)}jR(){Pn(this.L,this.kc.scale())}CP(a){const b=jt(this,a);b&&Lg(b,!1);Ta(this.oC,a)}PS(a){var b=this.Wb.rh(a);if(b){var c=jt(this,a);if(!c){if(c=this.C.Qb()){var d=c.view(),e=ma(a)+"";c=a.zJ;if(d=Vj(d,c)){this.RK[e]=
d;var f=w("div");this.L.appendChild(f);this.AJ[e]=f;e=tg(d,"display");d.style.display="inherit";c=this.kc.position(c,this.kc.scale());vg(f,c);d.style.display=e;c=f}else c=null}else c=null;if(!c)return;tr(b,c)}Lg(c,!0);b=this.oC;Qa(b,a)||b.push(a)}}};class lt{constructor(){this.ya="normal"}vk(){}pM(){return"normal"==this.ya}qM(){return!0}TE(){}Bh(a){this.ya=a}};var mt=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");let nt=!1;function ot(a){const b=w("SCRIPT");me(b,"load",()=>{nt=!0;pt(a)&&a.Oa(a.J)});const c=window.location.toString().match(mt)[1]||null;b.src="https"==c?"https://players.youku.com/jsapi":"http://player.youku.com/jsapi";document.body.appendChild(b)};let qt=!1,rt;function st(){qt=!0;var a=rt;pt(a)&&a.Oa(a.J);rt=null}q("onYouTubePlayerAPIReady$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$externalvideo$youtube$YoutubeApi",st);q("onYouTubePlayerAPIReady",st);class tt{constructor(a,b){this.tg=1;this.la=this.ha=this.Re=0;this.lb=a;this.OT=b}width(){return this.la}Fg(a){this.la=a}height(){return this.ha}Ui(a){this.ha=a}id(){return this.lb}Fe(){return this.OT}timeOffset(){return this.Re*this.tg}Eg(a){this.tg=a}};class ut extends tt{constructor(a,b,c){super(a,b);this.OO=c}clientId(){return this.OO}};class vt{constructor(a,b){this.jl=this.Dd=!1;this.B=null;this.Ja=a;this.Zg=b;this.Kj=new B;this.Sa=w("DIV");this.Sa.style.position="absolute";a.displayObject().appendChild(this.Sa);Lg(this.Sa,this.Dd);this.Nd(a)}uE(){this.jl=!0;this.Xd(this.Ja);this.yr(this.Dd);this.Kj.D(this)}bW(){}aW(){}se(){return this.jl&&null!=this.B}stop(){if(this.se())try{this.B.pauseVideo()}catch(a){}}visible(){return this.Dd}Xd(a){this.Nd(a);if(this.se()){const c=this.sa;var b=a.scale();a=b*this.Zg.width();b*=this.Zg.height();
Cg(c,a,b)}}Nd(a){a=a.position(this.Zg.id(),1);vg(this.Sa,a.x,a.y)}vy(a){this.Dd!=a&&(this.Dd=a,this.yr(a))}yr(a){if(a){if(!this.B){var b=this.Sa,c=this.Ja.scale();const e=this.Zg,f={styleid:"0",client_id:e.clientId(),vid:e.Fe(),autoplay:!1,show_related:!1,events:{onPlayerReady:this.uE.bind(this),onPlayStart:this.bW.bind(this),onPlayEnd:this.aW.bind(this)}},h="_"+e.id(),g=w("DIV");g.setAttribute("id",h);var d=c*e.width();c*=e.height();Cg(g,d,c);E(g,"background","#494949");d=w("DIV");E(d,"position",
"absolute");E(d,"top","50%");E(d,"left","50%");E(d,"transform","translate(-50%, -50%)");g.appendChild(d);c=w("DIV");Hn(c,"preloader");E(c,"position","relative");d.appendChild(c);c=w("DIV");Hd(c,"\u8bf7\u7a0d\u540e");E(c,"position","relative");E(c,"font-family",'Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", "\u5fae\u8f6f\u96c5\u9ed1", \u5b8b\u4f53, SimSun, STXihei, "\u534e\u6587\u7ec6\u9ed1", sans-serif');E(c,"font-weight","lighter");E(c,"font-size","32px");E(c,"color","white");
E(c,"text-align","center");E(c,"margin-top","12px");d.appendChild(c);b.appendChild(g);this.sa=g;this.B=new YKU.Player(h,f);this.Xd(this.Ja)}}else zd(this.Sa),this.B=null,this.jl=!1;Lg(this.Sa,a)}readyEvent(){return this.Kj}};class wt extends tt{};class xt{constructor(a,b){this.Dd=!1;this.B=null;this.jl=!1;this.Ja=a;this.Zg=b;this.Kj=new B;this.Sa=w("DIV");this.Sa.style.position="absolute";a.displayObject().appendChild(this.Sa);Lg(this.Sa,this.Dd);this.Nd(a)}uE(){this.jl=!0;this.Xd(this.Ja);this.yr(this.Dd);this.Kj.D(this)}dW(){}eW(){}cW(){}se(){return this.jl&&null!=this.B}sa(){return this.se()?this.B.getIframe():null}stop(){if(this.se())try{this.B.stopVideo()}catch(a){}}visible(){return this.Dd}Xd(a){this.Nd(a);const b=this.sa();if(b){var c=
a.scale();a=c*this.Zg.width();c*=this.Zg.height();Cg(b,a,c)}}Nd(a){const b=this.Zg.id();a=a.position(b,1);vg(this.Sa,a.x,a.y)}vy(a){this.Dd!=a&&(this.Dd=a,this.yr(a))}yr(a){if(a){if(!this.B){var b=this.Sa,c=this.Ja.scale(),d=this.Zg;c={width:c*d.width(),height:c*d.height(),videoId:d.Fe(),playerVars:{controls:1,loop:0,enablejsapi:1,autohide:2,autoplay:0,showinfo:1,rel:0},events:{onReady:this.uE.bind(this),onPlaybackQualityChange:this.dW.bind(this),onStateChange:this.eW.bind(this),onError:this.cW.bind(this)}};
d="_"+d.id();const e=w("DIV");e.setAttribute("id",d);b.appendChild(e);this.B=new YT.Player(d,c);this.Xd(this.Ja)}}else zd(this.Sa),this.B=null,this.jl=!1;Lg(this.Sa,a)}readyEvent(){return this.Kj}};function yt(a,b,c){let d=0;if(0>b||b>=a.K.count())return d;a=a.K.getSlide(b);if(a instanceof on)for(a=a.Vp,b=0;b<a.count();b++){const e=a.get(b);e&&e instanceof c&&(d+=1)}return d}function pt(a){if(-1==a.H)return!1;let b=!0;0<yt(a,a.H,wt)&&(b&=qt);0<yt(a,a.H,ut)&&(b&=nt);return!!b}function zt(a,b,c){a.qC(b);At(a,b,function(d){const e=d.Zg.timeOffset()<=c;e?d.visible()||d.Xd(a.Ja):d.visible()&&d.stop();d.vy(e)})}
function At(a,b,c){if(!(0>b||b>=a.K.count())&&(b=a.K.getSlide(b),b instanceof on)){b=b.Vp;for(let f=0;f<b.count();++f){var d=b.get(f);if(d){{var e=a;const h=d.id();if(null==e.Aa[h])if(d instanceof wt)e.Aa[h]=new xt(e.Ja,d);else if(d instanceof ut)e.Aa[h]=new vt(e.Ja,d);else throw Error("unknown external video type");e=e.Aa[h]}c(e)}}}}
class Bt{constructor(a,b,c){this.$L=this.ZL=!1;this.H=-1;this.Aa={};this.Ja=a;this.K=c;this.J=b;a.resizeEvent().addHandler(this.Oq,this);b.pb().addHandler(this.Oa,this)}Oa(a){a=a.timestamp();const b=a.slideIndex();if(0<yt(this,b,wt)){if(!this.$L){rt=this;const c=w("SCRIPT"),d=window.location.toString().match(mt)[1]||null;c.src="https"==d?"https://www.youtube.com/player_api":"http://www.youtube.com/player_api";document.body.appendChild(c)}this.$L=!0}0<yt(this,b,ut)&&(this.ZL||ot(this),this.ZL=!0);
pt(this)?(this.H!=a.slideIndex()&&zt(this,this.H,-1),this.H=a.slideIndex(),-1!=a.stepIndex()&&(a=this.uC(a),zt(this,this.H,a))):this.H=b}uC(a){const b=a.stepIndex(),c=a.slideIndex();return this.K.getSlide(c).va().Za(b).startTime()+a.timeOffset()}Oq(){if(pt(this)){var a=this;At(this,this.H,function(b){b.Xd(a.Ja)})}}uw(a){return 0<=a&&a<this.K.count()}qC(a){this.uw(a)&&this.K.getSlide(a).va().duration()}};let Ct;function Dt(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}function Et(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(Ct||(Ct={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=Ct,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)}
function Ft(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)};class Gt{constructor(a){this.rd=a}jd(a,b,c){c=this.rd.hasOwnProperty(a)?this.rd[a]:c;if(void 0!==c){if(void 0!==b){a=this.bH;for(let d in b)if(b.hasOwnProperty(d)){const e=b[d];a&&(d=a(d));c=c.replace(new RegExp(d,"g"),e)}}return c}Ga("unknown message id: "+a);return a}messages(){return this.rd}bH(a){return"%"+a.toUpperCase()+"%"}}Gt.prototype.getMessage=Gt.prototype.jd;function Ht(){}n=Ht.prototype;n.Iw=null;n.Jw=null;n.start=function(a,b,c,d){b=id(b[0],8);const e={};e.family=a;e.bold=!0===c;e.italic=!0===d;this.Iw=new It(e,"arial,'URW Gothic L',sans-serif",b);this.Jw=new It(e,"Georgia,'Century Schoolbook L',serif",b)};n.finish=function(){this.Iw.ze();this.Iw=null;this.Jw.ze();this.Jw=null};n.check=function(){return Jt(this.Iw)||Jt(this.Jw)};
function It(a,b,c){var d=u(a,"family","");d=String(d);const e=['"'];for(let l=0;l<d.length;l++){var f=d.charAt(l),h=f.charCodeAt(0),g=l+1,k;if(!(k=gd[f]))if(31<h&&127>h)k=f;else if(k=f,k in hd)k=hd[k];else if(k in gd)k=hd[k]=gd[k];else{h=k.charCodeAt(0);if(31<h&&127>h)f=k;else{if(256>h){if(f="\\x",16>h||256<h)f+="0"}else f="\\u",4096>h&&(f+="0");f+=h.toString(16).toUpperCase()}k=hd[k]=f}e[g]=k}e.push('"');d=e.join("");this.Pl=w("span");this.Pl.innerHTML=c;E(this.Pl,{position:"absolute",top:"-999px",
left:"-999px",fontSize:"100px",fontFamily:b,fontWeight:u(a,"bold",!1)?"bold":"normal",fontStyle:u(a,"italic",!1)?"italic":"normal",opacity:"0"});document.body.appendChild(this.Pl);this.nJ=Fg(this.Pl).width;E(this.Pl,"fontFamily",d+","+b)}It.prototype.ze=function(){Bd(this.Pl)};function Jt(a){return!!a.nJ&&Fg(a.Pl).width!=a.nJ};var Kt={};function Lt(a,b,c,d){d=d||c;let e="",f=!1,h=!1;"string"!==typeof a?(e=u(a,"family",""),f=u(a,"bold",!1),h=u(a,"italic",!1)):e=a;e=e.replace(/^"|"$/g,"");if(e in Kt)(Kt[e]?c:d)();else{var g=g||5E3;var k=new Ht;k.start(e,b,f,h);var l=Date.now(),m=setInterval(()=>{let p=!1,r=!1;k.check()?r=p=!0:Date.now()-l>g&&(p=!0,r=!1);p&&(clearInterval(m),k.finish(),r?c():d&&(Ga(`can't preload font ${a&&a.family}`),d()))},50)}}
function Mt(a,b){Array.isArray(b)||(b=[b]);const c=[];Ja(b,d=>{c.push(d.hT+"('"+d.src()+"')"+(d.format()?" format('"+d.format()+"')":""))});return`@font-face {
			  font-family: '${a}';
			  src: ${c.join(",")};
			  ${""}
			  ${""}
			}`}function Nt(a,b){this.hT=a;this.Bc=b;this.xP=null}Nt.prototype.src=function(){return this.Bc};Nt.prototype.format=function(){return this.xP};class Ot extends B{constructor(a){super(a);this.gq=Ke(this,new B);this.pA=Ke(this,new B)}addHandler(a,b,c){super.addHandler(a,b,c);this.gq.D()}removeHandler(a,b,c){super.removeHandler(a,b,c);this.pA.D()}};function Pt(a,b,c,d,e){this.lb=a;this.PO=b;this.QO=c;this.GS=d;this.HS=e}n=Pt.prototype;n.id=function(){return this.lb};n.clientX=function(){return this.PO};n.clientY=function(){return this.QO};n.screenX=function(){return this.GS};n.screenY=function(){return this.HS};function Qt(a,b){this.pj=a;this.wT=b}function Rt(a){const b=[];for(let c=0;c<a.length;++c){const d=a[c];b.push(new Pt(d.pointerId,d.clientX,d.clientY,d.screenX,d.screenY))}return new Qt(a[0],b)}Qt.prototype.touches=function(){return this.wT};Qt.prototype.scale=function(){return this.pj.scale};Qt.prototype.rotation=function(){return this.pj.rotation};var St={passive:!1},Tt={passive:!0};function Ut(a,b){this.sa=a;this.Gh={};this.Yf={};if(b)for(a=0;a<b.length;++a)Vt(this,b[a])}n=Ut.prototype;n.Sr=!1;n.Iu=-1;function Wt(a){const b=a.sa;window.navigator.msPointerEnabled?(me(b,"MSPointerDown",a.MI,!1,a),me(b,"MSPointerUp",a.OI,!1,a),me(b,"MSPointerMove",a.NI,!1,a)):(me(b,gq,a.$I,St,a),me(b,hq,a.YI,!1,a),me(b,iq,a.ZI,St,a))}
function Xt(a){const b=a.sa;window.navigator.msPointerEnabled?(ue(b,"MSPointerDown",a.MI,!1,a),ue(b,"MSPointerUp",a.OI,!1,a),ue(b,"MSPointerMove",a.NI,!1,a)):(ue(b,gq,a.$I,St,a),ue(b,hq,a.YI,!1,a),ue(b,iq,a.ZI,St,a))}n.$I=function(a){const b=a.Rd;if(!this.Sr||b.touches&&1==b.touches.length)this.Sr=!0,a=Yt(a),Zt(this,"touchStart",a)};
n.YI=function(a){if(this.Sr){this.Sr=!1;var b=Yt(a);if(Zt(this,"touchEnd",b)){if(b=a.target)if("TEXTAREA"==b.nodeName)b=!0;else{var c=b.getAttribute("type");b="INPUT"==b.nodeName&&(!c||"text"==c||"number"==c)}else b=!1;b||th(a.target)||uh(a.target)||a.preventDefault()}}};n.ZI=function(a){!uh(a.target)&&this.Sr&&(a=Yt(a),Zt(this,"touchMove",a))};
function Yt(a){a=a.Rd;if(void 0!==window.TouchEvent&&a instanceof TouchEvent){var b=[];for(let c=0;c<a.touches.length;++c){const d=a.touches[c];b.push(new Pt(d.identifier,d.clientX,d.clientY,d.screenX,d.screenY))}a=new Qt(a,b)}else b=[],b.push(new Pt(0,a.clientX,a.clientY,a.screenX,a.screenY)),a=new Qt(a,b);return a}n.MI=function(a){var b=a.Rd;this.Gh[b.pointerId]=b;$t(this,a);b=tc(this.Gh);a=1==b.length?"touchStart":"touchMove";b=Rt(b);Zt(this,a,b)};
n.OI=function(a){const b=a.Rd;if(b.pointerId in this.Gh){delete this.Gh[b.pointerId];$t(this,a);var c=tc(this.Gh);a=0<c.length?"touchMove":"touchEnd";0==c.length&&(c=[b]);c=Rt(c);Zt(this,a,c)&&b.preventDefault()}};n.NI=function(a){const b=a.Rd;b.pointerId in this.Gh&&(this.Gh[b.pointerId]=b,$t(this,a),a=tc(this.Gh),a=Rt(a),Zt(this,"touchMove",a))};function $t(a,b){"touch"==b.pointerType&&(0<a.Iu&&clearTimeout(a.Iu),a.Iu=setTimeout(a.OP.bind(a),200))}
n.OP=function(){this.Gh={};this.Iu=-1;for(const a in this.Yf)this.Yf.hasOwnProperty(a)&&this.Yf[a].jk()};function Zt(a,b,c){let d=0,e=null;for(const f in a.Yf)if(a.Yf.hasOwnProperty(f)){const h=a.Yf[f],g=h.Hx(b,c);g>d&&(d=g,e=h)}return e?(c.pj.defaultPrevented?e.jk():e.sx(c),!0):!1}function Vt(a,b){a.Yf[b.Lo()]=b}function au(a,b){b=b.Lo();b in a.Yf&&delete a.Yf[b]}function bu(a,b){return b in a.Yf?a.Yf[b]:null};function cu(){this.Hw=new B;this.DG=new B;this.DC=new B;this.CC=new B}n=cu.prototype;n.ri=null;n.Sw=!1;n.Lo=function(){return"tap"};n.Hx=function(a,b){if("touchEnd"==a)return this.Sw?1:0;const c=new Vc(b.touches()[0].clientX(),b.touches()[0].clientY());if("touchStart"==a&&1==b.touches().length)return this.ri=c,this.Sw=!0,this.DC.D(),Gf||me(window,"scroll",this.jk,!1,this),0;if(!this.ri)return 0;50>=Zc(c,this.ri)||this.Sw&&this.jk();return 0};
n.sx=function(a){this.Hw.D(this.ri.x,this.ri.y,a.pj);let b=!1;const c=Date.now();this.SH&&1E3>c-this.SH&&50>=Zc(this.ZP,this.ri)&&(b=!0,this.DG.D(this.ri.x,this.ri.y,a.pj));this.SH=b?null:c;this.ZP=this.ri};n.jk=function(){ue(window,"scroll",this.jk,!1,this);this.Sw=!1;this.CC.D()};var du=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||setTimeout;function eu(a,b){return`${a.className()}_${b}`}function fu(a,b,c){return`${eu(a,b)}_${c}`}function gu(a,b,c){b=En(b);const d=fu(a,c,"");return Oa(b,e=>0==e.indexOf(d))}class hu{constructor(a,b){this.gz=a;this.vb=b}className(){return this.vb?`${this.gz}__${this.vb}`:this.gz}};let iu;const ju=[];if(window.MutationObserver){iu=new MutationObserver(b=>{b&&b.forEach(c=>{for(const d of c.removedNodes)for(const e of ju)"function"===typeof d.contains&&d.contains(e.displayObject())&&e.Ne(!1)})});const a={subtree:!0,childList:!0};du(()=>{iu.observe(document.body,a)})}function ku(a,b){a.St.push(b);eq(a.L,b.className())}
function lu(a){const b=new ResizeObserver(c=>{for(const d of c)void 0!==d.target&&0<d.contentRect.width&&0<d.contentRect.height&&(a.Ef(a.L.clientWidth,a.L.clientHeight),a.Kd.D(a))});b.observe(a.L);return b}
function mu(a,b){const c=Ke(a,new Ut(a.L));y(a,b.gq,()=>{1==Te(b)&&Wt(c);x(a,a.L,"mouseover",()=>{a.enabled()&&0<Te(a.ta)&&a.Gp()});x(a,a.L,"mouseout",()=>{a.Ne(!1)})});y(a,b.pA,()=>{0==Te(b)&&Xt(c)});const d=new cu;y(a,d.Hw,(e,f,h)=>{a.Ne(!1);a.enabled()&&a.lj(h);a.Hj&&h.target==a.L&&h.preventDefault()});y(a,d.CC,()=>{a.Ne(!0)});y(a,d.DC,()=>{a.enabled()&&a.Gp()});Vt(c,d)}
function nu(a){iu?ju.push(a):Fb?x(a,window,"DOMNodeRemoved",b=>{Gd(b.target,a.L)&&a.Ne(!1)}):x(a,a.L,"DOMNodeRemovedFromDocument",()=>{a.Ne(!1)})}function ou(a,b,c){E(a.L,b,c)}function pu(a,b,c){Ke(a,b);null!=c?a.ox(b,c):a.za(b)}function qu(a,b){b instanceof hu||(b=new hu(b));ku(a,b)}function ru(a,b){return new hu(a.St[0].gz,b)}function su(a){a.Ef(a.width(),a.height());a.Kd.D()}
function tu(a,b,c=b){const d=a.L.scrollTop;b=Math.min(0,b-d-a.QL);c=Math.max(0,c-(d+a.L.clientHeight)+a.QL);0!=b?a.L.scrollTop+=b:0!=c&&(a.L.scrollTop+=c)}function uu(a,b,c,d){const e=a.Eb.bind(a),f=()=>{var h="string"===typeof c?c:c();h=b.jd(h,d&&d());e(h)};y(a,b.pQ,h=>{const g="string"===typeof c?c:c();h==g&&f()});f()}
class O extends Vh{constructor(a){let {Ob:b,O:c,AM:d,Ka:e,nh:f,oN:h,iM:g,dV:k,xp:l,H1:m=0,uN:p,tabIndex:r,jU:t}=a||{};super();e||(e=vd(f||"DIV"));this.L=e;this.St=[];if(b||c)b=b||new hu(c,d),ku(this,b);this.Hj=void 0!==h?h:!0;this.pe=this.ha=this.la=this.Ga=this.Fa=this.Yk=void 0;this.QL=m;this.Bl=1;this.dL={};this.Ec=null;l&&(this.Il=lu(this));(this.KS=p)&&this.tm(!1);void 0!==r&&this.it(r);this.ta=Ke(this,new Ot(this));mu(this,this.ta);k&&y(this,this.ta,()=>{});t&&nu(this);this.Kd=K(this);if(!1===
g){let v=!1;x(this,this.displayObject(),"mousedown",()=>{v=!0});x(this,this.displayObject(),"focusout",z=>{z.target==z.currentTarget&&(v=!1)});x(this,this.displayObject(),"focusin",z=>{v&&z.target==z.currentTarget&&du(()=>{this.displayObject().blur()})})}}resizeEvent(){return this.Kd}focus(){(()=>{this.L.focus()})()}getAttribute(a){return this.L.getAttribute(a)}setAttribute(a,b){(()=>{this.L.setAttribute(a,b)})()}removeAttribute(a){(()=>{this.L.removeAttribute(a)})()}it(a){this.Yk=a;this.wr(a)}Ch(a){this.Fa=
a;(()=>{this.L.style.left=a+"px"})()}$e(a){this.Ga=a;(()=>{this.L.style.top=a+"px"})()}move(a,b){this.Ch(a);this.$e(b)}Fg(a){this.resize(a)}Ui(a){this.resize(void 0,a)}resize(a,b){this.kr(a,b);void 0!==a&&(this.la=a);void 0!==b&&(this.ha=b);this.Ef(this.width(),this.height());this.Kd.D(this)}kb(a){void 0!==this.Yk&&this.wr(a?this.Yk:-1);(()=>{a?this.L.removeAttribute("disabled"):this.L.setAttribute("disabled","")})()}pa(a){this.Ec=a;(()=>{this.Ec=null;Lg(this.L,a)})()}Nf(a){(()=>{ou(this,"opacity",
a)})();this.pe=a}za(a){const b=this.Oh(a);(()=>{this.L.appendChild(b)})()}ox(a,b){const c=this.Oh(a);this.L==c.parentNode&&this.L.childNodes[b]==c||(()=>{Ad(this.L,c,b)})()}removeChild(a){const b=this.Oh(a);this.YD(b)&&(()=>{this.L.removeChild(b)})()}Eb(a){(()=>{Hd(this.L,a)})()}$s(a){(()=>{this.L.innerHTML=a})()}vN(a){(()=>{this.L.id=a})()}py(a){this.Gc("label",a)}zh(a){Array.isArray(a)&&(a=a.join(" "));(()=>{Dt(this.L,a)})()}Ck(a){this.Gc("hidden",a)}Gc(a,b){(()=>{Et(this.L,a,b)})()}Sf(a,b){if(this.St.length)for(const c of this.St)if("string"===
typeof b){const d=gu(c,this.L,a);d&&(delete this.dL[a],(()=>{fq(this.L,d)})());if(b){const e=fu(c,a,b);this.dL[a]=e;(()=>{eq(this.L,e)})()}}else{const d=eu(c,a);(()=>{var e=this.L,f=d;b?Hn(e,f):In(e,f)})()}else(()=>{var c=this.L;b?Hn(c,a):In(c,a)})(),Ga("component has no bemInfo")}tm(a){this.Gc("selected",a)}selected(){return"true"==Ft(this.L,"selected")}YD(a){return this.Oh(a).parentNode==this.displayObject()}x(){return void 0!==this.Fa?this.Fa:xg(this.displayObject()).x}y(){return void 0!==this.Ga?
this.Ga:xg(this.displayObject()).y}width(){return void 0!==this.la?this.la:this.iA()}height(){return void 0!==this.ha?this.ha:this.gA()}enabled(){return!this.L.hasAttribute("disabled")}visible(){return"boolean"===typeof this.Ec?this.Ec:"none"!=this.displayObject().style.display}opacity(){if(void 0!==this.pe)return this.pe;const a=Hg(this.L);return"number"===typeof a?a:1}displayObject(){return this.L}setScale(a,b="0 0"){(()=>{Pn(this.L,a,a);ih(this.L,b)})()}setParentScale(a){this.Bl=a;this.vB()}contains(a){if(!a)return!1;
a=this.Oh(a);return Gd(this.L,a)}Qm(a){(a instanceof Node||"function"===typeof a.displayObject)&&this.removeChild(a);super.Qm(a)}Oh(a){return a instanceof Node?a:a.displayObject()}iA(){const a=this.L;return a.tagName.toUpperCase()=="SVG".toString()?a.width.baseVal.value:Mg(a).width}gA(){const a=this.L;return a.tagName.toUpperCase()=="SVG".toString()?a.height.baseVal.value:Mg(a).height}kr(a,b){(()=>{void 0!==a&&Dg(this.L,a);void 0!==b&&Eg(this.L,b)})()}Ef(){}vB(){}lj(a){this.ta.D(this,a)}Gp(){this.Sf("active",
!0)}Ne(){this.Sf("active",!1)}Ht(){x(this,this.L,"keydown",this.nB,this)}nB(a){document.activeElement!=this.displayObject()||a.defaultPrevented||13!=a.keyCode&&32!=a.keyCode||(a.preventDefault(),this.lj())}wr(a){(()=>{this.setAttribute("tabindex",a+"")})()}od(){this.Il&&this.Il.disconnect();const a=ju.indexOf(this);0<=a&&ju.splice(a,1)}};function vu(a){Ed(a)?this.Ok=this.L=a:(this.L=vd("DIV",wu("component_container",a)),this.Ok=this.qG(wu("component_base",a)),this.L.appendChild(this.Ok));this.nc=[];this.Hj=!1;if(vf){const b=new Ut(this.rp());this.ta=new Ot;this.ta.gq.addHandler(function(){1==Te(this.ta)&&Wt(b)},this);this.ta.pA.addHandler(function(){0==Te(this.ta)&&Xt(b)},this);a=new cu;a.Hw.addHandler(function(c,d,e){this.Ne(!1);this.Hj&&e.preventDefault();this.enabled()&&this.lj(e)},this);a.CC.addHandler(function(){this.Ne(!0)},
this);a.DC.addHandler(function(){this.enabled()&&this.Gp()},this);Vt(b,a)}else this.Hj=!0,this.ta=new Ot,this.ta.gq.addHandler(function c(){this.ta.gq.removeHandler(c,this);var d=me(this.rp(),"mouseover",function(){this.enabled()&&0<Te(this.ta)&&this.Gp()},!1,this);this.nc.push(d);d=me(this.rp(),"mouseout",function(){this.Ne(!1)},!1,this);this.nc.push(d);d=me(this.rp(),"click",function(e){this.Ne(!0);this.Hj&&0<Te(this.ta)&&(e.preventDefault(),e.stopPropagation());this.lj(e)},!1,this);this.nc.push(d)},
this);this.Kd=new B}n=vu.prototype;n.pe=1;n.oO=!0;n.lj=function(a){!this.oO&&a&&(this.displayObject().blur(),this.Ka().blur());this.ta.D(this,a)};n.resizeEvent=function(){return this.Kd};n.rp=function(){return this.displayObject()};n.setAttribute=function(a,b){this.displayObject().setAttribute(a,b)};n.removeAttribute=function(a){this.displayObject().removeAttribute(a)};n.it=function(a){this.Yk=a;this.wr(a)};
n.xp=function(){this.ha=this.la=void 0;this.Il=new ResizeObserver(a=>{for(const b of a)void 0!==b.target&&(a=b.contentRect,this.la=a.width,this.ha=a.height,this.Ef(a.width,a.height),this.Kd.D(this))});this.Il.observe(this.L);this.Ef(parseInt(this.L.style.width,10),parseInt(this.L.style.height,10));this.Kd.D(this)};n.Gp=function(){this.Sf("active",!0)};n.Ne=function(){this.Sf("active",!1)};n.Ka=function(){return this.Ok};vu.prototype.baseElement=vu.prototype.Ka;vu.prototype.displayObject=function(){return this.L};
vu.prototype.displayObject=vu.prototype.displayObject;n=vu.prototype;n.width=function(){return void 0!==this.la?this.la:this.iA(this.Ka())};n.iA=function(a){return"SVG"==a.tagName.toUpperCase()?a.width.baseVal.value:Mg(a).width};n.Fg=function(a){this.resize(a)};n.height=function(){return void 0!==this.ha?this.ha:this.gA(this.Ka())};n.gA=function(a){return"SVG"==a.tagName.toUpperCase()?a.height.baseVal.value:Mg(a).height};n.Ui=function(a){this.resize(void 0,a)};
n.resize=function(a,b){if(void 0!==this.Il)throw Error("ResizeObserver is turned on");this.kr(a,b);void 0!==a&&(this.la=a);void 0!==b&&(this.ha=b);this.Kd.D(this)};n.kr=function(a,b){void 0!==a&&(Dg(this.displayObject(),a),Dg(this.Ka(),a));void 0!==b&&(Eg(this.displayObject(),b),Eg(this.Ka(),b));void 0!==a&&void 0!==b&&this.Ef(a,b)};n.Ef=function(){};n.x=function(){return void 0!==this.Fa?this.Fa:xg(this.displayObject()).x};n.Ch=function(a){this.Fa=a;this.displayObject().style.left=a+"px"};
n.y=function(){return void 0!==this.Ga?this.Ga:xg(this.displayObject()).y};n.$e=function(a){this.Ga=a;this.displayObject().style.top=a+"px"};n.move=function(a,b){this.Ch(a);this.$e(b)};n.enabled=function(){return!this.Ka().hasAttribute("disabled")};n.kb=function(a){void 0!==this.Yk&&this.wr(a?this.Yk:-1);a?this.Ka().removeAttribute("disabled"):this.Ka().setAttribute("disabled","")};n.visible=function(){return"none"!=this.displayObject().style.display};n.pa=function(a){Lg(this.displayObject(),a)};
n.opacity=function(){return this.pe};n.Nf=function(a){E(this.displayObject(),"opacity",a);this.pe=a};n.za=function(a){a=this.Oh(a);this.displayObject().appendChild(a)};n.ox=function(a,b){a=this.Oh(a);Ad(this.displayObject(),a,b)};n.removeChild=function(a){a=this.Oh(a);this.YD(a)&&this.displayObject().removeChild(a)};n.YD=function(a){return(a instanceof vu?a.displayObject():a).parentNode==this.displayObject()};n.Eb=function(a){Hd(this.Ka(),a)};n.$s=function(a){this.Ka().innerHTML=a};
n.py=function(a){this.Gc("label",a)};n.zh=function(a){Array.isArray(a)&&(a=a.join(" "));Dt(this.Qw?this.Ok:this.L,a)};n.Ck=function(a){this.Gc("hidden",a)};n.Gc=function(a,b){Et(this.Qw?this.Ok:this.L,a,b)};n.qG=function(a){return vd("DIV",a)};function wu(a,b){return void 0===b?a:b instanceof Array?(b=Wa(b),b.push(a),b):[a,b]}n.Sf=function(a,b){a=this.HO?eu(this.HO,a):a;var c=this.L;b?Hn(c,a):In(c,a);this.L!=this.Ok&&(c=this.Ok,b?Hn(c,a):In(c,a))};
n.Ht=function(){me(this.displayObject(),"keydown",this.nB,!1,this)};n.nB=function(a){document.activeElement!=this.displayObject()||a.defaultPrevented||13!=a.keyCode&&32!=a.keyCode||(a.preventDefault(),this.lj(null))};n.wr=function(a){this.setAttribute("tabindex",a+"")};n.ze=function(){for(let a=0;a<this.nc.length;++a){const b=this.nc[a];b&&ve(b)}this.Il&&this.Il.disconnect()};n.Oh=function(a){return a instanceof vu||a instanceof O?a.displayObject():a};function xu(a,b){vu.call(this,vd(b||"DIV",a))}va(xu,vu);function yu(a){const b=new Map;zu(a,b);Au(a,b)}function Au(a,b){const c=a.attributes,d=c.length;for(let f=0;f<d;++f){const h=c.item(f);var e=h.value;e.match(/^url\("?#/)&&e.endsWith(")")&&(e=h.value.substring(e.indexOf("#")+1,e.search(/"\)|\)$/)),e=b.get(e),void 0!==e&&(h.value=`url(#${e})`))}for(const f of Cd(a))Au(f,b)}function zu(a,b){if(a.id&&!b.has(a.id)){const c=kd()+"-"+kd();b.set(a.id,c);a.id=c}for(const c of Cd(a))zu(c,b)};class Bu{constructor(a,b){this.Qt=a;b=b-a.width()-1;this.Rk=new pg(b,2,a.width(),a.height());this.Uk=new xu("trial_banner");this.Uk.Fg(this.Rk.width);this.Uk.Ui(this.Rk.height);E(this.Uk.displayObject(),"cursor","pointer");b=w("DIV");b.innerHTML=a.content();yu(b);Hn(b,"banner-content");Et(b,"hidden",!0);this.Uk.Ka().appendChild(b);b=w("DIV");b.innerHTML=a.contentHover();yu(b);Hn(b,"banner-content_hover");Et(b,"hidden",!0);this.Uk.Ka().appendChild(b);a.url()&&this.Uk.ta.addHandler((c,d)=>{d.stopPropagation();
c=this.Qt.url();sh(c)},this);E(this.displayObject(),"z-index","1000")}ia(){return this.Rk}displayObject(){return this.Uk.displayObject()}};function Cu(a,b){a.Jm.push(b);b=b.displayObject();ih(b,"0 0");Ad(a.Z.displayObject(),b,0)}function Du(a){a.Jm.forEach(b=>b.displayObject().style.display="")}function Eu(a){a.Jm.forEach(b=>b.displayObject().style.display="none")}function Fu(a,b){a.Jm.forEach(c=>Ad(b,c.displayObject(),0))}function Gu(a,b){a.Jm.forEach(c=>b(c))}
class Hu extends Vh{constructor(a){super();this.Z=a;this.Jm=[];y(this,this.Z.resizeEvent(),this.kR,this)}kR(a,b,c,d){for(const f of this.Jm){a=f;b=c;var e=d;const h=a.displayObject(),g=this.Z.scale();Pn(h,g);const [k,l]="accessible"==this.Z.ya?[0,0]:[b+g*a.ia().left,e+g*a.ia().top];vg(h,k,l)}}};function Iu(a){a.wH();a.zH();a.AH();a.uH();a.vH();a.xH()}function Ju(a){a.he&&(Bd(a.he),a.he=null)}
class Ku extends Vh{constructor({presentation:a,playbackController:b,Rx:c,By:d,Vi:e,pk:f,P:h,xy:g}){super();this.I=a;this.C=b;this.xb=c;this.pg=d;this.$b=e;this.kc=f;this.Kc=h;this.Nl=g;this.jw=K(this);this.he=null;Iu(this);y(this,this.C.LD(),this.Tl,this)}width(){return 0}height(){return 0}scale(){return 1}resize(){}eN(a){a&&E(a.displayObject(),"display","");this.Tl();this.jw.D()}gM(){}setOverlayDisplayed(){}Jx(){Lg(this.$b,!0)}Nx(){return!1}wH(){this.xb.removeAttribute("role");this.xb.removeAttribute("aria-live");
this.xb.removeAttribute("style")}zH(){Bd(this.pg)}AH(){this.$b.removeAttribute("style");Hn(this.$b,"slides-container")}uH(){Bd(this.kc.displayObject())}vH(){Bd(this.Kc)}xH(){Hn(this.Nl,"slide-displays-parent")}Tl(){Ju(this);0<=this.C.currentSlideIndex()&&(this.TC()||this.RC()||this.UC())}TC(){return this.C.U()instanceof sn?(this.he=this.C.quizPlayer().skin().displayObject(),this.xb.appendChild(this.he),!0):!1}RC(){return this.C.U()instanceof ek?(this.he=this.C.interactionPlayer().displayObject(),
this.xb.appendChild(this.he),!0):!1}UC(){this.C.U()instanceof zn&&(this.he=this.C.scenarioPlayer().displayObject(),this.xb.appendChild(this.he))}od(){super.od();Ju(this)}};function Lu(){this.tr=new B}n=Lu.prototype;n.Jr=null;n.Gj=null;n.Ul=!1;
n.Hx=function(a,b){if("touchEnd"==a)return this.Ul&&this.Jr&&this.Gj?this.ML(this.Gj,this.Jr)?1:0:0;if(1!=b.touches().length||oh(b.pj))return this.Ul=!1,0;const c=new Vc(b.touches()[0].screenX(),b.touches()[0].screenY());if("touchStart"==a){if(ph(b.pj))return this.Ul=!1,0;this.Jr=this.Gj=c;this.Ul=!0;return 0}if(!this.Ul||!this.Jr||!this.Gj)return 0;(this.Ul=this.Jr==this.Gj?this.NL(c,this.Gj):this.OL(c,this.Gj))&&b.pj.preventDefault();this.Gj=c;return 0};n.sx=function(){this.tr.D()};n.jk=function(){};
function Mu(){this.tr=new B}va(Mu,Lu);Mu.prototype.Lo=function(){return"scrollLeft"};Mu.prototype.OL=function(a,b){return a.x<=b.x};Mu.prototype.NL=function(a,b){return b.x-a.x>=Math.abs(a.y-b.y)};Mu.prototype.ML=function(a,b){const c=b.x-a.x;return 40<c&&.7*c>=Math.abs(a.y-b.y)};function Nu(){this.tr=new B}va(Nu,Lu);Nu.prototype.Lo=function(){return"scrollRight"};Nu.prototype.OL=function(a,b){return a.x>=b.x};Nu.prototype.NL=function(a,b){return a.x-b.x>=Math.abs(a.y-b.y)};
Nu.prototype.ML=function(a,b){const c=a.x-b.x;return 40<c&&.7*c>=Math.abs(a.y-b.y)};function Ou(){this.ju=new B;this.GO=new B;this.GG=new B;this.EG=new B}n=Ou.prototype;n.Ym=!1;n.Xm=!1;n.zw=null;n.$q=null;n.Lo=function(){return"drag"};n.Hx=function(a,b){if(1==b.touches().length){if("touchStart"==a)return this.Ym&&(this.Xm=this.Ym=!1),this.Xm=!1,1;if("touchMove"==a&&this.Xm)return 1}this.Ym&&(this.Xm=this.Ym=!1,this.EG.D(this.$q.x,this.$q.y));return 0};
n.sx=function(a){a=new Vc(a.touches()[0].clientX(),a.touches()[0].clientY());this.Xm?(a=$c(a,this.zw),Wc(a,this.$q)||(this.Ym||(this.Ym=!0,this.GG.D(this.zw.x,this.zw.y)),this.$q=a,this.ju.D(a.x,a.y))):(this.Xm=!0,this.zw=a,this.$q=new Vc,this.GO.D())};n.jk=function(){};function Pu(){this.zS=new B;this.Sn=new B;this.AK=new B;this.ju=new B;this.xq=null;this.gC=!1}n=Pu.prototype;n.yq=-1;n.Du=0;n.Lo=function(){return"scale"};n.Hx=function(a,b){a=2==b.touches().length;const c=!a&&0<this.yq;a!=this.gC&&(this.gC||(Qu(b),this.zS.D()),this.gC=a);return a||c?1:0};
n.sx=function(a){if(2==a.touches().length){var b=Qu(a);if(this.xq&&b){const c=$c(b.DM,this.xq.DM),d=$c(b.tN,this.xq.tN),e=0>c.x&&0>d.x||0<c.x&&0<d.x;(0>c.y&&0>d.y||0<c.y&&0<d.y||e)&&this.ju.D(Math.abs(c.x)<Math.abs(d.x)?c.x:d.x,Math.abs(c.y)<Math.abs(d.y)?c.y:d.y)}this.xq=b;b=a.scale();void 0===b&&(b=a.touches()[0],a=a.touches()[1],a=Xc(new Vc(b.clientX(),b.clientY()),new Vc(a.clientX(),a.clientY())),this.Du?b=a/this.Du:(b=1,this.Du=a));a=b;this.Sn.D(a);this.yq=a}else 0<this.yq&&(this.AK.D(this.yq),
this.xq=null,this.yq=-1,this.Du=0)};function Qu(a){a=a.touches();return 2!=a.length?null:{DM:new Vc(a[0].clientX(),a[0].clientY()),tN:new Vc(a[1].clientX(),a[1].clientY())}}n.jk=function(){};function Ru(){ye.call(this);this.ff=Su;this.endTime=this.startTime=null}va(Ru,ye);var Su=0;Ru.prototype.Os=function(){this.qh("begin")};Ru.prototype.Zo=function(){this.qh("end")};Ru.prototype.qh=function(a){this.dispatchEvent(a)};function Tu(a,b,c){Pd.call(this);this.hE=a;this.To=b||0;this.KM=c;this.xU=ua(this.UU,this)}va(Tu,Pd);n=Tu.prototype;n.Cs=0;n.Ue=function(){Tu.xc.Ue.call(this);this.stop();delete this.hE;delete this.KM};n.start=function(a){this.stop();this.Cs=Zf(this.xU,void 0!==a?a:this.To)};n.stop=function(){this.isActive()&&fa.clearTimeout(this.Cs);this.Cs=0};n.isActive=function(){return 0!=this.Cs};n.UU=function(){this.Cs=0;this.hE&&this.hE.call(this.KM)};var yc={},Uu=null;function Vu(a){a=ma(a);delete yc[a];xc()&&Uu&&Uu.stop()}function Wu(){Uu||(Uu=new Tu(function(){Xu()},20));var a=Uu;a.isActive()||a.start()}function Xu(){var a=Date.now();pc(yc,function(b){Yu(b,a)});xc()||Wu()};function Zu(a,b,c,d){Ru.call(this);if(!Array.isArray(a)||!Array.isArray(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.lt=a;this.XU=b;this.duration=c;this.cM=d;this.coords=[];this.progress=0}va(Zu,Ru);n=Zu.prototype;
n.play=function(a){if(a||this.ff==Su)this.progress=0,this.coords=this.lt;else if(1==this.ff)return!1;Vu(this);this.startTime=a=Date.now();-1==this.ff&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.Os();this.qh("play");-1==this.ff&&this.qh("resume");this.ff=1;var b=ma(this);b in yc||(yc[b]=this);Wu();Yu(this,a);return!0};n.stop=function(a){Vu(this);this.ff=Su;a&&(this.progress=1);$u(this,this.progress);this.qh("stop");this.Zo()};
n.pause=function(){1==this.ff&&(Vu(this),this.ff=-1,this.qh("pause"))};n.Dk=function(a){this.progress=a;1==this.ff&&(this.startTime=Date.now()-this.duration*this.progress,this.endTime=this.startTime+this.duration)};n.Ue=function(){this.ff==Su||this.stop(!1);this.qh("destroy");Zu.xc.Ue.call(this)};n.destroy=function(){this.ze()};
function Yu(a,b){b<a.startTime&&(a.endTime=b+a.endTime-a.startTime,a.startTime=b);a.progress=(b-a.startTime)/(a.endTime-a.startTime);1<a.progress&&(a.progress=1);$u(a,a.progress);1==a.progress?(a.ff=Su,Vu(a),a.qh("finish"),a.Zo()):1==a.ff&&a.tE()}function $u(a,b){"function"===typeof a.cM&&(b=a.cM(b));a.coords=Array(a.lt.length);for(var c=0;c<a.lt.length;c++)a.coords[c]=(a.XU[c]-a.lt[c])*b+a.lt[c]}n.tE=function(){this.qh("animate")};n.qh=function(a){this.dispatchEvent(new av(a,this))};
function av(a,b){Td.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.ff}va(av,Td);function bv(a){return 1-Math.pow(1-a,3)};function cv(a,b){b!=a.BK&&((a.BK=b)?(Vt(a.Zf,a.CK),Vt(a.Zf,a.FG)):(au(a.Zf,a.CK),au(a.Zf,a.FG)))}function dv(a){a.oj&&(a.oj.ze(),a.oj=null)}function ev(a,b){var c=(b-a.wj)/a.wj;a.wj=b;b=a.Ta.x;var d=a.Ta.y;b-=(a.Xw/2-b)*c;d-=(a.Ww/2-d)*c;a.Ta=fv(a,new Vc(b,d));a.Sn.D(a.ua(),a.Ta.x,a.Ta.y);c=1==a.wj;if(a.FK!=c)for(a.FK=c,b=a.IS,d=0;d<b.length;++d){const e=b[d];e&&(c?Vt(a.Zf,e):au(a.Zf,e))}}
function fv(a,b){function c(f,h,g){return h<=g?(g-h)/2:Tc(f,g-h,0)}const d=a.ua(),e=a.Xc*d;return new Vc(c(b.x,a.Yc*d,a.Xw),c(b.y,e,a.Ww))}
class gv{constructor(a,b,c,d){var e=Number.MAX_VALUE;this.hh=this.Tp=this.oj=null;this.Bw=-1;this.TF=this.wj=1;this.BK=!1;this.FK=!0;this.BG=a;this.Zf=b;this.Xw=this.Yc=c;this.Ww=this.Xc=d;this.iQ=e;this.Ta=new Vc;this.Sn=new B;this.IS=[bu(b,"scrollLeft"),bu(b,"scrollRight")];a=new Pu;a.Sn.addHandler(this.KR,this);a.AK.addHandler(this.JR,this);this.CK=a;a=new Ou;a.ju.addHandler(this.IR,this);a.GG.addHandler(this.HR,this);a.EG.addHandler(this.GR,this);this.FG=a}ua(){return this.wj*this.TF}KR(a){0>
this.Bw&&(dv(this),this.Bw=this.wj);ev(this,Tc(this.Bw*a,1,4))}JR(){this.Bw=-1}IR(a,b){1<this.wj&&window.event&&window.event.preventDefault();a=new Vc(a,b);this.Tp.push({offset:a,time:Date.now()});this.Nd(ad(this.hh,a))}HR(){dv(this);this.Tp=[];this.hh=this.Ta.clone()}GR(){var a=this.Tp.length;if(2<=a){var b=this.Tp[a-2],c=this.Tp[a-1];const d=c.time-b.time;0<d&&(a=(c.offset.x-b.offset.x)/d,b=(c.offset.y-b.offset.y)/d,c=Math.max(Math.abs(800*a),Math.abs(800*b)),this.oj=new hv(this.Ta,new Vc(this.Ta.x+
a*c/7,this.Ta.y+b*c/7),c),me(this.oj,"animate",this.NQ,!1,this),me(this.oj,"finish",this.MQ,!1,this),this.oj.play())}}NQ(){this.Nd(this.oj.position())}MQ(){dv(this)}Nd(a){a=fv(this,a);Wc(this.Ta,a)||(this.Sn.D(this.ua(),a.x,a.y),this.Ta=a)}}class hv extends Zu{constructor(a,b,c){super([a.x,a.y],[b.x,b.y],c,bv)}position(){return new Vc(this.coords[0],this.coords[1])}};function iv(a){const b=new Ut(a.xb,[new Mu,new Nu]);y(a,bu(b,"scrollLeft").tr,()=>{var c=a.oc.Am();c.Yb()&&c.iu(c.US)&&c.I.settings().navigation().vh().enabled()&&c.C.U().hs()&&jv(c)});y(a,bu(b,"scrollRight").tr,()=>{var c=a.oc.Am();c.Yb()&&c.iu(c.VS)&&c.I.settings().navigation().vh().enabled()&&c.C.U().hs()&&c.Lj.gotoPreviousSlide()});Wt(b);if(Rf){const c=new cu;y(a,c.Hw,a.JQ,a);y(a,c.DG,a.IQ,a);Vt(b,c)}return b}
function kv(a){var b=Cd(a.kc.displayObject());if(b.length)for(const c of b)Gn(c,"framesLayerContent")&&(b=c,b.setAttribute("data-width",a.la),b.setAttribute("data-height",a.ha))}function lv(a){var b=a.C;-1!=b.currentSlideIndex()&&(b=b.Qb().view(),b instanceof xn&&b.scenarioPlayer().setParentScale(a.ua),Ff||(b instanceof rn?b.quizPlayer().resize(a.la,a.ha):b instanceof fk&&b.interactionPlayer().resize(a.la,a.ha)))}
function mv(a,b,c){for(let d=0;d<b.length;++d){const e=a.oc.Wb.rh(b[d]);e&&nv(e,c)}}function ov(a,b){for(let c=0;c<b.length;++c){const d=b[c],e=a.oc.Wb.rh(d);e&&e.nk(d.asset().If())}}function pv(a,b){for(let c=0;c<b.length;++c){const d=a.oc.Wb.rh(b[c]);d&&d.nk(!1)}}function qv(a){a.jg||a.Mu?Xt(a.Zf):Wt(a.Zf)}function rv(a){var b=!1;const c="none"!=a.$b.style.display,d=0<=a.C.currentSlideIndex();c&&d&&(b=a.C.U(),b=a.I.settings().navigation().Ko().zF()&&"slide"==b.type());cv(a.bD,b)}
function sv(a){if("idle"==a.fc.state()){var b=a.C;b=0<=b.currentSlideIndex()?b.U():null;var c=b instanceof ek,d=b instanceof zn;b instanceof sn||c||d||!mf&&Lb&&Ja(sd("IMG",null,a.$b),e=>{null!=e.id&&0<e.id.length||(e.id="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,l=>{let m=16*Math.random()|0;return("x"==l?m:m&3|8).toString(16)}));let f;if(vc(a.vA,e.id)){var h=u(a.vA,e.id);f=h.transform.clone();var g=h.origin.clone();var k=h.width;h=h.height}else f=Mn(e),null===f&&(f=new nl),g=Nn(e),null===
g&&(g=new Vc),ih(e,g.x+"px "+g.y+"px"),k=parseFloat(e.getAttribute("width")),h=parseFloat(e.getAttribute("height")),zc(a.vA,e.id,{transform:f.clone(),origin:g.clone(),width:k,height:h});h*=a.ua;Dg(e,k*a.ua);Eg(e,h);k=1/a.ua;h=1/a.ua;g=$c(new Vc,g);g=new nl(k,0,0,h,g.x-k*g.x,g.y-h*g.y);Jn(e,ol(f,g))},a)}}
class tv extends Vh{constructor({presentation:a,kW:b,Rx:c,By:d,Vi:e,pk:f,P:h,xy:g,playbackController:k,mX:l}){super();this.I=a;this.oc=b;this.xb=c;this.pg=d;this.$b=e;this.kc=f;this.Kc=h;this.Nl=g;Iu(this);this.la=a.slideWidth();this.ha=a.slideHeight();this.ua=1;this.Zf=iv(this);const {width:m,height:p}=this.te();b=new gv(this.xb,this.Zf,m,p);cv(b,!1);y(this,b.Sn,this.AS,this);this.bD=b;this.jw=K(this);this.Jc=null;this.Mu=!1;this.C=k;this.fc=l;this.vA={};this.jg=!1;this.he=null;a=a.slides();this.jo=
ft(a)}width(){return this.la}height(){return this.ha}scale(){return this.ua}resize(a,b){this.la=a;this.ha=b;Cg(this.xb,a,b);var c=this.bD;c.Ta=fv(c,ad(c.Ta,new Vc((a-c.Xw)/2,(b-c.Ww)/2)));c.Xw=a;c.Ww=b;c.TF=Math.min(a/c.Yc,b/c.Xc,c.iQ);ev(c,c.wj);kv(this);lv(this)}eN(a){var b=this.C,c=this.Jc?this.Jc.index():-1;const d=b.currentSlideIndex();this.Jc=0<=d?b.U():null;b=this.Jc instanceof sn;const e=this.Jc instanceof ek,f=this.Jc instanceof zn;this.Mu=(this.kc.yI=b)||e||f;this.pg.style.opacity=this.Mu?
"0":"";this.Tl();a&&E(a.displayObject(),"display",f?"none":"");a=ht(this.jo,c,d);c=ht(this.jo,d,c);mv(this,a,!1);mv(this,c,!0);this.jg&&(ov(this,a),pv(this,c));kv(this);qv(this)}gM(a){ev(this.bD,1);rv(this);lv(this);sv(this);var b=this.C;-1!=b.currentSlideIndex()&&void 0!==a&&(b=(b=b.Qb())&&b.view(),b instanceof rn?b.quizPlayer().setBannerView(a.displayObject()):b instanceof fk?b.interactionPlayer().setBannerView(a.displayObject()):b instanceof xn&&b.scenarioPlayer().setBannerView(a.displayObject()))}setOverlayDisplayed(a){if(this.jg!=
a){this.jg=a;if(this.Jc){var b=this.Jc.index();b=this.jo.io[b]||[];a?pv(this,b):ov(this,b);(b=this.C.quizPlayer())&&b.setOverlayDisplayed(a)}qv(this)}}Jx(a){this.$b.style.display="";this.pg.style.display="";Du(a);rv(this)}Nx(){return this.Mu}wH(){const a=this.xb;a.setAttribute("role","main");a.setAttribute("aria-live","polite");a.style.overflow="hidden";Cg(a,this.te().width,this.te().height);df&&(a.style["-webkit-text-size-adjust"]="none")}zH(){const a=this.pg;Fd(a)||Ad(this.xb,this.pg,0);a.style.display=
"none";const {width:b,height:c}=this.te();Cg(a,b-2,c-2);vg(a,1,1)}AH(){const a=this.$b;a.removeAttribute("class");a.style.overflow="hidden";a.style.position="absolute";Cg(a,this.te().width,this.te().height);ih(a,"0 0")}uH(){const a=this.kc.displayObject();E(a,"z-index","2");Fd(a)||this.xb.appendChild(a)}vH(){Fd(this.Kc)||this.$b.appendChild(this.Kc)}xH(){In(this.Nl,"slide-displays-parent")}IQ(a,b,c){a=c.target;a instanceof HTMLVideoElement&&a.controls?c.stopPropagation():Gd(this.$b,a)&&(c.preventDefault(),
c=this.oc.Am(),c.iu(c.TS))}JQ(a,b,c){th(c.target)||(a=c.target,a instanceof HTMLVideoElement&&a.controls?c.stopPropagation():Gd(this.$b,a)&&(c.preventDefault(),zr(this.oc.Am(),this,c)))}AS(a,b,c){b=Math.round(b);c=Math.round(c);var d=this.I.slideWidth(),e=this.I.slideHeight();d*=a;e*=a;const f=this.ua!=a;f&&(this.ua=a,Pn(this.$b,a),uv(this.oc.Wb,this.ua),lv(this),sv(this),Cg(this.pg,d-2,e-2));vg(this.$b,b,c);vg(this.pg,b+1,c+1);this.jw.D(d,e,b,c);f&&mf&&Qn(this.xb)}te(){return new bd(this.I.slideWidth(),
this.I.slideHeight())}Tl(){Ju(this);0<=this.C.currentSlideIndex()&&(this.TC()||this.RC()||this.UC())}TC(){if(this.C.U()instanceof sn){const a=this.C.quizPlayer();a.setOverlayDisplayed(this.jg);Ff||(this.he=a.skin().displayObject(),this.xb.appendChild(this.he));return!0}return!1}RC(){if(this.C.U()instanceof ek){const a=this.C.interactionPlayer();a.setOverlayDisplayed(this.jg);Ff||(this.he=a.displayObject(),this.xb.appendChild(this.he));return!0}return!1}UC(){this.C.U()instanceof zn&&this.C.scenarioPlayer().setOverlayDisplayed(this.jg)}od(){super.od();
Xt(this.Zf);Ju(this)}};class vv{constructor(a){this.Uf=a}create(a){switch(a){case "normal":return new tv(this.Uf);case "accessible":return new Ku({presentation:this.Uf.presentation,playbackController:this.Uf.playbackController,Rx:this.Uf.Rx,By:this.Uf.By,Vi:this.Uf.Vi,pk:this.Uf.pk,P:this.Uf.P,xy:this.Uf.xy});default:throw Error("unknown presentation view mode");}}};class wv extends Bu{constructor(a,b){var c=a.content(),d=RegExp('<lineargradient.*?id="(.*?)".*?/lineargradient>',"gi");const e=[];for(var f=d.exec(c);f;)e.push(f[1]),f=d.exec(c);for(d=0;d<e.length;++d)f=e[d],c=c.replace(new RegExp(f,"g"),"quiz_"+f);a=new pk({content:c,contentHover:a.contentHover(),url:a.url(),width:a.width(),height:a.height(),up:a.up(),language:a.language(),Co:a.Co(),Bo:a.Bo(),Do:a.Do(),Eo:a.Eo()});super(a,b)}};const xv={A0:"switchToNextSlide",C0:"switchToPreviousSlide",MX:"arbitrarySlideSwitching",h0:"slideShowControl",B0:"switchToNextStep",D0:"switchToPreviousStep",YZ:"playPauseControl",g_:"presentationSeeking",g0:"slideSeeking",t_:"quizSwitchToNextSlide",u_:"quizSwitchToNextSlideWithoutBranching",q_:"quizArbitrarySlideSwitching",R_:"scenarioSwitchToNextSlide",S_:"scenarioSwitchToNextSlideWithoutBranching",O_:"ScenarioArbitrarySlideSwitching"};
q("NavigationActionType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$restriction$NavigationActionType",xv);function yv(){return"switchToNextSlide switchToPreviousSlide arbitrarySlideSwitching slideShowControl switchToNextStep switchToPreviousStep playPauseControl presentationSeeking slideSeeking".split(" ")}xv.all=yv;q("SWITCH_TO_NEXT_SLIDE","switchToNextSlide",xv);q("SWITCH_TO_PREVIOUS_SLIDE","switchToPreviousSlide",xv);
q("ARBITRARY_SLIDE_SWITCHING","arbitrarySlideSwitching",xv);q("SLIDE_SHOW_CONTROL","slideShowControl",xv);q("SWITCH_TO_NEXT_STEP","switchToNextStep",xv);q("SWITCH_TO_PREVIOUS_STEP","switchToPreviousStep",xv);q("PLAY_PAUSE_CONTROL","playPauseControl",xv);q("PRESENTATION_SEEKING","presentationSeeking",xv);q("SLIDE_SEEKING","slideSeeking",xv);const zv={vY:"currentSlideIsLocked",wY:"currentSlideIsNotCompleted",sY:"currentSlideIsFirstSlide",uY:"currentSlideIsLastSlide",tY:"currentSlideIsInteraction",PX:"backwardNavigationIsRestricted",YY:"forwardNavigationIsRestricted",h_:"presentationSeekingDisabled",qZ:"interactionNotCompleted",a_:"precedingQuizNotPassed",$Z:"precedingQuizNotCompleted",ZZ:"precedingQuizFailed",c_:"precedingScenarioNotCompleted",d_:"precedingScenarioNotPassed",b_:"precedingScenarioFailed"};
q("NavigationRestrictionReasonType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$restriction$NavigationRestrictionReasonType",zv);q("CURRENT_SLIDE_IS_LOCKED","currentSlideIsLocked",zv);q("CURRENT_SLIDE_IS_NOT_COMPLETED","currentSlideIsNotCompleted",zv);q("CURRENT_SLIDE_IS_LAST_SLIDE","currentSlideIsLastSlide",zv);q("CURRENT_SLIDE_IS_FIRST_SLIDE","currentSlideIsFirstSlide",zv);
q("BACKWARD_NAVIGATION_IS_RESTRICTED","backwardNavigationIsRestricted",zv);q("FORWARD_NAVIGATION_IS_RESTRICTED","forwardNavigationIsRestricted",zv);q("PRESENTATION_SEEKING_DISABLED","presentationSeekingDisabled",zv);q("PRECEDING_QUIZ_NOT_PASSED","precedingQuizNotPassed",zv);q("PRECEDING_QUIZ_NOT_COMPLETED","precedingQuizNotCompleted",zv);q("PRECEDING_QUIZ_FAILED","precedingQuizFailed",zv);q("PRECEDING_SCENARIO_NOT_COMPLETED","precedingScenarioNotCompleted",zv);
q("PRECEDING_SCENARIO_FAILED","precedingScenarioFailed",zv);q("PRECEDING_SCENARIO_NOT_PASSED","precedingScenarioNotPassed",zv);const Av={f_:"presentationNavigationType",f0:"slideNavigationSettings",r_:"quizNavigationSettings",P_:"scenarioNavigationSettings",e_:"presentationFlow"};q("NavigationRestrictionSource$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$restriction$NavigationRestrictionSource",Av);q("PRESENTATION_NAVIGATION_TYPE","presentationNavigationType",Av);q("SLIDE_NAVIGATION_SETTINGS","slideNavigationSettings",Av);
q("PRESENTATION_FLOW","presentationFlow",Av);function Bv(a,b,c){const d=a.C,e=a.I.settings().navigation().navigationType(),f=0<=d.currentSlideIndex()?d.U():null;if(!f)return null;{const k=a.C;var h=0<=k.currentSlideIndex()?k.U():null;if(h){var g=a.I.slides();switch(b){case "arbitrarySlideSwitching":h=g.getSlide(c);break;case "switchToNextSlide":case "switchToNextStep":case "playPauseControl":Cv(a,b)&&(c=k.nextSlideIndex(),0<=c?h=g.getSlide(c):(c=!!a.U().Te().Oi(),a.I.settings().playback().uh()&&!c&&(h=g.getSlide(a.firstSlideIndex()))));break;
case "switchToPreviousSlide":case "switchToPreviousStep":Dv(a,b)&&(a=k.previousSlideIndex(),0<=a&&(h=g.getSlide(a)));break;case "presentationSeeking":h=null}g=h}else g=null}if(g==f)return null;if(!g)return"presentationSeeking"==b&&"free"!=e?new Wn("presentationSeekingDisabled"):null;switch(e){case "restricted":if(g.Iy())break;if(g.index()!=d.nextSlideIndex()&&g.index()!=d.previousSlideIndex())return new Wn("forwardNavigationIsRestricted");if("slide"==f.type()&&!f.completed())return new Wn("currentSlideIsNotCompleted");
break;case "sequential":if(g.index()!=d.nextSlideIndex()&&(0!=g.index()||"switchToNextSlide"!=b))return g.Iy()?new Wn("backwardNavigationIsRestricted"):new Wn("forwardNavigationIsRestricted");if("slide"==f.type()&&!f.completed())return new Wn("currentSlideIsNotCompleted")}return null}
function Ev(a,b,c,d){Cv(a,b)?c=d:Dv(a,b)&&(c=a.previousSlideIndex());if(void 0===c)return null;d=a.C.Qb().view();if((d instanceof rn||d instanceof fk)&&!d.np()&&c!=a.C.currentSlideIndex())return new Wn("interactionNotCompleted");if(!(0<a.C.Cc.length))for(d=0;d<c;++d){var e=a.I.slides().getSlide(d);if(e.visible()&&e instanceof sn)if("afterAttempt"==e.yi){if(e=Fv(a,e),!e||!(1<e.LL||Hh(e)))return new Wn("precedingQuizNotCompleted",d)}else if("afterPassing"==e.yi&&!a.Yv(e))return(a=(a=Fv(a,e))?"graded"==
a.Zv&&Hh(a)?a.allowRetakeQuiz():!0:!1)?new Wn("precedingQuizNotPassed",d):new Wn("precedingQuizFailed",d)}return"quizSwitchToNextSlideWithoutBranching"!=b&&"quizSwitchToNextSlide"!=b||a.I.settings().playback().uh()||a.currentSlideIndex()!=a.th()?null:new Wn("currentSlideIsLastSlide")}
function Gv(a,b,c,d){Cv(a,b)?c=d:Dv(a,b)&&(c=a.previousSlideIndex());if(void 0===c)return null;d=a.C.Qb().view();if(d instanceof xn&&!d.np()&&c!=a.C.currentSlideIndex())return new Wn("interactionNotCompleted");if(!(0<a.C.Cc.length))for(d=0;d<c;++d){var e=a.I.slides().getSlide(d);if(e.visible()&&e instanceof zn)if("afterAttempt"==e.yi){if(e=Hv(a,e),!e||!e.pf)return new Wn("precedingScenarioNotCompleted",d)}else{var f;if(f="afterPassing"==e.yi)f=Hv(a,e),f=!(f&&f.scenarioPassed());if(f)return((a=Hv(a,
e))?a.aG:1)?new Wn("precedingScenarioNotPassed",d):new Wn("precedingScenarioFailed",d)}}return"scenarioSwitchToNextSlideWithoutBranching"!=b&&"scenarioSwitchToNextSlide"!=b||a.I.settings().playback().uh()||a.currentSlideIndex()!=a.th()?null:new Wn("currentSlideIsLastSlide")}
function Cv(a,b){var c=0<=a.C.currentSlideIndex()?a.C.U():null;if(!c)return!1;const d=a.C.clock().timestamp(),e=c.va();c=e.count()-1==d.stepIndex();switch(b){case "switchToNextSlide":case "quizSwitchToNextSlide":case "quizSwitchToNextSlideWithoutBranching":case "scenarioSwitchToNextSlide":case "scenarioSwitchToNextSlideWithoutBranching":return!0;case "switchToNextStep":return a=e.Za(e.count()-1),c&&(a.zg()||a.duration()<=d.timeOffset());case "playPauseControl":return c&&ss(a.C)}return!1}
function Dv(a,b){if(!(0<=a.C.currentSlideIndex()&&a.C.U()))return!1;switch(b){case "switchToPreviousSlide":return!0;case "switchToPreviousStep":return a=a.C.clock().timestamp(),0==a.stepIndex()&&.01>=a.timeOffset()}return!1}function Fv(a,b){return(a=a.C.getSlidePlaybackController(b.index()))&&a.gr?(b=a.quizPlayer(),Fh(b)):b.Iv}function Hv(a,b){return(a=a.C.getSlidePlaybackController(b.index()))&&a.sr?(b=a.scenarioPlayer(),wn(b)):b.Kv}
function Iv(a,b,c,d){return(b=a.Gi(b,c,d,null))?(a.tI.D(b),!1):!0}
class P{constructor(a,b){this.C=a;this.I=b;this.tI=new B}getSlidePlaybackController(a){return this.C.getSlidePlaybackController(a)}Gi(a,b,c,d){const e={};var f;a:{if(Cv(this,a)){if((f=-1==this.C.nextSlideIndex())&&!(f=this.U().Te().Oi())&&(f=!this.I.settings().playback().uh())){var h=this.C,g=h.J.timestamp();f=g.stepIndex();g=g.timeOffset();h=h.Gb.va();f=f==h.count()-1?h.Za(f):null;f=null!==f&&g>=f.duration()}if(f){f=new Wn("currentSlideIsLastSlide");break a}}else if(Dv(this,a)&&-1==this.C.previousSlideIndex()&&
(f=this.C.clock().timestamp(),0==f.stepIndex()&&0==f.timeOffset()||this.U().Te().fp())){f=new Wn("currentSlideIsFirstSlide");break a}f=null}e.presentationFlow=f;"quizSwitchToNextSlide"!=a&&"quizSwitchToNextSlideWithoutBranching"!=a&&"scenarioSwitchToNextSlide"!=a&&"scenarioSwitchToNextSlideWithoutBranching"!=a&&(e.presentationNavigationType=Bv(this,a,b));f="quizSwitchToNextSlideWithoutBranching"==a||"scenarioSwitchToNextSlideWithoutBranching"==a?ws(this.C):this.C.nextSlideIndex();e.quizNavigationSettings=
Ev(this,a,b,f);e.scenarioNavigationSettings=Gv(this,a,b,f);f="playPauseControl"!=a||Cv(this,a)?(f=0<=this.C.currentSlideIndex()?this.C.U():null)?f.im().YM(a)?null:new Wn("currentSlideIsLocked"):null:null;e.slideNavigationSettings=f;g=f=null;for(const k in e)e.hasOwnProperty(k)&&(h=e[k])&&(f=k,g=h);return null!==f?new Xn(a,f,g,b,c,d):null}Yv(a){return(a=Fv(this,a))?Gh(a):!1}play(){Iv(this,"playPauseControl",this.C.currentSlideIndex(),null)&&this.C.play()}pause(){Iv(this,"playPauseControl",this.C.currentSlideIndex(),
null)&&this.C.pause()}gotoSlide(a,b){Iv(this,"arbitrarySlideSwitching",a,null)&&this.C.gotoSlide(a,b)}Oo(a){const b=this.C.Px();-1!=b&&Iv(this,"arbitrarySlideSwitching",b,null)&&this.C.Oo(a)}rk(a){Iv(this,"arbitrarySlideSwitching",this.C.firstSlideIndex(),null)&&this.C.rk(a)}sk(a){Iv(this,"arbitrarySlideSwitching",this.C.th(),null)&&this.C.sk(a)}gotoNextSlide(a){Iv(this,"switchToNextSlide",this.C.nextSlideIndex(),null)&&this.C.gotoNextSlide(a)}gotoPreviousSlide(a){Iv(this,"switchToPreviousSlide",
this.C.previousSlideIndex(),null)&&this.C.gotoPreviousSlide(a)}tk(){Iv(this,"switchToNextStep",this.C.currentSlideIndex(),null)&&this.C.tk()}Po(){Iv(this,"switchToPreviousStep",this.C.currentSlideIndex(),null)&&this.C.Po()}uk(a,b,c,d){const e=a==this.C.currentSlideIndex()?"slideSeeking":"presentationSeeking";Iv(this,e,a,new Hi(a,b,c))&&this.C.uk(a,b,c,d)}firstSlideIndex(){return this.C.firstSlideIndex()}th(){return this.C.th()}nextSlideIndex(){return this.C.nextSlideIndex()}previousSlideIndex(){return this.C.previousSlideIndex()}currentSlideIndex(){return this.C.currentSlideIndex()}U(){return this.C.U()}playbackState(){return this.C.playbackState()}clock(){return this.C.clock()}slideChangeEvent(){return this.C.slideChangeEvent()}pp(){return this.C.pp()}iF(){return this.C.iF()}transitionEffectStartEvent(){return this.C.transitionEffectStartEvent()}LD(){return this.C.LD()}Qi(){return this.C.Qi()}nE(){return this.tI}BE(){return this.C.BE()}Qb(){return this.C.Qb()}quizPlayer(){return this.C.quizPlayer()}scenarioPlayer(){return this.C.scenarioPlayer()}interactionPlayer(){return this.C.interactionPlayer()}slideTransitionController(){return this.C.slideTransitionController()}Li(){return this.C.Li()}lF(a,
b){this.C.lF(a,b)}mt(a){this.C.mt(a)}FD(){this.C.FD()}EE(){return this.C.EE()}}P.prototype.slideTransitionController=P.prototype.slideTransitionController;P.prototype.scenarioPlayer=P.prototype.scenarioPlayer;P.prototype.quizPlayer=P.prototype.quizPlayer;P.prototype.navigationRestrictedEvent=P.prototype.nE;P.prototype.playbackCompleteEvent=P.prototype.Qi;P.prototype.stepChangeEvent=P.prototype.pp;P.prototype.slideChangeEvent=P.prototype.slideChangeEvent;P.prototype.clock=P.prototype.clock;
P.prototype.playbackState=P.prototype.playbackState;P.prototype.currentSlide=P.prototype.U;P.prototype.currentSlideIndex=P.prototype.currentSlideIndex;P.prototype.previousSlideIndex=P.prototype.previousSlideIndex;P.prototype.nextSlideIndex=P.prototype.nextSlideIndex;P.prototype.lastSlideIndex=P.prototype.th;P.prototype.firstSlideIndex=P.prototype.firstSlideIndex;P.prototype.gotoTimestamp=P.prototype.uk;P.prototype.gotoPreviousStep=P.prototype.Po;P.prototype.gotoNextStep=P.prototype.tk;
P.prototype.gotoPreviousSlide=P.prototype.gotoPreviousSlide;P.prototype.gotoNextSlide=P.prototype.gotoNextSlide;P.prototype.gotoLastSlide=P.prototype.sk;P.prototype.gotoFirstSlide=P.prototype.rk;P.prototype.gotoLastSlideViewed=P.prototype.Oo;P.prototype.gotoSlide=P.prototype.gotoSlide;P.prototype.pause=P.prototype.pause;P.prototype.play=P.prototype.play;P.prototype.checkNavigationRestriction=P.prototype.Gi;class Jv extends Xr{constructor(a,b,c,d,e,f,h){super(a,b,c,d,e,f);this.Mg=f;f.interactionPlayer()?f.interactionPlayer().setViewMode(h):Ie(this,f.GH,g=>{g.setViewMode(h)})}interactionPlayer(){return this.Mg.interactionPlayer()}um(a){this.slide().style.opacity=""+(a?1:0)}};class Kv extends Xr{constructor(a,b,c,d,e,f,h){super(a,b,c,d,e,f);this.Mg=f;this.XB=null;f.quizPlayer()?this.xr(h):Ie(this,f.bK,()=>this.xr(h))}quizPlayer(){return this.Mg.quizPlayer()}um(a){this.slide().style.opacity=""+(a?1:0)}xr(a){const b=this.Mg.quizPlayer();b.onPresentationViewModeChanged(a);this.XB=b.skin().displayObject();this.Ea.appendChild(this.XB);this.rw.innerHTML=this.Ea.innerHTML;Lg(this.ni,"normal"==a)}od(){super.od();Bd(this.XB)}};class Lv extends Vh{constructor(a){super();this.X=a;this.R=0;this.og=K(this);this.Dp=this.ni=this.Ea=null}slide(){return this.X}vk(a,b,c){this.Ea=a;this.ni=b;this.Dp=c;this.R=2;this.og.D(this)}slideBackground(){return this.ni}yd(){return 2==this.R}state(){return this.R}};class Mv extends Lv{constructor(a){super(a);this.Wc=null;this.DK=K(this)}scenarioPlayer(){return this.Wc}bF(a){this.Wc=a;this.DK.D()}};class Nv extends Xr{constructor(a,b,c,d,e,f,h){super(a,b,c,d,e,f);this.Mg=f;f.Wc?this.xr(h):Ie(this,f.DK,()=>this.xr(h))}scenarioPlayer(){return this.Mg.scenarioPlayer()}um(a){this.slide().style.opacity=""+(a?1:0)}xr(a){this.Mg.scenarioPlayer().setViewMode(a);this.rw.innerHTML=this.Ea.innerHTML;Lg(this.ni,"normal"==a)}};function et(a,b){const c=a.K.getSlide(b);b=a.Va.ub[b];if(c instanceof on){b.zk();b.um(!1);var d=new zq({content:b.ng,mode:a.Va.ya,Jy:c.Jy(),rt:c.rt()});d=new yr(c,d,a.ga,a.Xb)}else if(c instanceof sn){if(!b.quizPlayer())return null;d=new rn({content:b.ng,mode:a.Va.ya,quizPlayer:b.quizPlayer(),ks:c.ks()});d=new tn(c,d,a.ga)}else if(c instanceof ek){if(!b.interactionPlayer())return null;d=new fk({content:b.ng,mode:a.Va.ya,interactionPlayer:b.interactionPlayer(),js:c.js()});d=new gk(c,d,a.ga)}else if(c instanceof
zn){if(!b.scenarioPlayer())return null;d=new xn({content:b.ng,mode:a.Va.ya,scenarioPlayer:b.scenarioPlayer(),ls:c.ls()});d=new yn(c,d,a.ga)}return d}class Ov{constructor(a,b,c,d){this.ga=c;this.K=b;this.Va=a;this.Xb=d}};class Ws{constructor(a,b,c,d,e,f,h,g){this.wl=[];this.ul=[];this.Bn=!1;this.Yc=a;this.Xc=b;this.rq=c;this.sd=d;this.ud=e||null;this.Kc=f;this.lu=h;this.dU=g}Bp(){return this.dU}slideWidth(){return this.Yc}slideHeight(){return this.Xc}M(){return this.rq}ma(){return this.sd}Pa(){return this.ud}P(){return this.Kc}};function Ks(a){a.Cd&&Pv(a)}function at(a,b){const c=a.Va;c.ub[b].zk();0<=a.H&&c.ub[a.H].Ki();a.H=b}function Vs(a){a.Vg.hd();a.tl.zk();a.Vg.zk()}function $s(a){a.Cd.start();a.Rz=!0;y(a,a.J.pb(),a.aJ,a);a.KG.D(a.H)}function Pv(a){a.Rz&&(He(a,a.J.pb(),a.aJ,a),a.Rz=!1);Ne(a,a.Cd);a.Cd.terminate();a.Cd=null;Vs(a);a.Vg&&(a.Vg.Ki(),a.Vg=null);a.tl=null;zd(a.Kc);a.JG.D(a.H)}
class Qv extends Vh{constructor(a,b,c,d,e,f){super();this.I=a;this.Va=b;this.J=c;this.Yc=d;this.Xc=e;this.Kc=f;this.H=-1;this.Cd=null;this.KG=K(this);this.JG=K(this);this.Vg=this.tl=null;this.Fw=NaN;this.Rz=!1}nX(){return this.J.progress()}state(){return this.Cd?this.J.isStarted()?"playing":"paused":"idle"}transitionEffectStartEvent(){return this.KG}transitionEffectCompleteEvent(){return this.JG}AR(){Pv(this)}cJ(a){He(this,this.Cd.ew,this.cJ,this);a&&$s(this)}aJ(a){isNaN(this.Fw)&&(this.Fw=a,a=0);
this.Cd.Vo()||(1>a?this.Cd.Dk(a):Pv(this))}}Qv.prototype.transitionEffectCompleteEvent=Qv.prototype.transitionEffectCompleteEvent;Qv.prototype.transitionEffectStartEvent=Qv.prototype.transitionEffectStartEvent;Qv.prototype.state=Qv.prototype.state;Qv.prototype.transitionProgress=Qv.prototype.nX;class Rv{constructor(){this.JA=!1;this.Me=0;this.Yj=new B;this.Aw=new B;this.Cw=new B}progress(){return this.Me}Dk(a){this.Me=a;this.Yj.D(a)}isStarted(){return this.JA}start(){this.JA=!0}stop(){this.JA=!1}pb(){return this.Yj}Gg(){return this.Aw}Fk(){return this.Cw}clock(){return this}};function Sv(a,b){return function(c){if(0!=a||1!=b){let h=c;for(let g=0;4>g;++g){var d=h,e=a,f=b;d=3*(1-3*f+3*e)*d*d+2*(3*f-6*e)*d+3*e;if(0==d)break;h-=((((1-3*b+3*a)*h+(3*b-6*a))*h+3*a)*h-c)/d}c=(-2*h+3)*h*h}return c}}var Tv=Sv(.42,.58);function S(a,b,c,d){return function(e){return b+(d-b)/(c-a)*(e-a)}}function Uv(a,b,c){if(c<a)return 0;if(c>=b)return 1;a=(c-a)/(b-a);return-2*Math.pow(a,3)+3*Math.pow(a,2)}
function Vv(a,b,c,d){if(d<b)return a+d/b*(1-a);d-=b;return 1+(1-a)/(2*Math.PI/(1-b))/b*Math.exp(-c*d)*Math.sin(2*Math.PI/(1-b)*d)};class Wv{constructor(){this.Yh=this.$c=this.Lc=this.Uc=null}};class T{constructor(a,b){void 0===a&&(a=0);void 0===b&&(b=0);this.Fa=a;this.Ga=b}length(){return Math.sqrt(this.Fa*this.Fa+this.Ga*this.Ga)}x(){return this.Fa}Ch(a){this.Fa=a}y(){return this.Ga}$e(a){this.Ga=a}clone(){return new T(this.x(),this.y())}};function Xv(a,b){a.Fa+=b.x();a.Ga+=b.y();a.Ci+=b.z()}function Yv(a,b){a=Wg(Ug(),a.x(),a.y(),a.z());b=Wg(Ug(),b.x(),b.y(),b.z());b=$g(a,b,Ug());return new U(b[0],b[1],b[2])}function Zv(a,b){a.Ci=b}
class U{constructor(a,b,c){void 0===a&&(a=0);void 0===b&&(b=0);void 0===c&&(c=0);this.Fa=a;this.Ga=b;this.Ci=c}gf(a){return new U(this.x()-a.x(),this.y()-a.y(),this.z()-a.z())}add(a){return new U(this.x()+a.x(),this.y()+a.y(),this.z()+a.z())}scale(a){return new U(this.x()*a,this.y()*a,this.z()*a)}clone(){return new U(this.x(),this.y(),this.z())}normalize(){var a=Wg(Ug(),this.x(),this.y(),this.z()),b=Ug(),c=a[0];const d=a[1],e=a[2];c=1/Math.sqrt(c*c+d*d+e*e);b[0]=a[0]*c;b[1]=a[1]*c;b[2]=a[2]*c;this.Ch(b[0]);
this.$e(b[1]);this.Ci=b[2]}x(){return this.Fa}Ch(a){this.Fa=a}y(){return this.Ga}$e(a){this.Ga=a}z(){return this.Ci}};function $v(a,b){a.Fj=b.clone()}function aw(a,b){a.Lb=b.clone()}class bw{constructor(a,b,c){void 0===c&&(c=new U(0,0,1));this.Fj=a.clone();this.Pr=b.clone();c&&(this.Lb=c.clone())}clone(){return new bw(this.position(),this.Pr,this.Lb)}position(){return this.Fj}};function cw(a,b){a.oa.push(b)}function dw(a,b){return a.oa[b]}function ew(a){const b=[];for(let c=0;c<a.oa.length;c++){const d=a.oa[c];b.push(d.position().x());b.push(d.position().y());b.push(d.position().z())}return b}function fw(a){const b=[];for(let c=0;c<a.oa.length;c++){const d=a.oa[c];b.push(d.Pr.x());b.push(d.Pr.y())}return b}function gw(a){const b=[];for(let c=0;c<a.oa.length;c++){const d=a.oa[c];b.push(d.Lb.x());b.push(d.Lb.y());b.push(d.Lb.z())}return b}
class hw{constructor(){this.oa=[]}length(){return this.oa.length}};function iw(a){--a;a|=a>>1;a|=a>>2;a|=a>>4;a|=a>>8;return(a|a>>16)+1};function jw(a,b){b?(eq(a.Pa().slide(),"paused"),eq(a.ma().slide(),"paused")):(fq(a.Pa().slide(),"paused"),fq(a.ma().slide(),"paused"))}function W(a,b){null!=a.Pa()&&a.Pa().um(b)}function X(a,b){a.ma().um(b)}function Y(a,b){const c=w("CANVAS");c.width=a;c.height=b;return c}
class kw{constructor(a){this.rq=a.M();this.tl=a.ma();this.Vg=a.Pa();this.tq=!0;this.RR=a;this.Yc=a.slideWidth();this.Xc=a.slideHeight();this.ew=new B;this.Sb=new B;this.Kc=a.P();this.lu=a.lu;this.Yc>this.Xc?(this.SA=Math.min(this.Yc,1024),this.ol=this.SA/this.Yc,this.RA=this.Xc*this.ol):(this.RA=Math.min(this.Xc,1024),this.ol=this.RA/this.Xc,this.SA=this.Yc*this.ol);this.hC=vd("DIV");Pn(this.hC,1/this.ol,1/this.ol);this.uc=mf}start(){this.Kc.appendChild(this.hC);eq(this.Pa().slide(),"transitionSlide");
eq(this.ma().slide(),"transitionSlide");this.initialize();this.Dk(0)}terminate(){this.Dk(1);this.Ax();this.J&&(this.J.Gg().removeHandler(this.AI,this),this.J.Fk().removeHandler(this.zI,this));fq(this.Pa().slide(),"transitionSlide");fq(this.ma().slide(),"transitionSlide");zd(this.Kc)}Dk(a){if(this.Fs()){var b=this.W;a=this.M()?1-a:a;b.call(this,a)}}Fs(){return this.tq}Bn(){return this.RR.Bn}M(){return this.rq}initialize(){}Ax(){}W(){}ma(){return this.M()?this.Vg:this.tl}Pa(){return this.M()?this.tl:
this.Vg}fa(a,b,c,d,e,f){function h(){if(!--g){var D=r,G=t,Q=v,L=z,M=F;this.qa=p;this.V=D;this.Uh=G;this.fv=L;this.Aj=Q;this.lv=M;this.WI();1!=this.tq&&(this.tq=!0,this.ew.D(!0))}}0!=this.tq&&(this.tq=!1,this.ew.D(!1));let g=0;for(var k=0;k<arguments.length;++k)g+=!!arguments[k]+0;k=this.slideWidth();const l=this.slideHeight(),m=this.uc?new bd(this.ol,this.ol):new bd(1,1);if(a){var p=Y(k,l);Ip(this.ma().slide(),p,h.bind(this),m)}if(b){var r=Y(k,l);Ip(this.Pa().slide(),r,h.bind(this),m)}if(c){var t=
Y(k,l);Ip(this.ma().content(),t,h.bind(this),m)}if(d){var v=Y(k,l);Ip(this.Pa().content(),v,h.bind(this),m)}if(e){var z=Y(k,l);Ip(this.ma().background(),z,h.bind(this),m)}if(f){var F=Y(k,l);Ip(this.Pa().background(),F,h.bind(this),m)}}WI(){}slideWidth(){return this.uc?this.SA:this.Yc}slideHeight(){return this.uc?this.RA:this.Xc}P(){return this.uc?this.hC:this.Kc}Vo(){return!1}AI(){jw(this,!1)}zI(){jw(this,!0)}};function lw(a,b){a.kl();a.nq(b);b=a.F;a.na=mat4.create();a.sJ=mat4.create();b.viewport(0,0,b.RN,b.QN);b.clear(b.COLOR_BUFFER_BIT|b.DEPTH_BUFFER_BIT);const c=.5*a.slideHeight()/Math.tan(22.5*Math.PI/180);mat4.perspective(45,b.RN/b.QN,1,1E4,a.sJ);mat4.identity(a.na);mat4.translate(a.na,[0,0,-c])}function mw(a,b){a.F.bindBuffer(a.F.ARRAY_BUFFER,null);a.F.deleteBuffer(b.Uc);a.F.deleteBuffer(b.Lc);a.F.deleteBuffer(b.$c);a.F.deleteBuffer(b.Yh)}
function nw(a,b,c,d,e,f){const h=a.F;var g=a.slideWidth(),k=a.slideHeight();g=iw(g);k=iw(k);a=a.F.getParameter(a.F.MAX_TEXTURE_SIZE);if(Math.max(g,k)>a){var l=g/k;g>k?(g=a,k=g/l):(k=a,g=k*l)}a=new bd(g,k);g=a.width;k=a.height;a=Y(g,k);l=a.getContext("2d");void 0!==f?f(l,e,g,k):l.drawImage(e,0,0,g,k);e=h.createTexture();h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.texImage2D(h.TEXTURE_2D,0,h.RGBA,h.RGBA,h.UNSIGNED_BYTE,a);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.LINEAR);h.texParameteri(h.TEXTURE_2D,
h.TEXTURE_MIN_FILTER,h.LINEAR_MIPMAP_LINEAR);h.generateMipmap(h.TEXTURE_2D);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE);h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE);h.bindTexture(h.TEXTURE_2D,null);h.activeTexture(b);h.bindTexture(h.TEXTURE_2D,e);h.uniform1i(c,d);return e}function ow(a,b,c){const d=a.F;b=d.createShader(b);d.shaderSource(b,c);d.compileShader(b);return d.getShaderParameter(b,d.COMPILE_STATUS)?b:(a.Qj=!1,null)}
function pw(a,b,c){a=a.F;const d=b.length/c,e=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,e);a.bufferData(a.ARRAY_BUFFER,new Float32Array(b),a.DYNAMIC_DRAW);e.Uo=c;e.bN=d;return e}function qw(a,b){a=a.F;const c=b.length/1,d=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,d);a.bufferData(a.ELEMENT_ARRAY_BUFFER,new Uint16Array(b),a.DYNAMIC_DRAW);d.Uo=1;d.bN=c;return d}function rw(a){if(0==a.ZA.length)throw"Invalid popMatrix!";a.na=a.ZA.pop()}
function sw(a){const b=mat4.create();mat4.set(a.na,b);a.ZA.push(b)}function tw(a,b,c,d){mat4.translate(a.na,[-d[0],-d[1],-d[2]]);mat4.rotate(a.na,b*Math.PI/180,c);mat4.translate(a.na,d)}
function uw(a,b,c,d,e){const f=a.F,h=b.Uc;f.bindBuffer(f.ARRAY_BUFFER,h);void 0!==d&&d();f.vertexAttribPointer(a.YC,h.Uo,f.FLOAT,!1,0,0);b.Yh&&(d=b.Yh,f.bindBuffer(f.ARRAY_BUFFER,d),void 0!==e&&e(),f.vertexAttribPointer(a.Zp(),d.Uo,f.FLOAT,!1,0,0));e=b.$c;f.bindBuffer(f.ARRAY_BUFFER,e);f.vertexAttribPointer(a.FC,e.Uo,f.FLOAT,!1,0,0);a.$y();a=b.Lc;f.bindBuffer(f.ELEMENT_ARRAY_BUFFER,a);void 0===c&&(c=f.TRIANGLES);f.drawElements(c,a.bN,f.UNSIGNED_SHORT,0)}
function vw(a,b){b=a.F.getAttribLocation(a.Pj,b);a.F.enableVertexAttribArray(b);return b}function ww(a,b){return a.F.getUniformLocation(a.Pj,b)}function xw(a){a.YC=vw(a,"aVertexPosition");a.FC=vw(a,"aTextureCoord");a.KJ=ww(a,"uPMVMatrix");a.rI=ww(a,"uNMatrix")}function yw(a,b){a.F.disableVertexAttribArray(b)}
function zw(a,b){let c=0;for(let e=0;e<b.length/3;e++){const f=dw(a,b[c++]);var d=f.position();const h=dw(a,b[c++]),g=h.position(),k=dw(a,b[c++]),l=k.position();d=Yv(g.gf(d),l.gf(d));d.normalize();aw(f,d);aw(h,d);aw(k,d)}}function Aw(a){var b=mat4.create();b=mat4.multiply(a.sJ,a.na,b);a.F.uniformMatrix4fv(a.KJ,!1,b);b=mat3.create();mat4.toInverseMat3(a.na,b);mat3.transpose(b);a.F.uniformMatrix3fv(a.rI,!1,b)}
class Bw extends kw{constructor(a){super(a);this.ZA=[]}kl(){this.Qj=!0;void 0===Cw&&(Cw=Y(this.slideWidth()+3,this.slideHeight()+3),E(Cw,"left","-1px"),E(Cw,"top","-1px"));void 0===Dw&&(Dw=Cw.getContext("webgl")||Cw.getContext("experimental-webgl"));this.P().appendChild(Cw);try{Dw.RN=Cw.width,Dw.QN=Cw.height,Dw.enable(Dw.DEPTH_TEST)}catch(b){}const a=this.F=Dw;this.fA=ow(this,a.FRAGMENT_SHADER,this.ie());this.ZC=ow(this,a.VERTEX_SHADER,this.je());null!==this.fA&&null!==this.ZC&&(this.Pj=a.createProgram(),
a.attachShader(this.Pj,this.ZC),a.attachShader(this.Pj,this.fA),a.linkProgram(this.Pj),a.getProgramParameter(this.Pj,a.LINK_STATUS)?(a.useProgram(this.Pj),this.oe()):this.Qj=!1)}Ax(){this.F&&(this.fe(),yw(this,this.YC),yw(this,this.FC),yw(this,this.KJ),yw(this,this.rI),this.ge(),this.F.deleteTexture(this.Er),this.F.deleteShader(this.fA),this.F.deleteShader(this.ZC),this.F.deleteProgram(this.Pj))}ge(){alert("override _disableAttributes")}fe(){}nq(a){this.Er=nw(this,this.F.TEXTURE0,this.rf(),0,a)}ie(){alert("Please override _getFragmentShaderSource");
return""}je(){alert("Please override _getVertexShaderSource");return""}oe(){}Zp(){alert("override _getVertexNormalAttributeLocation");return-1}rf(){alert("override _getSamplerUniform");return null}$y(){}}var Cw,Dw;function Ew(a,b){var c=a.slideWidth(),d=a.slideHeight();const e=c/2,f=d/2,h=.1*c;d=Math.max(c,d)/4;c=.1*c/2;let g=S(0,-e+h,1,(-e+h)/2-c);$v(a.ib.oa[1],new U(g(b),-f,0));g=S(0,(-e+h)/2,1,-c);$v(a.ib.oa[2],new U(g(b),-f,0));$v(a.ib.oa[4],new U(g(b),-f,0));$v(a.ib.oa[5],new U(0,-f,-b*d));$v(a.ib.oa[7],new U(0,-f,-b*d));g=S(0,(e-h)/2,1,c);$v(a.ib.oa[8],new U(g(b),-f,0));$v(a.ib.oa[10],new U(g(b),-f,0));g=S(0,e-h,1,(e-h)/2+c);$v(a.ib.oa[11],new U(g(b),-f,0))}
class Fw extends Bw{constructor(a,b){super(a);this.G=b;this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb()}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.5;\n\t\tconst float DIFFUSE_INTENSITY = 0.5;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t\t}"}je(){return"attribute vec3 aVertexPosition; \n\t\tattribute vec3 aVertexNormal; \n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\n\t\tuniform mat3 uNMatrix;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\tvTextureCoord = aTextureCoord;\n\t\t\tvNormal = uNMatrix * aVertexNormal;\n\t\t}"}oe(){xw(this);
this.wg=vw(this,"aVertexNormal");this.sc=ww(this,"uSampler")}wb(){var a=this.slideWidth(),b=this.slideHeight(),c=a/2;b/=2;a*=.1;var d=new hw;cw(d,new bw(new U(-c,b,0),new T(0,0)));cw(d,new bw(new U(0,b,0),new T(.5,0)));cw(d,new bw(new U(-c+a,-b,0),new T(.1,1)));cw(d,new bw(new U(-c,-b,0),new T(0,1)));this.rn=new Wv;var e=pw(this,ew(d),3);this.rn.Uc=e;e=pw(this,fw(d),2);this.rn.$c=e;e=qw(this,[0,1,2,0,2,3]);this.rn.Lc=e;d=pw(this,gw(d),3);this.rn.Yh=d;d=new hw;cw(d,new bw(new U(c,b,0),new T(1,0)));
cw(d,new bw(new U(0,b,0),new T(.5,0)));cw(d,new bw(new U(c-a,-b,0),new T(.9,1)));cw(d,new bw(new U(c,-b,0),new T(1,1)));this.Qn=new Wv;e=pw(this,ew(d),3);this.Qn.Uc=e;e=pw(this,fw(d),2);this.Qn.$c=e;e=qw(this,[0,1,2,0,2,3]);this.Qn.Lc=e;d=pw(this,gw(d),3);this.Qn.Yh=d;this.ib=new hw;cw(this.ib,new bw(new U(0,b,0),new T(.5,0)));cw(this.ib,new bw(new U(-c+a,-b,0),new T(.1,1)));cw(this.ib,new bw(new U((-c+a)/2,-b,0),new T(.3,1)));cw(this.ib,new bw(new U(0,b,0),new T(.5,0)));cw(this.ib,new bw(new U((-c+
a)/2,-b,0),new T(.3,1)));cw(this.ib,new bw(new U(0,-b,0),new T(.5,1)));cw(this.ib,new bw(new U(0,b,0),new T(.5,0)));cw(this.ib,new bw(new U(0,-b,0),new T(.5,1)));cw(this.ib,new bw(new U((c-a)/2,-b,0),new T(.7,1)));cw(this.ib,new bw(new U(0,b,0),new T(.5,0)));cw(this.ib,new bw(new U((c-a)/2,-b,0),new T(.7,1)));cw(this.ib,new bw(new U(c-a,-b,0),new T(.9,1)));this.BJ=[0,1,2,3,4,5,6,7,8,9,10,11];this.In=new Wv;c=pw(this,ew(this.ib),3);this.In.Uc=c;c=pw(this,fw(this.ib),2);this.In.$c=c;c=qw(this,this.BJ);
this.In.Lc=c;c=pw(this,gw(this.ib),3);this.In.Yh=c}fe(){mw(this,this.Qn);mw(this,this.rn);mw(this,this.In)}ge(){yw(this,this.wg)}W(a){0==a&&(this.M()?W(this,!0):X(this,!0));if(.3>a){var b=S(0,0,.3,1)(a);this.$k(b,!0);this.$k(b,!1)}b=this.slideWidth();var c=this.slideHeight();c=Math.max(b,c);const d=this.G==Gw?1:-1;sw(this);.1<=a&&(.1<a&&.4>=a?(a=S(.1,0,.4,1)(a),Ew(this,a),mat4.translate(this.na,[0,0,-a*c/4]),tw(this,-60*a,[1,0,0],[-d*b/4,0,0]),tw(this,45*d*a,[0,0,1],[-d*b/4,0,0])):.4<a&&.5>=a?(a=
S(.4,0,.5,1)(a),Ew(this,1),mat4.translate(this.na,[0,0,-c/4]),mat4.translate(this.na,[d*a*c/50,-a*c/50,a*c/50]),tw(this,-60,[1,0,0],[-d*b/4,0,0]),tw(this,45*d,[0,0,1],[-d*b/4,0,0])):.5<a&&.55>a?(a=S(.5,0,.55,1)(a),Ew(this,1),mat4.translate(this.na,[0,0,-c/4]),mat4.translate(this.na,[d*c/50,-c/50,c/50]),tw(this,-60,[1,0,0],[-d*b/4,0,0]),tw(this,45*d,[0,0,1],[-d*b/4,0,0]),tw(this,-1*a,[1,0,0],[0,0,0])):.55<a&&(Ew(this,1),a=Math.pow(S(.55,0,1,1)(a),3),mat4.translate(this.na,[-d*a*c*3,a*c*3,a*c/2]),mat4.translate(this.na,
[0,0,-c/4]),mat4.translate(this.na,[d*c/50,-c/50,c/50]),tw(this,-60,[1,0,0],[-d*b/4,0,0]),tw(this,45*d,[0,0,1],[-d*b/4,0,0]),tw(this,-1,[1,0,0],[0,0,0])));Aw(this);uw(this,this.In,this.F.TRIANGLES,this.FA.bind(this),this.EA.bind(this));rw(this)}$k(a,b){const c=b?-1:1,d=Math.max(this.slideWidth(),this.slideHeight());sw(this);mat4.translate(this.na,[c*a*d/2,0,0]);Aw(this);uw(this,b?this.rn:this.Qn);rw(this)}FA(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(ew(this.ib)))}EA(){zw(this.ib,
this.BJ);this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(gw(this.ib)))}Zp(){return this.wg}rf(){return this.sc}}var Gw=0;function Hw(a,b){const c=a.LB[b],d=vd("DIV");jh(d,"preserve-3d");const e=c.Ps,f=c.Zx;Cg(d,e,f);E(d,"position","absolute");const h=Y(e,f);b=Y(e,f);const g=vd("DIV");Cg(g,e,f);E(g,"backgroundColor","#000000");const k=vd("DIV");Cg(k,e,f);E(k,"backgroundColor","#000000");E(h,"position","absolute");E(b,"position","absolute");E(g,"position","absolute");E(k,"position","absolute");mh(h,"hidden");mh(b,"hidden");mh(g,"hidden");mh(k,"hidden");d.appendChild(b);d.appendChild(h);d.appendChild(g);d.appendChild(k);
const l=h.getContext("2d"),m=b.getContext("2d");a.so.appendChild(d);c.yM=d;c.sE=h;c.pE=b;c.oE=g;c.rE=k;a.Y==Iw?(vg(d,c.position,0),l.drawImage(a.V,c.position,0,e,f,0,0,e,f),m.drawImage(a.qa,c.position,0,e,f,0,0,e,f),a=Math.round(c.Ps/2),a="translateX("+a+"px) rotateY(-60deg) translateX("+-a+"px) rotateZ(180deg) rotateX(180deg)"):(vg(d,0,c.position),l.drawImage(a.V,0,c.position,e,f,0,0,e,f),m.drawImage(a.qa,0,c.position,e,f,0,0,e,f),a=Math.round(f/2),a="translateY("+a+"px) rotateX(-120deg) translateY("+
a+"px)");J(b,a);J(g,a)}
class Jw extends kw{constructor(a,b){super(a);this.Y=b;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);this.Qh()}W(a){for(let e=0;e<this.td;++e){const f=this.LB[e];var b=Math.min(1,Math.max(0,2*(a-f.startTime)));b=Uv(0,1,b);var c=this.M()?1-b:b;0==c&&(I(this.M()?f.sE:f.pE,0),I(this.M()?f.rE:f.oE,0));1==c&&(I(this.M()?f.pE:f.sE,0),I(this.M()?f.oE:f.rE,0));if(f.pN!=b){f.pN=b;I(this.M()?f.sE:f.pE,1);c=-120*b;var d=1-2*b;this.Y==Iw?(b=f.Ps/2,d*=b,J(f.yM,"translateX("+d+"px) rotateY("+c+"deg) translateX("+
-b+"px) ")):(b=f.Zx/2,d*=b,J(f.yM,"translateY("+d+"px) rotateX("+-c+"deg) translateY("+-b+"px)"));b=.5*-Math.sin(S(0,0,-120,-90)(c)*Math.PI/180);I(f.rE,b);c=.5*-Math.sin(S(0,-90,-120,0)(c)*Math.PI/180);I(f.oE,c)}}}Qh(){var a=this.slideWidth(),b=this.slideHeight();this.so=vd("DIV");this.P().appendChild(this.so);kh(this.so,a+"px");lh(this.so,a/2+"px "+b/2+"px");if(Ib){var c=w("DIV");this.so.appendChild(c);Cg(c,a,b);E(c,"position","absolute");jh(c,"preserve-3d");this.so=c}this.td=this.Y==Iw?Kw:Lw;this.Y==
Iw?(a=this.slideWidth()/this.td,b=this.slideHeight()):(a=this.slideWidth(),b=this.slideHeight()/this.td);this.LB=[];c=0;for(let d=0;d<this.td;++d){const e={pN:void 0};e.startTime=(1-Mw)/(Math.ceil(this.td/2)-1)*Math.floor(Math.abs(d-(this.td-1)/2));this.Y==Iw?(e.Ps=Math.round((d+1)*a)-c,e.Zx=b,e.position=c,c+=e.Ps):(e.Ps=a,e.Zx=Math.round((d+1)*b)-c,e.position=c,c+=e.Zx);this.M()&&(e.startTime=1-Mw-e.startTime);this.LB.push(e)}if(0!=this.td%2){for(a=0;a<this.td/2-1;++a)Hw(this,a),Hw(this,this.td-
a-1);Hw(this,Math.floor(this.td/2))}else for(a=0;a<this.td/2;++a)Hw(this,a),Hw(this,this.td-a-1)}}var Kw=18,Lw=14,Mw=.5,Iw=0;class Nw extends kw{constructor(a,b){super(a);this.Y=b;this.fa(!0,!0);this.Qh()}initialize(){W(this,!0);X(this,!1)}W(a){const b=this.slideWidth(),c=this.slideHeight();this.nf.clearRect(0,0,b,c);this.nf.drawImage(this.qa,0,0);this.nf.save();this.nf.globalCompositeOperation="destination-in";const d=this.$a.getContext("2d");d.clearRect(0,0,b,c);for(let e=0;e<this.td;e++)d.beginPath(),this.Y==Ow?d.fillRect(e*this.Mv,0,this.Mv*a,c):d.fillRect(0,e*this.Lv,b,this.Lv*a);this.nf.drawImage(this.$a,0,0);this.nf.restore()}Qh(){const a=
this.slideWidth(),b=this.slideHeight();this.$a=Y(a,b);const c=Y(a,b);this.nf=c.getContext("2d");this.td=this.Y==Ow?Pw:Qw;this.Lv=this.Mv=0;this.Y==Iw?(this.Mv=a/this.td,this.Lv=b):(this.Mv=a,this.Lv=b/this.td);this.P().appendChild(c)}}var Pw=10,Qw=10,Ow=0;function Rw(a,b,c,d,e,f,h,g,k){a=a.Nc;b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(0,0,0,1)");b.addColorStop(1,"rgba(0,0,0,0)");a.fillStyle=b;a.fillRect(f,h,g,k)}
class Sw extends kw{constructor(a,b){super(a);this.G=b;switch(b){case Tw:this.fa(!0,!1);break;case Uw:this.fa(!1,!0)}}initialize(){const a=this.slideWidth(),b=this.slideHeight(),c=Y(a,b);this.Sq=c.getContext("2d");this.$a=Y(a,b);this.Nc=this.$a.getContext("2d");switch(this.G){case Tw:W(this,!0);X(this,!1);this.qw=this.qa;break;case Uw:W(this,!1),X(this,!0),this.qw=this.V}E(c,"position","absolute");this.P().appendChild(c);this.kn=.05*a;this.rj=.05*b}W(a){this.G==Uw&&(a=1-a);var b=Math.round(this.slideWidth());
const c=Math.round(this.slideHeight()),d=Math.round(a*b),e=Math.round(a*c);a=Math.round(.5*(b-d));const f=Math.round(.5*(c-e)),h=a+d,g=f+e,k=this.Nc;k.clearRect(0,0,b,c);k.fillStyle="#000";k.fillRect(a,f,d,e);Rw(this,a,f,a,f-this.rj,a,f-this.rj,d,this.rj);Rw(this,a,g,a,g+this.rj,a,g,d,this.rj);Rw(this,a,f,a-this.kn,f,a-this.kn,f,this.kn,e);Rw(this,h,f,h+this.kn,f,h,f,this.kn,e);b=k.createRadialGradient(0,0,0,0,0,this.rj);b.addColorStop(0,"rgba(0,0,0,1)");b.addColorStop(1,"rgba(0,0,0,0)");this.$k(h,
g,0,.5*Math.PI,b);this.$k(a,g,.5*Math.PI,Math.PI,b);this.$k(a,f,Math.PI,1.5*Math.PI,b);this.$k(h,f,1.5*Math.PI,2*Math.PI,b);b=this.Sq;b.drawImage(this.qw,0,0);b.save();b.globalCompositeOperation="destination-in";b.drawImage(this.$a,0,0);b.restore()}$k(a,b,c,d,e){const f=this.Nc;f.save();f.translate(a,b);f.scale(this.kn/this.rj,1);f.beginPath();f.moveTo(0,0);f.arc(0,0,this.rj,c,d,!1);f.moveTo(0,0);f.fillStyle=e;f.fill();f.restore()}}var Tw=0,Uw=1;class Vw extends kw{constructor(a,b,c){super(a);this.Kg=20;this.G=b;(this.Ha=c)?this.fa(!1,!1,!0,!0,!0,!0):this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);const a=this.slideWidth(),b=this.slideHeight();if(this.Ha){var c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.fv,0,0);this.sl=c;c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.lv,0,0);this.vl=c}this.ic=this.Na(a,b);this.P().appendChild(this.ic);var d=
Y(a,b);c=Y(a,b);this.Ya=w("DIV");Dg(this.Ya,a);Eg(this.Ya,b);this.Id=this.Na(this.slideWidth(),this.slideHeight());this.Hd=this.Na(this.slideWidth(),this.slideHeight());this.Id.appendChild(d);this.Hd.appendChild(c);this.ic.appendChild(this.Ya);this.Ya.appendChild(this.Id);this.Ya.appendChild(this.Hd);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.Ha?this.Aj:this.V,0,0);c.drawImage(this.Ha?this.Uh:this.qa,0,0);c=this.G==Ww||this.G==Xw?-1:1;d=this.G==Ww||this.G==Yw;kh(this.ic,Math.max(a,
b)+"px");lh(this.ic,this.Kg+a/2+"px "+b/2+"px");jh(this.Ya,"preserve-3d");d?(J(this.Id,"translateZ(-"+(this.Kg+Math.floor(a/2))+"px) rotateY(0deg)"),J(this.Hd,"translateX("+c*(this.Kg+Math.floor(a/2))+"px)  rotateY("+-90*c+"deg)")):(J(this.Id,"translateZ(-"+(this.Kg+Math.floor(b/2))+"px) rotateX(0deg)"),J(this.Hd,"translateY("+c*(this.Kg+Math.floor(b/2))+"px)  rotateX("+90*c+"deg)"))}W(a){var b=this.slideWidth();const c=this.slideHeight();this.Ha&&(I(this.vl,1-a),I(this.sl,a));const d=.25*(1-Math.cos(2*
a*Math.PI));a=Uv(0,1,a);const e=this.G==Ww||this.G==Xw?-1:1,f=this.G==Ww||this.G==Yw;b=f?b+2*this.Kg:c+2*this.Kg;f?J(this.Ya,"translateZ("+(-d*b+b/2)+"px) rotateY("+90*e*a+"deg)"):J(this.Ya,"translateZ("+(-d*b+b/2)+"px) rotateX("+90*-e*a+"deg)")}Na(a,b){const c=w("DIV");Dg(c,a);Eg(c,b);E(c,"position","absolute");return c}}var Xw=1,Yw=2,Ww=3;function Zw(a){var b=.7-.15,c=a.G==$w?b/4:0,d=a.G==ax?b/6:0;b=0;var e=1;for(var f=0;5>f;++f)for(let h=0;7>h;++h){const g=f*c+h*d+.15*Math.random();b=Math.max(g,b);e=Math.min(g,e);a.Jh[h+7*f].oD=g}c=e;b=.7/(b-c);for(d=0;5>d;++d)for(e=0;7>e;++e)f=a.Jh[e+7*d],f.oD=(f.oD-c)*b}
class bx extends kw{constructor(a,b){super(a);this.G=b;this.fa(!0,!0)}initialize(){const a=this.slideWidth(),b=this.slideHeight();X(this,!1);W(this,!1);this.Vq=1.25*Math.max(a,b);this.Jl=w("DIV");this.P().appendChild(this.Jl);try{this.xA(),this.Xa=!0}catch(c){this.Xa=!1}this.gl=Vg();Wg(this.gl,.5*a,.5*b,this.Vq);this.yA(this.G==$w)}yA(a){function b(k,l){const m=l&1;return m*(k-1)+(1-2*m)*(l>>1)}const c=this.V,d=this.qa;var e=this.slideWidth(),f=this.slideHeight();e=Math.floor(e/7);f=Math.floor(f/
5);const h=c.width-6*e,g=c.height-4*f;this.Jh=[];for(let k=0;5>k;++k){const l=b(5,k),m=l*f,p=4==l?g:f+1;for(let r=0;7>r;++r){const t=b(7,r),v=new cx(c,d,t*e,m,6==t?h:e+1,p,a,this.gl,this.Xa);this.Jl.appendChild(v.nj);this.Jh[7*l+t]=v}}Zw(this)}xA(){const a=this.slideWidth(),b=this.slideHeight();Cg(this.Jl,a,b);var c=(.5*a).toString()+"px "+(.5*b).toString()+"px";kh(this.Jl,this.Vq.toString()+"px");lh(this.Jl,c);Ib&&(c=w("DIV"),this.Jl.appendChild(c),Cg(c,a,b),E(c,"position","absolute"),jh(c,"preserve-3d"),
this.Jl=c)}W(a){const b=this.Jh.length;for(let c=0;c<b;++c){const d=this.Jh[c];let e=(a-d.oD)/.3;const f=this.M()?0>e:1<e;e=Math.max(0,Math.min(1,e));dx(d,180*e,f)}}}var ax=0,$w=1;
function dx(a,b,c){if(b==a.Ut)a.nw&&c&&(Bd(a.nw),a.nw=null);else{a.Ut=b;if(a.Xa){var d=a.Ut*Math.PI/180;c=Math.sin(d);d=Math.cos(d);a.iq?Wg(a.pz,0,c,d):Wg(a.pz,c,0,d);c=Zg(a.pz,a.ou);a.Lu?0<=c&&ex(a,!1):0>=c&&ex(a,!0);J(a.nj,(a.iq?"rotateX(-":"rotateY(")+b.toString()+"deg)")}else a.Lu?90<=b&&ex(a,!1):90>=b&&ex(a,!0),J(a.nj,(a.iq?"scaleY(":"scaleX(")+Math.cos(a.Ut*Math.PI/180).toString()+")");I(a.nw,.5*Math.sin(a.Ut*Math.PI/180))}}
function ex(a,b){const c=b?a.ZG:a.Nt,d=b?a.Nt:a.ZG;a.Lu=b;E(c,"visibility","visible");E(d,"visibility","hidden")}
class cx{constructor(a,b,c,d,e,f,h,g,k){this.Xa=k;this.iq=h;this.ou=Vg();Wg(this.ou,c+.5*e,d+.5*f,0);Xg(this.ou,g,this.ou);this.pz=Vg();this.nj=w("DIV");h=w("DIV");g=w("CANVAS");g.width=e;g.height=f;k=w("CANVAS");k.width=e;k.height=f;this.ZG=g;this.Nt=k;const l=w("DIV");this.nw=l;E(this.nj,"position","absolute");E(h,"position","absolute");E(g,"position","absolute");E(k,"position","absolute");E(l,"position","absolute");vg(this.nj,c,d);this.nj.appendChild(h);this.nj.appendChild(l);h.appendChild(g);
h.appendChild(k);ex(this,!0);this.Xa?this.xA():J(this.Nt,this.iq?"scaleY(-1)":"scaleX(-1)");g.getContext("2d").drawImage(a,c,d,e,f,0,0,e,f);k.getContext("2d").drawImage(b,c,d,e,f,0,0,e,f);E(l,"background-color","black");I(l,0);Cg(h,e,f);Cg(l,e,f);Cg(this.nj,e,f);dx(this,0)}xA(){J(this.Nt,this.iq?"rotateY(180deg) rotateZ(180deg)":"rotateY(180deg)")}};function fx(a,b,c,d,e,f){const h=Y(e+1,f+1);h.getContext("2d").drawImage(a.V,c,d,e,f,0,0,e+1,f+1);b.push(new gx(h,c,d,e,f))}function hx(a,b,c){b=c-(b-1)*a.nd;return 0>=b?0:a.IF*Math.pow(b,2)/2}function ix(a,b){const c=a.slideHeight();let d=0,e=a.nd,f=0,h=1,g=e,k=1;a.M()&&(d=c,e=1-e,f=1-f,h=1-h,g=e,k=1-k);if(!a.M()){if(b<e)return d}else if(b>e)return d;return c*(f+(h-f)/(k-g)*(b-g))}
class jx extends kw{constructor(a,b){super(a);this.G=b;this.uc=!1;this.fa(!1,!0);this.G==kx?(this.nd=(1-lx)/(mx-1),this.IF=2*this.slideWidth()/Math.pow(lx,2)):(this.nd=.25,this.IF=2*this.slideHeight()/Math.pow(lx,2))}initialize(){let a;a=this.G==kx?mx:nx;const b=this.slideWidth(),c=this.slideHeight();this.Nm=[];this.Om=[];const d=b/a,e=c/a;let f=0;for(let g=0;g<a;++g){const k=0==g%2?this.Nm:this.Om;if(this.G==kx){var h=Math.round((g+1)*e)-f;fx(this,k,0,f,b,h);f+=h}else h=Math.round((g+1)*d)-f,fx(this,
k,f,0,h,c),f+=h}this.Nm.reverse();this.Om.reverse();this.P().appendChild(this.V);W(this,!1);X(this,!0);this.ma().hd()}W(a){let b,c,d;const e=this.V.getContext("2d");e.clearRect(0,0,this.slideWidth(),this.slideHeight());if(this.G==kx){for(b=0;b<this.Nm.length;b++)c=2*(b+1)-1,d=this.Nm[b],e.drawImage(d.canvas,0,0,d.width,d.height,hx(this,c,a),d.y,d.width,d.height);for(b=0;b<this.Om.length;b++)c=2*(b+1),d=this.Om[b],e.drawImage(d.canvas,0,0,d.width,d.height,-hx(this,c,a),d.y,d.width,d.height)}else{for(b=
0;b<this.Nm.length;b++)d=this.Nm[b],e.drawImage(d.canvas,0,0,d.width,d.height,d.x,-ix(this,a),d.width,d.height);for(b=0;b<this.Om.length;b++)d=this.Om[b],e.drawImage(d.canvas,0,0,d.width,d.height,d.x,ix(this,a),d.width,d.height)}}}var kx=0,mx=7,nx=10,lx=.5;class gx{constructor(a,b,c,d,e){this.canvas=a;this.x=b;this.y=c;this.width=d;this.height=e}};function ox(a){function b(m,p,r,t,v,z,F,D){m=k.createLinearGradient(m,p,r,t);m.addColorStop(0,"rgba(0,0,0, "+e+")");m.addColorStop(1,"rgba(0,0,0,0)");k.fillStyle=m;k.fillRect(v,z,F,D)}function c(m,p,r,t,v){k.save();k.translate(m,p);k.scale(d/d,1);k.beginPath();k.moveTo(0,0);k.arc(0,0,d,r,t,!1);k.moveTo(0,0);k.fillStyle=v;k.fill();k.restore()}const d=px,e=qx,f=a.slideWidth(),h=a.slideHeight(),g=Y(f,h);E(g,"position","absolute");Cg(g,f*rx,h*rx);const k=g.getContext("2d");k.scale(rx,rx);k.fillStyle=
"rgba(0, 0, 0, "+e+")";k.fillRect(d,d,f-2*d,h-2*d);b(d,d,d,d-d,d,d-d,f-2*d,d);b(d,h-d,d,h,d,h-d,f-2*d,d);b(d,d,d-d,d,d-d,d,d,h-2*d);b(f-d,d,f,d,f-d,d,d,h-2*d);const l=k.createRadialGradient(0,0,0,0,0,d);l.addColorStop(0,"rgba(0,0,0, "+e+")");l.addColorStop(1,"rgba(0,0,0,0)");c(f-d,h-d,0,.5*Math.PI,l);c(d,h-d,.5*Math.PI,Math.PI,l);c(d,d,Math.PI,1.5*Math.PI,l);c(f-d,d,1.5*Math.PI,2*Math.PI,l);a.Un=g}
class sx extends kw{constructor(a,b,c){super(a);this.G=b;this.lc=c;this.uc=!1;this.zA(b);ox(this)}Ph(){return this.lc?this.Pa().slide():this.ma().slide()}Yp(){return this.lc?this.ma().slide():this.Pa().slide()}initialize(){var a=this.slideWidth();const b=this.slideHeight();var c=Math.max(a,b);E(this.Yp(),"position","absolute");E(this.Ph(),"position","absolute");Cg(this.Yp(),a,b);Cg(this.Ph(),a,b);const d=vd("DIV");td(d,{id:"projection"});E(d,"position","absolute");Cg(d,a,b);this.P().appendChild(d);
kh(d,1.25*c+"px");c=vd("DIV");td(c,{id:"view"});E(c,"position","absolute");Cg(c,a,b);d.appendChild(c);jh(c,"preserve-3d");this.Z=c;rf&&(jh(this.Yp(),"preserve-3d"),jh(this.Ph(),"preserve-3d"));a=this.Yp();c.appendChild(a);c.appendChild(this.Un);a=this.Ph();c.appendChild(a);this.M()||this.lc?this.M()&&this.lc?(X(this,!0),W(this,!1)):!this.M()&&this.lc?(X(this,!1),W(this,!0)):this.M()&&!this.lc&&(X(this,!0),W(this,!1)):(X(this,!1),W(this,!0));E(this.Un,"visibility","hidden")}XA(a){a=a<tx?a:a>1-tx?1-
a:tx;var b=Math.max(this.slideWidth(),this.slideHeight());b=S(0,0,tx,.2*-b);const c=S(0,0,tx,10);ih(this.Z,"50% 100%");J(this.Z,"rotateX("+c(a)+"deg) translateZ("+b(a)+"px)")}zA(a){const b=this.slideWidth(),c=this.slideHeight();this.lg=this.kg=this.Qg=this.Pg=0;switch(a){case ux:this.Qg=1;this.kg=vx*b;this.lg=-vx*c;break;case wx:this.Qg=-1;this.kg=-vx*b;this.lg=vx*c;break;case xx:this.Pg=-1;this.kg=vx*b;this.lg=vx*c;break;case yx:this.Pg=1;this.kg=-vx*b;this.lg=-vx*c;break;case zx:this.Qg=this.Pg=
-1;this.kg=-vx*b;this.lg=vx*c;break;case Ax:this.Pg=-1;this.Qg=1;this.kg=-vx*b;this.lg=-vx*c;break;case Bx:this.Pg=1;this.Qg=-1;this.kg=vx*b;this.lg=vx*c;break;case Cx:this.Qg=this.Pg=1,this.kg=vx*b,this.lg=-vx*c}this.lc?(this.Qg*=-1,this.lg*=-1):(this.Pg*=-1,this.kg*=-1)}W(a){this.lc&&(a=1-a);this.XA(a);if(a>=Dx&&a<Ex){this.M()||this.lc?this.M()&&this.lc?W(this,!0):!this.M()&&this.lc?X(this,!0):this.M()&&!this.lc&&W(this,!0):X(this,!0);E(this.Un,"visibility","visible");a=1-(Ex-a)/(Ex-Dx);var b=a=
Uv(0,1,a),c=2*this.slideWidth()*this.Pg*(1-b),d=2*this.slideHeight()*this.Qg*(1-b);b=Fx*(1-b);var e=this.Ph();ih(e,"50% 50%");J(e,"translate3d("+c+"px, "+d+"px, "+b+"px)");c=a;e=this.kg*(1-c);d=this.lg*(1-c);const f=2*this.slideWidth()*this.Pg*(1-c);b=2*this.slideHeight()*this.Qg*(1-c);e=Rn(e+f);d=Rn(d+b);c=Rn(-5+Fx*(1-c));ih(this.Un,"50% 50%");J(this.Un,"translate3d("+e+"px, "+d+"px, "+c+"px)");I(this.Ph(),Gx+(1-Gx)*a)}else a>=Ex&&(this.M()||this.lc?this.M()&&this.lc&&X(this,!1):W(this,!1),E(this.Un,
"visibility","hidden"))}}var wx=0,xx=1,yx=2,ux=3,Ax=4,zx=5,Cx=6,Bx=7,tx=.4,Dx=.1,Ex=.7,Fx=800,Gx=.5,qx=.3,px=50,vx=1,rx=1;class Hx extends kw{constructor(a,b,c){super(a);this.G=b;this.lc=c;this.uc=!1;this.zA(b)}initialize(){W(this,!0);X(this,!0);this.Ph().hd()}Ph(){return this.lc?this.Pa():this.ma()}Yp(){return this.lc?this.ma():this.Pa()}zA(a){const b=this.slideWidth(),c=this.slideHeight();this.sg=this.rg=0;switch(a){case ux:this.sg=c;break;case wx:this.sg=-c;break;case xx:this.rg=b;break;case yx:this.rg=-b;break;case zx:this.rg=b;this.sg=-c;break;case Ax:this.rg=b;this.sg=c;break;case Bx:this.rg=-b;this.sg=-c;break;
case Cx:this.rg=-b,this.sg=c}this.lc&&(this.rg*=-1,this.sg*=-1)}W(a){a=Tv(a);this.lc&&(a=1-a);const b=S(0,this.rg,1,0),c=S(0,this.sg,1,0);vg(this.Ph().slide(),b(a),c(a))}};class Ix{constructor(a,b,c){var d=new U;this.Hk=a;this.yp=b;this.zp=c;this.n=d}};function Jx(a,b,c){var d=Kx,e=eg(b);b=new hw;const f=[];let h;for(h=0;h<e.length;h+=4){var g=0;g|=e[h+0]<<24;g|=e[h+1]<<16;g|=e[h+2]<<8;g|=e[h+3];g>>>=0;f.push(new U(Lx((0==(g>>31&1)?1:-1)*((g&2145386496)>>21),460.8,11),Lx((0==(g>>20&1)?1:-1)*((g&1047552)>>10),275.3,11),Lx((0==(g>>9&1)?1:-1)*(g&511),211.2,10)))}for(h=0;h<f.length;h++)e=c?0:(f[h].x()+Mx/2)/Mx,g=c?0:(f[h].y()+Nx/2)/Nx,cw(b,new bw(new U(f[h].x(),-1*f[h].y(),-1*f[h].z()),new T(e,g),new U));c=[];for(h=0;h<d.length;h+=3)c.push(new Ix(b.oa[d[h]],
b.oa[d[h+1]],b.oa[d[h+2]]));a.lz(c);for(h=0;h<c.length;h++)a=c[h],aw(a.Hk,a.Hk.Lb.add(a.n)),aw(a.yp,a.yp.Lb.add(a.n)),aw(a.zp,a.zp.Lb.add(a.n));return b}function Lx(a,b,c){return a/((Math.pow(2,c-1)-1)/Math.round(10*b))/10}
class Ox extends Bw{constructor(a){super(a);this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb();this.F.enable(this.F.DEPTH_TEST);const a=mat4.create();mat4.identity(a);a[0]=this.slideWidth()/Mx;a[5]=this.slideHeight()/Nx;this.na=mat4.multiply(this.na,a,this.na);this.Nr=mat4.create();mat4.set(this.na,this.Nr)}lz(a){for(let b=0;b<a.length;b++){const c=a[b];c.n=Yv(c.Hk.position().gf(c.yp.position()),c.Hk.position().gf(c.zp.position()));c.n.normalize()}}wb(){this.Sc=Jx(this,Px,
!1);this.Ge=new Wv;var a=pw(this,ew(this.Sc),3);this.Ge.Uc=a;a=pw(this,fw(this.Sc),2);this.Ge.$c=a;a=qw(this,Kx);this.Ge.Lc=a;a=pw(this,gw(this.Sc),3);this.Ge.Yh=a}fe(){mw(this,this.Ge)}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.4;\n\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(diffuseFactor);\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec3 aVertexNormal;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\n\t\tuniform mat3 uNMatrix;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\tvTextureCoord = aTextureCoord;\n\t\t\tvNormal = uNMatrix * normalize(aVertexNormal);\n\t\t}"}oe(){xw(this);
this.wg=vw(this,"aVertexNormal");this.sc=ww(this,"uSampler")}ge(){yw(this,this.wg)}rf(){return this.sc}Zp(){return this.wg}W(a){var b=a/(.5/(Qx.length-1)),c=Math.floor(b);b-=c;c>Qx.length-1&&(c=Qx.length-1,b=0);if(0!=b||this.M()&&!this.PP){if(this.UP!=c){var d=c!=Qx.length-1?Qx[c+1]:null;this.VP=Jx(this,Qx[c],!0);this.wI=null!=d?Jx(this,d,!0):null}for(d=0;d<this.Sc.length();d++){const f=this.Sc.oa[d];var e=this.VP.oa[d];const h=null!=this.wI?this.wI.oa[d]:null;$v(f,e.position().clone());aw(f,e.Lb.clone());
null!=h&&(e=new U,e.Ch(f.position().x()+(h.position().x()-f.position().x())*b),e.$e(f.position().y()+(h.position().y()-f.position().y())*b),Zv(e,f.position().z()+(h.position().z()-f.position().z())*b),$v(f,e),e=new U,e.Ch(f.Lb.x()+(h.Lb.x()-f.Lb.x())*b),e.$e(f.Lb.y()+(h.Lb.y()-f.Lb.y())*b),Zv(e,f.Lb.z()+(h.Lb.z()-f.Lb.z())*b),aw(f,e))}this.PP=!0;this.UP=c}.5<a&&(c=12*this.slideHeight(),b=mat4.create(),mat4.identity(b),b[13]=Math.pow(a-.5,2)/2*c*-1,this.na=mat4.multiply(this.Nr,b,this.na));Aw(this);
uw(this,this.Ge,this.F.TRIANGLES,function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(ew(this.Sc)))}.bind(this),function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(gw(this.Sc)))}.bind(this))}}
var Mx=921.6,Nx=518.4,Kx=[0,1,2,3,2,4,5,4,6,7,6,8,9,8,10,11,10,12,13,12,14,15,14,16,17,16,18,19,18,20,21,20,22,1,23,24,2,24,25,4,25,26,6,26,27,8,27,28,10,28,29,12,29,30,14,30,31,16,31,32,18,32,33,20,33,34,23,35,36,24,36,37,25,37,38,26,38,39,27,39,40,28,40,41,29,41,42,30,42,43,31,43,44,32,44,45,33,45,46,35,47,48,36,48,49,37,49,50,38,50,51,39,51,52,40,52,53,41,53,54,42,54,55,43,55,56,44,56,57,45,57,58,47,59,60,48,60,61,49,61,62,50,62,63,51,63,64,52,64,65,53,65,66,54,66,67,55,67,68,56,68,69,57,69,70,
59,71,72,60,72,73,61,73,74,62,74,75,63,75,76,64,76,77,65,77,78,66,78,79,67,79,80,68,80,81,69,81,82,71,83,84,72,84,85,73,85,86,74,86,87,75,87,88,76,88,89,77,89,90,78,90,91,79,91,92,80,92,93,81,93,94,83,95,96,84,96,97,85,97,98,86,98,99,87,99,100,88,100,101,89,101,102,90,102,103,91,103,104,92,104,105,93,105,106,0,2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,107,1,24,2,2,25,4,4,26,6,6,27,8,8,28,10,10,29,12,12,30,14,14,31,16,16,32,18,18,33,20,20,34,22,23,36,24,24,37,
25,25,38,26,26,39,27,27,40,28,28,41,29,29,42,30,30,43,31,31,44,32,32,45,33,33,46,34,35,48,36,36,49,37,37,50,38,38,51,39,39,52,40,40,53,41,41,54,42,42,55,43,43,56,44,44,57,45,45,58,46,47,60,48,48,61,49,49,62,50,50,63,51,51,64,52,52,65,53,53,66,54,54,67,55,55,68,56,56,69,57,57,70,58,59,72,60,60,73,61,61,74,62,62,75,63,63,76,64,64,77,65,65,78,66,66,79,67,67,80,68,68,81,69,69,82,70,71,84,72,72,85,73,73,86,74,74,87,75,75,88,76,76,89,77,77,90,78,78,91,79,79,92,80,80,93,81,81,94,82,83,96,84,84,97,85,85,
98,86,86,99,87,87,100,88,88,101,89,89,102,90,90,103,91,91,104,92,92,105,93,93,106,94],Px="/+8MAP/rSADoi0gA6I8MANFLSADRTwwAuitIALovDACi60gAou8MAIurSACLrwwAC6tIAAuvDAAi60gAIu8MADorSAA6LwwAUUtIAFFPDABoi0gAaI8MAH/rSAD/54QA6IeEANFHhAC6J4QAoueEAIunhAALp4QAIueEADonhABRR4QAaIeEAH/nhAD/48AA6IPAANFDwAC6I8AAouPAAIujwAALo8AAIuPAADojwABRQ8AAaIPAAH/jwAD/4AAA6IAAANFAAAC6IAAAouAAAIugAAALoAAAIuAAADogAABRQAAAaIAAAH/gAAD/88AA6JPAANFTwAC6M8AAovPAAIuzwAALs8AAIvPAADozwABRU8AAaJPAAH/zwAD/94QA6JeEANFXhAC6N4QAoveEAIu3hAALt4QAIveEADo3hABRV4QAaJeEAH/3hAD/+0gA6JtIANFbSAC6O0gAovtIAIu7SAALu0gAIvtIADo7SABRW0gAaJtIAH/7SAD//wwA6J8MANFfDAC6PwwAov8MAIu/DAALvwwAIv8MADo/DABRXwwAaJ8MAH//DAB/7wwA",
Qx=[Px,"8u/+EviMJALjCzwa4S7kSs1rNAHNrw4Gt0s8DLfPDAyhC0wLoa8UC4qrWAuLbyALC6tgCwrvI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aXKOibNs2gh1jBWApWmP4cE9VKItFIqCazjWInkfCnL1OFXz7T8LC1tuQGrldww6XXLYOSub1nAFip3RN2fYgktt0MJZSEXCjWzRgsFOxiMlbVGjEVFGCvNdiSoVm8lZn55VuKeMnmBrr5aRmZqWIgGbi3H5eUDyW5/Mkn+BAbKdng4TF4sCcpZXiK"];class Rx extends kw{constructor(a,b,c,d){super(a);this.Ha=c;this.G=b;this.Xa=d;this.Ha?this.fa(!1,!1,!0,!0,!1,!1):this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.gb=this.Ha?this.Aj:this.V;this.fb=this.Ha?this.Uh:this.qa;var c=vd("DIV");this.kj=vd("DIV");this.Zi=Y(a,b);E(this.Zi,"backgroundColor","#000000");I(this.Zi,0);this.$i=Y(a,b);E(this.$i,"backgroundColor","#000000");I(this.$i,0);this.kj.appendChild(this.gb);this.kj.appendChild(this.fb);this.kj.appendChild(this.Zi);
this.kj.appendChild(this.$i);c.appendChild(this.kj);if(this.Ha){var d=this.P(),e=this.Pa().background();d.appendChild(e);d=this.P();e=this.ma().background();d.appendChild(e)}this.P().appendChild(c);try{kh(c,a+"px"),lh(c,a/2+"px "+b/2+"px"),jh(this.kj,"preserve-3d")}catch(f){}E(this.gb,"position","absolute");E(this.fb,"position","absolute");E(this.Zi,"position","absolute");E(this.$i,"position","absolute");Cg(this.kj,a,b);Cg(this.gb,a,b);Cg(this.fb,a,b);d=c="";switch(this.G){case Sx:c="translateZ("+
b/2+"px)";d="rotateX(90deg) translateZ("+b/2+"px)";break;case Tx:c="translateZ("+b/2+"px)";d="rotateX(-90deg) translateZ("+b/2+"px)";break;case Ux:c="translateZ("+a/2+"px)";d="rotateY(90deg) translateZ("+a/2+"px)";break;case Vx:c="translateZ("+a/2+"px)",d="rotateY(-90deg) translateZ("+a/2+"px)"}J(this.gb,c);J(this.$i,c);J(this.fb,d);J(this.Zi,d)}W(a){this.Ha&&I(this.ma().background(),a);a=Uv(0,1,a);let b,c="",d="";const e=90*a;var f=-this.slideWidth()/2;const h=-this.slideHeight()/2,g=this.slideWidth()*
(1-a)+f,k=this.slideHeight()*a+h;let l;switch(this.G){case Sx:l=S(0,180*Math.atan(this.slideHeight()/(2*this.slideWidth()))/Math.PI,1,180*-Math.atan(this.slideHeight()/(2*this.slideWidth()))/Math.PI);b="translateY("+k+"px) rotateX("+-e+"deg) translateY("+-h+"px)  translateZ("+h+"px)";this.Xa||(c="translate(0px, "+-h+"px) scale(1, "+(1-a)+") translate(0px,"+h+"px)",d="translate(0px, "+k+"px) scale(1, "+a+") translate(0px,"+h+"px)");break;case Tx:l=S(0,180*Math.atan(this.slideHeight()/(2*this.slideWidth()))/
Math.PI,1,180*-Math.atan(this.slideHeight()/(2*this.slideWidth()))/Math.PI);b="translateY("+-k+"px) rotateX("+e+"deg) translateY("+h+"px)  translateZ("+h+"px)";this.Xa||(c="translate(0px, "+h+"px) scale(1, "+(1-a)+") translate(0px,"+-h+"px)",d="translate(0px, "+-k+"px) scale(1, "+a+") translate(0px,"+-h+"px)");break;case Ux:l=S(0,180*Math.atan(.5)/Math.PI,1,180*-Math.atan(.5)/Math.PI);b="translateX("+g+"px) rotateY("+-e+"deg) translateX("+f+"px)  translateZ("+f+"px)";this.Xa||(c="translate("+f+"px, 0px) scale("+
(1-a)+", 1) translate("+-f+"px, 0px)",d="translate("+g+"px, 0px) scale("+a+", 1) translate("+-f+"px, 0px)");break;case Vx:l=S(0,180*Math.atan(.5)/Math.PI,1,180*-Math.atan(.5)/Math.PI);b="translateX("+-g+"px) rotateY("+e+"deg) translateX("+-f+"px)  translateZ("+f+"px)";this.Xa||(c="translate("+-f+"px, 0px) scale("+(1-a)+", 1) translate("+f+"px, 0px)",d="translate("+-g+"px, 0px) scale("+a+", 1) translate("+f+"px, 0px)");break;default:throw Error("Unknown direction");}this.Ha||(.5>a?(f=S(0,90,45,0),
f=.5*Math.sin(f(e)*Math.PI/180),I(this.Zi,f)):(f=S(45,0,90,90),f=.5*Math.sin(f(e)*Math.PI/180),I(this.$i,f)));this.Xa?(a=e-l(a),0>=a?(I(this.fb,0),I(this.Zi,0)):90<=a?(I(this.gb,0),I(this.$i,0)):(I(this.fb,1),I(this.gb,1)),J(this.kj,b)):(J(this.gb,c),J(this.fb,d),J(this.$i,c),J(this.Zi,d))}}var Tx=0,Sx=1,Ux=2,Vx=3;function Wx(a,b,c,d){d/=a-1;c/=b-1;const e=new hw,f=new U(0,0,1);for(let h=0;h<a;++h)for(let g=0;g<b;++g){const k=new bw(new U(g*c,-h*d,0),new T(g/(b-1),h/(a-1)),f);cw(e,k)}return e}function Xx(a,b,c,d){b/=14;a/=60;const e=new hw,f=new U(0,0,1);for(let h=0;15>h;++h)for(let g=c;g<d;++g){const k=new bw(new U(g*a,-h*b,0),new T(g/60,h/14),f);cw(e,k)}return e}
function Yx(a,b){const c=[];for(let d=0;d<a-1;++d)for(let e=0;e<b;++e)c.push(e+d*b),c.push(e+(d+1)*b),e==b-1&&d!=a-2&&(c.push(e+(d+1)*b),c.push((d+1)*b));return c}function Zx(a,b){const c=[];for(let d=0;d<a-1;++d)for(let e=0;e<b;++e)c.push(e+(d+1)*b),c.push(e+d*b),e==b-1&&d!=a-2&&(c.push(e+d*b),c.push((d+2)*b));return c};class $x extends Bw{constructor(a){super(a);this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb();mat4.translate(this.na,[-this.slideWidth()/2,this.slideHeight()/2,0]);Aw(this)}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec3 n = normalize(vNormal);\n\t\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0);\n\t\t\tfloat directionalLightWeighting = abs(dot(n, lightingDirection));\n\t\t\tfloat intentsity = 0.7 + 0.3 * directionalLightWeighting;\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\t\tuniform mat3 uNMatrix;\n\n\t\tuniform float uPhase;\n\t\tuniform float uSlideHeight;\n\t\tuniform float uSlideWidth;\n\t\tuniform bool uLeftCurtain;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tconst float WAVES_COUNT = 10.0;\n\t\tconst float MIN_AMP_KOEF = 0.5;\n\t\tconst float WAVE_APPEAR_DURATION = 0.1;\n\t\tconst float WAVES_START_APPEAR_PHASE = 0.075;\n\t\tconst float WAVES_READY_PHASE = 0.275;\n\t\tconst float STRETCH_KOEF = 1.25;\n\t\tconst float MAX_CORNER_BOUNCE_AT_START_KOEF = 1.5;\n\t\tconst float MAX_CORNER_BOUNCE_AT_END_KOEF = 3.5;\n\t\tconst float DELTA_W = 1.0;\n\t\tconst float DELTA_H = 1.0;\n\t\tconst float PI = 3.14159265358979323846264;\n\n\t\tfloat sinX;\n\t\tfloat waveStartAppearTime;\n\t\tfloat rowRatio;\n\t\tfloat diagonalRatio;\n\t\tfloat forcedXPath;\n\t\tfloat xDampAmp;\n\t\tfloat yAmp;\n\t\tvec4 xTimesPart1;\n\t\tvec4 xTimesPart2;\n\t\tvec2 xTimesPart3;\n\t\tvec4 yTimesPart1;\n\t\tvec3 yTimesPart2;\n\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t\t{\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t\t}\n\n\t\tfloat calcAmpKoef(float x)\n\t\t{\n\t\t\tconst float X0 = 0.0;\n\t\t\tconst float X1 = 0.5;\n\t\t\tconst float X2 = 1.0;\n\n\t\t\tconst float Y0 = 0.25;\n\t\t\tconst float Y1 = 0.16;\n\t\t\tconst float Y2 = 0.0;\n\n\t\t\tfloat part1 = (x - X1) * (x - X2) * Y0 / (X0 - X1) / (X0 - X2);\n\t\t\tfloat part2 = (x - X0) * (x - X2) * Y1 / (X1 - X0) / (X1 - X2);\n\t\t\tfloat part3 = (x - X0) * (x - X1) * Y2 / (X2 - X0) / (X2 - X1);\n\n\t\t\treturn part1 + part2 + part3;\n\t\t}\n\n\t\tfloat smoothStep(float min, float max, float x)\n\t\t{\n\t\t\tif (x < min)\n\t\t\t{\n\t\t\t\treturn 0.0;\n\t\t\t}\n\t\t\tif (x >= max)\n\t\t\t{\n\t\t\t\treturn 1.0;\n\t\t\t}\n\n\t\t\tfloat value = (x - min) / (max - min);\n\t\t\tfloat squaredValue = value * value;\n\n\t\t\treturn -2.0 * squaredValue * value + 3.0 * squaredValue;\n\t\t}\n\n\t\tfloat calcAmp()\n\t\t{\n\t\t\tfloat periodKoef = linearInterpolation(uPhase, waveStartAppearTime, 1.0, waveStartAppearTime + WAVE_APPEAR_DURATION, MIN_AMP_KOEF);\n\t\t\tperiodKoef = clamp(periodKoef, MIN_AMP_KOEF, 1.0);\n\n\t\t\treturn calcAmpKoef(periodKoef) * uSlideWidth / WAVES_COUNT;\n\t\t}\n\n\t\tfloat calcX()\n\t\t{\n\t\t\tfloat forcedX = smoothStep(xTimesPart1.x, xTimesPart1.y, uPhase) * forcedXPath + smoothStep(xTimesPart1.z, xTimesPart1.w, uPhase) * 0.75;\n\t\t\tfloat dampAmpKoef = (uPhase <= xTimesPart2.w + 0.35) ? 1.0 : (diagonalRatio == 0.0 ? 1.0 : diagonalRatio);\n\t\t\tfloat stretchWidth = smoothStep(xTimesPart2.w, xTimesPart3.x, uPhase);\n\t\t\tfloat compressionWidth = smoothStep(xTimesPart3.x, xTimesPart3.y, uPhase);\n\t\t\tfloat deltaWidthKoef = (linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, compressionWidth) - linearInterpolation(diagonalRatio, 0.0, 0.0, 1.0, stretchWidth)) * STRETCH_KOEF;\n\n\t\t\tfloat dampX = smoothStep(xTimesPart2.x, xTimesPart2.y, uPhase);\n\t\t\tdampX -= smoothStep(xTimesPart2.y, xTimesPart2.z, uPhase) * 1.25;\n\t\t\tdampX += deltaWidthKoef;\n\n\t\t\treturn (forcedX + dampX * xDampAmp / dampAmpKoef) * uSlideWidth;\n\t\t}\n\n\t\tfloat calcY(vec3 vertex)\n\t\t{\n\t\t\tfloat cornerBounceAtStartKoef = linearInterpolation(uPhase, yTimesPart1.y, 0.0, yTimesPart1.z, MAX_CORNER_BOUNCE_AT_START_KOEF);\n\t\t\tfloat x0 = uLeftCurtain ? uSlideWidth * 0.25 : uSlideWidth * 0.5;\n\t\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth * 0.75;\n\t\t\tfloat fx0 = uLeftCurtain ? cornerBounceAtStartKoef : MAX_CORNER_BOUNCE_AT_START_KOEF;\n\t\t\tfloat fx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_START_KOEF: cornerBounceAtStartKoef ;\n\t\t\tfloat colBounceAtStartKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1);\n\t\t\tcolBounceAtStartKoef = clamp(colBounceAtStartKoef, 0.0, MAX_CORNER_BOUNCE_AT_START_KOEF);\n\n\t\t\tfloat cornerBounceAtEndKoef = linearInterpolation(uPhase, yTimesPart2.y, 0.0, yTimesPart2.z, MAX_CORNER_BOUNCE_AT_END_KOEF);\n\t\t\tx0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5;\n\t\t\tx1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth;\n\t\t\tfx0 = uLeftCurtain ? cornerBounceAtEndKoef : MAX_CORNER_BOUNCE_AT_END_KOEF;\n\t\t\tfx1 = uLeftCurtain ? MAX_CORNER_BOUNCE_AT_END_KOEF: cornerBounceAtEndKoef ;\n\t\t\tfloat colBounceAtEndKoef = linearInterpolation(vertex.x, x0, fx0, x1, fx1);\n\n\t\t\tfloat y0 = -smoothStep(yTimesPart1.x, yTimesPart1.y, uPhase) * colBounceAtStartKoef;\n\t\t\ty0 += smoothStep(yTimesPart1.y, yTimesPart1.z, uPhase) * MAX_CORNER_BOUNCE_AT_START_KOEF;\n\t\t\ty0 -= smoothStep(yTimesPart1.z, yTimesPart1.w, uPhase) * 0.25;\n\t\t\ty0 += smoothStep(yTimesPart1.w, yTimesPart2.x, uPhase) * 0.25;\n\t\t\ty0 -= smoothStep(yTimesPart2.x, yTimesPart2.y, uPhase) * colBounceAtEndKoef;\n\t\t\ty0 += smoothStep(yTimesPart2.y, yTimesPart2.z, uPhase) * (MAX_CORNER_BOUNCE_AT_END_KOEF + 1.0);\n\n\t\t\treturn (y0 * yAmp + rowRatio) * uSlideHeight;\n\t\t}\n\n\t\tvec3 getVertexPosition(vec3 vertex)\n\t\t{\n\t\t\tfloat amp = calcAmp();\n\t\t\tfloat z = -amp * sinX;\n\t\t\tfloat xKoef = uLeftCurtain ? 1.0 : -1.0;\n\n\t\t\treturn vec3(vertex.x - calcX() * xKoef, -calcY(vertex), z);\n\t\t}\n\n\t\tvoid initVertexParams(vec3 vertex)\n\t\t{\n\t\t\tfloat periodWidth = uSlideWidth / WAVES_COUNT;\n\t\t\tfloat frequency = PI * 2.0 / periodWidth;\n\t\t\tsinX = sin(frequency * vertex.x);\n\n\t\t\trowRatio = vertex.y / uSlideHeight;\n\n\t\t\tfloat halfRowRatio = rowRatio * 0.5;\n\t\t\tfloat halfSquaredRowRatio = rowRatio * halfRowRatio;\n\n\t\t\tfloat maxDT = 0.1;\n\t\t\tfloat dtAmp = 2.0 * maxDT;\n\t\t\tfloat dt = dtAmp * halfRowRatio;\n\n\t\t\tfloat distT = (0.6 - dt);\n\n\t\t\tfloat xT1 = dt;\n\t\t\tfloat xT2 = 0.4 + dt;\n\t\t\tfloat xT3 = xT2 + distT * 0.5;\n\t\t\tfloat xT4 = 1.0 + (1.0 - xT3);\n\n\t\t\tfloat xDampT1 = (xT1 + xT2) * 0.45;\n\t\t\tfloat xDampT2 = xT2;\n\t\t\tfloat xDampT3 = xT3;\n\t\t\tfloat xDampT4 = xDampT2 + (xDampT3 - xDampT2) * 0.5;\n\t\t\tfloat xDampT5 = xDampT3 + 0.075;\n\t\t\tfloat xDampT6 = 1.0;\n\n\t\t\tdistT = (0.7 - dt);\n\n\t\t\tfloat yT2 = 0.3 + dt;\n\t\t\tfloat yT3 = yT2 + distT * 0.5;\n\n\t\t\tfloat yDampT1 = 0.0;\n\t\t\tfloat yDampT2 = (yDampT1 * 2.0 + 0.35) * 0.5;\n\t\t\tfloat yDampT3 = yT2;\n\t\t\tfloat yDampT4 = (yT2 + yT2 + yT3) / 3.0;\n\t\t\tfloat yDampT5 = (yT2 + yT3 + yT3) / 3.0;\n\t\t\tfloat yDampT6 = yT3 + 0.1175;\n\t\t\tfloat yDampT7 = 1.0;\n\n\t\t\txTimesPart1 = vec4(xT1, xT2, xT3 - 0.125, xT4);\n\t\t\txTimesPart2 = vec4(xDampT1, xDampT2, xDampT3, xDampT4);\n\t\t\txTimesPart3 = vec2(xDampT5, xDampT6);\n\n\t\t\tyTimesPart1 = vec4(yDampT1 + 0.05, yDampT2, yDampT3, yDampT4);\n\t\t\tyTimesPart2 = vec3(yDampT5, yDampT6, yDampT7);\n\n\t\t\twaveStartAppearTime = linearInterpolation(vertex.y, 0.0, WAVES_START_APPEAR_PHASE, uSlideHeight, WAVES_READY_PHASE - WAVE_APPEAR_DURATION);\n\n\t\t\tfloat colRatio = (uLeftCurtain ? vertex.x : uSlideWidth - vertex.x)  / (uSlideWidth * 0.5);\n\t\t\tdiagonalRatio = (colRatio + rowRatio) * 0.5;\n\n\t\t\tfloat x0 = uLeftCurtain ? 0.0 : uSlideWidth * 0.5;\n\t\t\tfloat x1 = uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth;\n\t\t\tfloat fx0 = uLeftCurtain ? 0.2 : 0.0;\n\t\t\tfloat fx1 = uLeftCurtain ? 0.0 : 0.2;\n\t\t\tforcedXPath = 0.2 * (colRatio + linearInterpolation(vertex.x, x0, fx0, x1, fx1));\n\n\t\t\tfloat mxDampAmp = 0.1 * diagonalRatio;\n\t\t\tfloat dampAcc = 2.0 * mxDampAmp;\n\t\t\txDampAmp = dampAcc * halfRowRatio;\n\n\t\t\tfloat maxYAmp = 0.02;\n\t\t\tfloat dyAmp = 2.0 * maxYAmp * diagonalRatio * rowRatio;\n\t\t\tyAmp = dyAmp * halfSquaredRowRatio;\n\t\t}\n\n\t\tvec3 getVertexNormal(vec3 vertex, vec3 p)\n\t\t{\n\t\t\tbool rightSideXPos = vertex.x == (uLeftCurtain ? uSlideWidth * 0.5 : uSlideWidth);\n\t\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W;\n\n\t\t\tvec3 rightVertex = vec3(vertex.x + deltaWidth, vertex.y, vertex.z);\n\t\t\tinitVertexParams(rightVertex);\n\t\t\tvec3 right = getVertexPosition(rightVertex);\n\n\t\t\tvec3 downVertex = vec3(vertex.x, vertex.y + DELTA_H, vertex.z);\n\t\t\tinitVertexParams(downVertex);\n\t\t\tvec3 down = getVertexPosition(downVertex);\n\n\t\t\tvec3 v1 = vec3(right.x - p.x, right.y - p.y, right.z - p.z);\n\t\t\tvec3 v2 = vec3(down.x - p.x, down.y - p.y, down.z - p.z);\n\n\t\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1);\n\t\t\tn = normalize(n);\n\n\t\t\treturn n;\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\t\tinitVertexParams(vertex);\n\t\t\tvec3 p = getVertexPosition(vertex);\n\n\t\t\tvec3 pNormal = getVertexNormal(vertex, p);\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\n\t\t\tif (vertex.y == 0.0)\n\t\t\t{\n\t\t\t\tfloat maxDY = calcAmpKoef(MIN_AMP_KOEF) * uSlideWidth / WAVES_COUNT * 0.4;\n\t\t\t\tp.y += max(0.0, min(maxDY, linearInterpolation(uPhase, WAVES_START_APPEAR_PHASE, 0.0, WAVES_START_APPEAR_PHASE + WAVE_APPEAR_DURATION, maxDY)));\n\t\t\t}\n\t\t\tgl_Position = uPMVMatrix * vec4(p, 1.0);\n\t\t}"}pF(){if(void 0!==
this.Qj)return this.Qj;this.kl();return this.Qj=this.Qj}kl(){void 0===this.F&&super.kl()}W(a){this.F.uniform1f(this.Tc,a);this.HG=!0;uw(this,this.Aq,this.F.TRIANGLE_STRIP);this.HG=!1;uw(this,this.lr,this.F.TRIANGLE_STRIP)}oe(){xw(this);this.sc=ww(this,"uSampler");this.Tc=ww(this,"uPhase");this.$P=ww(this,"uLeftCurtain");const a=ww(this,"uSlideWidth");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(a,this.slideWidth())}fe(){mw(this,this.Aq);mw(this,this.lr)}ge(){}$y(){this.F.uniform1i(this.$P,
this.HG?1:0)}wb(){var a=this.slideWidth();const b=this.slideHeight();this.UH=Xx(a,b,0,31);this.sK=Xx(a,b,30,61);this.Ub=Yx(15,31);this.Aq=new Wv;a=pw(this,ew(this.UH),3);this.Aq.Uc=a;a=pw(this,fw(this.UH),2);this.Aq.$c=a;a=qw(this,this.Ub);this.Aq.Lc=a;this.lr=new Wv;a=pw(this,ew(this.sK),3);this.lr.Uc=a;a=pw(this,fw(this.sK),2);this.lr.$c=a;a=qw(this,this.Ub);this.lr.Lc=a}rf(){return this.sc}};class ay extends kw{constructor(a){super(a);this.ma().hd();this.uc=!1}initialize(){W(this,!0);X(this,!0)}W(a){.3>a?I(this.ma().slide(),0):I(this.ma().slide(),1)}};class by extends kw{constructor(a){super(a);this.ma().hd();this.uc=!1}initialize(){W(this,!0);X(this,!0);this.kd=document.createElement("div");Dg(this.kd,this.slideWidth());Eg(this.kd,this.slideHeight());E(this.kd,"backgroundColor","#000000");E(this.kd,"position","relative");this.P().appendChild(this.kd)}W(a){.5>a?(I(this.ma().slide(),0),I(this.kd,0)):.8>a?I(this.kd,1):(I(this.kd,0),I(this.ma().slide(),1))}};class cy extends kw{constructor(a){super(a);this.uc=!1;this.fa(!1,!0);this.gB=0;a=this.slideWidth();const b=this.slideHeight(),c=dy!=a||ey!=b;if(!fy||c)fy=[],dy=a,ey=b,gy(a,b)}initialize(){W(this,!1);X(this,!0);const a=this.V;this.P().appendChild(a);this.Lq=Y(this.slideWidth(),this.slideHeight());this.Lq.getContext("2d").drawImage(a,0,0)}W(a){const b=fy,c=this.V.getContext("2d"),d=b.length;for(var e=this.gB;e<d;++e){var f=b[e];if(a<f.Ek)break;var h=f.x,g=f.y,k=f.width;f=f.height;c.drawImage(this.Lq,
h,g,k,f,h,g,k,f)}c.save();c.globalCompositeOperation="destination-out";for(e=this.gB;e<d;++e){f=b[e];h=f.Ek;g=a-h;k=10*g;if(a<h)break;.1<=g&&(this.gB=e);c.fillStyle="rgba(0, 0, 0, "+Rn(k)+")";c.fillRect(f.x,f.y,f.width,f.height)}c.restore()}M(){return!1}}var dy,ey,fy;
function gy(a,b){var c=fy;a/=54;const d=b/42;let e=0,f=0;for(b=0;54>b;++b){f=0;const h=Math.round((b+1)*a)-e,g=e;for(let k=0;42>k;++k){const l=Math.round((k+1)*d)-f,m=new hy(g,f,h,l);m.Ek=Math.random();c.push(m);f+=l}e+=h}c.sort(function(h,g){return h.Ek<g.Ek?-1:h.Ek>g.Ek?1:0});a=c.length;for(b=0;b<a;++b)c[b].Ek=.9*b/(a-1)}class hy{constructor(a,b,c,d){this.x=a;this.y=b;this.width=c;this.height=d;this.Ek=0}};class iy extends kw{constructor(a,b,c,d){super(a);this.Y=b;this.Ha=c;this.hz=d;this.Ha?(this.uc=!1,this.fa(!1,!1,!0,!0,!1,!1)):this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);this.Qh()}W(a){this.Ha&&(I(this.Pa().background(),1-a),I(this.ma().background(),a));var b=this.slideWidth();b/=b+(1.4-2.8*a*a*.5)*b;b=this.Ha?this.hz?Vv(0,.7,4,b):Tv(b):b;J(this.Ug,"scale("+b+", "+b+")");b=this.slideWidth()/2;const c=this.slideHeight()/2;let d="",e="",f=0,h=0,g=0,k=0;const l=120*a,m=S(0,1,1,.5),p=1.5*Uv(0,
1,a);switch(this.Y){case jy:d="translateX("+-b+"px) translateZ("+p*this.slideWidth()+"px) rotateY("+l+"deg) translateX("+b+"px)";e="translateX("+b+"px) translateZ("+p*this.slideWidth()+"px) rotateY("+-l+"deg) translateX("+-b+"px)";this.Xa||(f=a*-b,h=a*b,d="translate("+-b+"px, 0px) scale("+m(a)+", 1) translate("+b+"px, 0px",e="translate("+b+"px, 0px) scale("+m(a)+", 1) translate("+-b+"px, 0px");break;case ky:d="translateY("+-c+"px) translateZ("+p*this.slideHeight()+"px) rotateX("+-l+"deg) translateY("+
c+"px)",e="translateY("+c+"px) translateZ("+p*this.slideHeight()+"px) rotateX("+l+"deg) translateY("+-c+"px)",this.Xa||(g=a*-c,k=a*c,d="translate(0px,"+-c+"px) scale(1, "+m(a)+") translate(0px, "+c+"px)",e="translate(0px, "+c+"px) scale(1, "+m(a)+") translate(0px, "+-c+"px)")}this.Xa||(vg(this.xl,f,g),vg(this.yl,h,k));J(this.xl,d);J(this.yl,e);I(this.xl,1-a);I(this.yl,1-a)}Qh(){const a=this.slideWidth(),b=this.slideHeight();if(this.Ha){var c=this.P(),d=this.ma().background();c.appendChild(d)}this.Ug=
Y(a,b);E(this.Ug,"position","absolute");this.P().appendChild(this.Ug);this.Ha&&(c=this.P(),d=this.Pa().background(),c.appendChild(d));this.Ug.getContext("2d").drawImage(this.Ha?this.Uh:this.qa,0,0);this.xl=Y(a,b);c=this.xl.getContext("2d");this.yl=Y(a,b);d=this.yl.getContext("2d");var e=vd("DIV");this.P().appendChild(e);e.appendChild(this.xl);e.appendChild(this.yl);try{kh(e,a+"px"),lh(e,a/2+"px "+b/2+"px"),jh(this.xl,"preserve-3d"),jh(this.yl,"preserve-3d"),this.Xa=!0}catch(f){this.Xa=!1}E(this.xl,
"position","absolute");E(this.yl,"position","absolute");c.clearRect(0,0,a,b);d.clearRect(0,0,a,b);e=this.Ha?this.Aj:this.V;switch(this.Y){case jy:c.drawImage(e,0,0,a/2,b,0,0,a/2,b);d.drawImage(e,a/2,0,a/2,b,a/2,0,a/2,b);break;case ky:c.drawImage(e,0,0,a,b/2,0,0,a,b/2),d.drawImage(e,0,b/2,a,b/2,0,b/2,a,b/2)}}}var jy=0,ky=1;class ly extends Bw{constructor(a,b){super(a);this.G=b;this.fa(!0,!1)}initialize(){W(this,!0);X(this,!1);lw(this,this.qa);this.wb();mat4.translate(this.na,[-this.slideWidth()/2,this.slideHeight()/2,0]);Aw(this)}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.4;\n\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\t\tuniform mat3 uNMatrix;\n\n\t\tuniform float uPhase;\n\t\tuniform bool uDirectionIsLeft;\n\t\tuniform float uSlideHeight;\n\t\tuniform float uSlideWidth;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tconst float TIME_1 = 0.2;\n\t\tconst float TIME_2 = 0.6;\n\t\tconst float TIME_3 = 0.7;\n\t\tconst float TIME_4 = 0.8;\n\n\t\tconst float START_PHASE = 0.3;\n\t\tconst float END_PHASE = 0.7;\n\n\t\tconst float ANGLE_1 = 0.0;\n\t\tconst float ANGLE_2 = -180.0;\n\t\tconst float ANGLE_3 = ANGLE_2 - 20.0;\n\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t\t{\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t\t}\n\n\t\tvec3 ellipse(float angle, vec3 pos, vec2 center, vec2 radius)\n\t\t{\n\t\t\tfloat ang = radians(angle);\n\t\t\treturn vec3(pos.x, center.x + radius.x * cos(ang), -(center.y + radius.y * sin(ang)));\n\t\t}\n\n\t\tfloat goBack(float y, float phase, float constAngleTime)\n\t\t{\n\t\t\tfloat time = linearInterpolation(y, 0.0, TIME_3, uSlideHeight, TIME_4);\n\n\t\t\tif (phase > time)\n\t\t\t{\n\t\t\t\treturn linearInterpolation(phase, time, ANGLE_3, 1.0, ANGLE_2);\n\t\t\t}\n\t\t\tfloat angle = linearInterpolation(phase, constAngleTime, ANGLE_2, time, ANGLE_3);\n\t\t\treturn angle;\n\t\t}\n\n\t\tfloat getRowAngleByPhase(vec3 pos, float phase)\n\t\t{\n\t\t\tconst float HORIZONTAL_DELAY = 0.05;\n\t\t\tfloat colDelay = uDirectionIsLeft\n\t\t\t\t? linearInterpolation(pos.x, 0.0, 0.0, uSlideWidth, HORIZONTAL_DELAY)\n\t\t\t\t: linearInterpolation(pos.x, 0.0, HORIZONTAL_DELAY, uSlideWidth, 0.0);\n\n\t\t\tphase = linearInterpolation(phase, 0.0, colDelay, 1.0, 1.0);\n\n\t\t\tfloat constAngleTime = linearInterpolation(pos.y, 0.0, TIME_2, uSlideHeight, TIME_1);\n\t\t\tif (phase > constAngleTime)\n\t\t\t{\n\t\t\t\treturn goBack(pos.y, phase, constAngleTime);\n\t\t\t}\n\n\t\t\tfloat angle = linearInterpolation(phase, 0.0, ANGLE_1, constAngleTime, ANGLE_2);\n\t\t\treturn angle;\n\t\t}\n\n\t\tvec3 getVertexPosition(float phase, vec3 pos)\n\t\t{\n\t\t\tfloat R_1 = uSlideHeight;\n\t\t\tfloat R_2 = uSlideHeight * 0.25;\n\t\t\tvec2 r = vec2(linearInterpolation(pos.y, 0.0, R_1, uSlideHeight, 0.0), linearInterpolation(pos.y, 0.0, R_2, uSlideHeight, 0.0));\n\n\t\t\tfloat angle = getRowAngleByPhase(pos, phase);\n\t\t\tvec3 v = ellipse(angle, pos, vec2(0.0, 0.0), r);\n\t\t\treturn v;\n\t\t}\n\t\tvec3 getVertexNormal(float phase, vec3 pos)\n\t\t{\n\t\t\tconst float DELTA_W = 1.0;\n\t\t\tconst float DELTA_H = 1.0;\n\n\t\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -DELTA_W : DELTA_W;\n\t\t\tfloat deltaHeight = (pos.y == uSlideHeight) ? -DELTA_H : DELTA_H;\n\n\t\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\t\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\t\tvec3 v1 = right - p;\n\t\t\tvec3 v2 = down - p;\n\n\t\t\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\n\t\t\treturn normalize(n);\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat phase = uPhase;\n\t\t\tif (phase < START_PHASE)\n\t\t\t{\n\t\t\t\tphase = 0.0;\n\t\t\t}\n\t\t\telse if (phase > END_PHASE)\n\t\t\t{\n\t\t\t\tphase = 1.0;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tphase = linearInterpolation(phase, START_PHASE, 0.0, END_PHASE, 1.0);\n\t\t\t}\n\t\t\t\n\t\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\t\t\tgl_Position = uPMVMatrix * p;\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tvec3 pNormal = getVertexNormal(phase, vertex);\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\t\t}"}W(a){this.F.uniform1f(this.Tc,
a);uw(this,this.Up,this.F.TRIANGLE_STRIP)}oe(){xw(this);this.sc=ww(this,"uSampler");this.Tc=ww(this,"uPhase");const a=ww(this,"uDirectionIsLeft"),b=ww(this,"uSlideWidth");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());this.F.uniform1i(a,this.G==my?1:0)}ge(){}wb(){this.Qc=Wx(30,30,this.slideWidth(),this.slideHeight());this.Ub=this.G==my?Zx(30,30):Yx(30,30);this.Up=new Wv;var a=pw(this,ew(this.Qc),3);this.Up.Uc=a;a=pw(this,fw(this.Qc),2);this.Up.$c=
a;a=qw(this,this.Ub);this.Up.Lc=a}nq(a){this.Er=nw(this,this.F.TEXTURE0,this.rf(),0,a,this.dA.bind(this))}fe(){mw(this,this.Up)}dA(a,b,c,d){a.translate(0,d);a.scale(1,-1);a.drawImage(b,0,0,c,d)}rf(){return this.sc}}var my=0;class Zs extends kw{};class ny extends kw{constructor(a){super(a);this.ma().hd();this.uc=!1}initialize(){}W(a){I(this.ma().slide(),a)}};class oy extends kw{constructor(a){super(a);this.ma().hd()}initialize(){W(this,!0);this.uc=!1;this.kd=document.createElement("div");Dg(this.kd,this.slideWidth());Eg(this.kd,this.slideHeight());E(this.kd,"backgroundColor","#000000");E(this.kd,"position","relative");this.P().appendChild(this.kd)}W(a){.5>a?(I(this.kd,1-2*(.5-a)),X(this,!1)):(I(this.kd,1-2*(a-.5)),X(this,!0))}};class py extends Bw{constructor(a,b){super(a);this.G=b;this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb();mat4.translate(this.na,[-this.slideWidth()/2,-this.slideHeight()/2,0]);Aw(this)}ie(){return"precision mediump float; \n\n\t\tvarying vec2 vTextureCoord; \n\t\tvarying vec3 vNormal; \n\n\t\tuniform sampler2D uSampler; \n\n\t\tvoid main(void)  \n\t\t{ \n\t\t\tvec3 n = normalize(vNormal); \n\t\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0); \n\t\t\tfloat directionalLightWeighting = dot(n, lightingDirection); \n\t\t\tfloat intentsity = 0.55 + 0.45 * directionalLightWeighting; \n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\t\tuniform mat3 uNMatrix;\n\n\t\tuniform float uPhase;\n\t\tuniform bool uDirectionIsLeft;\n\t\tuniform float uSlideHeight;\n\t\tuniform float uSlideWidth;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tconst float DELAY_ANGLE = 5.0;\n\t\tconst float SLIDE_WIDTH_KOEF = 0.2;\n\t\tconst float PI = 3.14159265358979323846264;\n\t\tconst vec2 CENTER = vec2(0.0, 0.0);\n\t\tconst float DELTA_W = 0.5;\n\t\tconst float DELTA_H = 0.5;\n\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t\t{\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t\t}\n\n\t\tvec2 ellipse(float angle, vec2 center, vec2 radius)\n\t\t{\n\t\t\tfloat ang = radians(angle);\n\t\t\treturn vec2((center.x + radius.x * cos(ang)), -(center.y + radius.y * sin(ang)));\n\t\t}\n\n\t\tfloat accelerationFunc(float progress)\n\t\t{\n\t\t\tfloat a = 3.0;\n\t\t\tfloat b = 1.0;\n\t\t\tfloat c = 1.0;\n\t\t\tfloat d = 1.0;\n\n\t\t\tfloat squaredProgress = progress * progress;\n\t\t\treturn a * squaredProgress * progress + b * squaredProgress + c * progress + d;\n\t\t}\n\n\t\tfloat getRowAngleByPhase(vec3 vertex)\n\t\t{\n\t\t\tfloat endAngle = atan(uSlideHeight * 0.5 / max(uSlideWidth, uSlideHeight)) * 180.0 / PI + 90.0 + DELAY_ANGLE * 4.0;\n\n\t\t\tfloat a = -0.6;\n\t\t\tfloat b = 2.0 + a;\n\n\t\t\tfloat phase = linearInterpolation(uPhase, 0.0, a, 1.0, b);\n\t\t\tphase = accelerationFunc(phase);\n\n\t\t\tfloat angle = linearInterpolation(phase, accelerationFunc(a), 0.0, accelerationFunc(b), endAngle);\n\t\t\tfloat rowDelayAngle = linearInterpolation(vertex.y, 0.0, DELAY_ANGLE, uSlideHeight, 0.0);\n\t\t\tfloat extraAngle = linearInterpolation(uPhase, 0.5, 0.0, 0.8, DELAY_ANGLE);\n\t\t\tfloat maxDelayAngle = DELAY_ANGLE + max(0.0, min(DELAY_ANGLE, extraAngle));\n\t\t\tfloat colAngle = uDirectionIsLeft\n\t\t\t\t? linearInterpolation(vertex.x, 0.0, maxDelayAngle * 0.5, uSlideWidth, maxDelayAngle)\n\t\t\t\t: linearInterpolation(vertex.x, 0.0, maxDelayAngle, uSlideWidth, maxDelayAngle * 0.5);\n\n\t\t\tfloat colDelayAngle = uDirectionIsLeft\n\t\t\t\t? linearInterpolation(vertex.x, 0.0, 0.0, uSlideWidth, colAngle)\n\t\t\t\t: linearInterpolation(vertex.x, 0.0, colAngle, uSlideWidth, 0.0);\n\n\n\t\t\treturn max(0.0, angle - rowDelayAngle - colDelayAngle);\n\t\t}\n\n\t\tvec3 getVertexPosition(vec3 vertex)\n\t\t{\n\t\t\tfloat maxXRadius = uSlideHeight;\n\t\t\tfloat maxYRadius = sqrt(uSlideWidth * SLIDE_WIDTH_KOEF * uSlideWidth * SLIDE_WIDTH_KOEF + uSlideHeight * uSlideHeight);\n\n\t\t\tfloat xRadius = linearInterpolation(vertex.y, 0.0, maxXRadius, uSlideHeight, 0.0);\n\t\t\tfloat yRadius = linearInterpolation(vertex.y, 0.0, maxYRadius, uSlideHeight, 0.0);\n\n\t\t\treturn vec3(vertex.x, ellipse(getRowAngleByPhase(vertex), CENTER, vec2(xRadius, yRadius)));\n\t\t}\n\n\t\tvec3 getVertexNormal(vec3 pos, vec3 p)\n\t\t{\n\t\t\tbool rightSideXPos = pos.x == uSlideWidth;\n\t\t\tfloat deltaWidth = rightSideXPos ? -DELTA_W : DELTA_W;\n\n\t\t\tvec3 right = getVertexPosition(vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\t\tvec3 down = getVertexPosition(vec3(pos.x, pos.y + DELTA_H, pos.z));\n\n\t\t\tvec3 v1 = right - p;\n\t\t\tvec3 v2 = down - p;\n\n\t\t\tvec3 n = rightSideXPos ? cross(v1, v2) : cross(v2, v1);\n\t\t\tn = normalize(n);\n\n\t\t\treturn n;\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\t\tvec4 p = vec4(getVertexPosition(vertex), 1.0);\n\t\t\tgl_Position = uPMVMatrix * p;\n\n\t\t\tvec3 pNormal = getVertexNormal(vertex, vec3(p.xyz));\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\t\t}"}W(a){this.F.uniform1f(this.Tc,
a);uw(this,this.Rc,this.F.TRIANGLE_STRIP)}oe(){xw(this);this.sc=ww(this,"uSampler");this.Tc=ww(this,"uPhase");const a=ww(this,"uDirectionIsLeft"),b=ww(this,"uSlideWidth");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());this.F.uniform1i(a,this.G==qy?1:0)}ge(){}fe(){mw(this,this.Rc)}wb(){var a=this.slideWidth();const b=this.slideHeight();this.Qc=Wx(15,15,a,b);this.Ub=Yx(15,15);this.Rc=new Wv;a=pw(this,ew(this.Qc),3);this.Rc.Uc=a;a=pw(this,fw(this.Qc),
2);this.Rc.$c=a;a=qw(this,this.Ub);this.Rc.Lc=a}rf(){return this.sc}}var qy=0;class ry extends kw{constructor(a,b){super(a);this.GF=30;this.FF=80;this.gO=10;this.eO=30;this.dO=1.75;this.cO=.5;this.fO=.1;this.G=b;this.fa(!1,!1,!0,!0,!0,!0)}initialize(){W(this,!1);X(this,!1);const a=this.slideWidth(),b=this.slideHeight();var c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.fv,0,0);this.sl=c;c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.lv,0,0);this.vl=c;this.ic=this.Na(a,b);this.P().appendChild(this.ic);
var d=Y(a,b);c=Y(a,b);this.xw=this.Na(a,b);this.Id=this.Na(a,b);this.Hd=this.Na(a,b);this.Id.appendChild(d);this.Hd.appendChild(c);this.ic.appendChild(this.xw);this.xw.appendChild(this.Id);this.xw.appendChild(this.Hd);d=d.getContext("2d");c=c.getContext("2d");d.drawImage(this.Aj,0,0);c.drawImage(this.Uh,0,0);kh(this.ic,Math.max(a,b)+"px");lh(this.ic,a/2+"px "+b/2+"px");jh(this.xw,"preserve-3d")}W(a){const b=this.slideWidth(),c=this.slideHeight();I(this.vl,1-a);I(this.sl,a);a=Uv(0,1,a);const d=this.G==
sy?1:-1,e=d*this.cO*b*(1-a),f=-this.dO*c*(1-a),h=-Math.max(b,c)*(1-a),g=-this.FF*(1-a),k=-d*this.GF*(1-a),l=d*this.eO*(1-a);J(this.Id,"translateZ("+Math.max(b,c)*a+"px) translateY("+c*a+"px) translateX("+-d*this.fO*b*a+"px) rotateX("+this.FF*a+"deg) rotateY("+d*this.GF*a+"deg) rotateZ("+-d*this.gO*a+"deg)");J(this.Hd,"translateZ("+h+"px) translateY("+f+"px) translateX("+e+"px) rotateX("+g+"deg) rotateY("+k+"deg) rotateZ("+l+"deg)")}Na(a,b){const c=w("DIV");Dg(c,a);Eg(c,b);E(c,"position","absolute");
return c}}var sy=1;function ty(a,b,c,d){b=b.getContext("2d");const e=a.slideWidth();a=a.slideHeight();b.drawImage(c,0,0,e,a);b.save();b.globalCompositeOperation="lighter";b.fillStyle="rgba(255, 255, 255,"+Rn(d)+")";b.rect(0,0,e,a);b.fill();b.restore()}
class uy extends kw{constructor(a){super(a);this.uc=!1;this.fa(!0,!0)}initialize(){this.tw=!1;W(this,!1);X(this,!1);const a=this.slideWidth(),b=this.slideHeight(),c=this.qa,d=this.V;E(c,"position","absolute");E(d,"position","absolute");var e=this.P(),f=this.M()?d:c;e.appendChild(f);e=this.P();f=this.M()?c:d;e.appendChild(f);this.Lq=Y(a,b);e=this.Lq.getContext("2d");this.vI=Y(a,b);this.vI.getContext("2d").drawImage(c,0,0);e.drawImage(d,0,0)}W(a){const b=this.qa,c=this.V;.2>a?(!this.tw&&this.M()&&(this.tw=
!0,Bd(b)),ty(this,c,this.Lq,a/.2)):(this.tw||this.M()||(this.tw=!0,Bd(c)),ty(this,b,this.vI,(1-a)/.8))}};class vy extends kw{constructor(a,b,c){super(a);this.Xa=c;this.M()?this.ma().hd():this.Pa().hd();this.fa(!0,!0);this.G=b}initialize(){W(this,!1);X(this,!1);this.Qh()}W(a){a=Uv(0,1,a);let b;if(this.Xa){var c=-this.slideWidth()/2;.5>a?(b=S(0,0,.5,-90),this.Sp=b(a),b=S(0,0,.5,-45),this.Zk=b(a),b=S(0,0,.5,40),a=this.G==wy?"translateX("+-c+"px) translateZ("+this.Sp+"px) rotateY("+this.Zk+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.Sp+"px) rotateY("+-this.Zk+"deg) rotateX("+
b(a)+"deg) translateX("+-c+"px)"):.85>a?(b=S(.5,-90,.85,0),this.Sp=b(a),b=S(.5,-45,.85,0),this.Zk=b(a),b=S(.5,40,.85,90),a=this.G==wy?"translateX("+-c+"px) translateZ("+this.Sp+"px) rotateY("+this.Zk+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)":"translateX("+c+"px) translateZ("+this.Sp+"px) rotateY("+-this.Zk+"deg) rotateX("+b(a)+"deg) translateX("+-c+"px)"):(this.M()&&(this.Zk=0),b=S(.85,90,1,180),a="translateX("+-c+"px) rotateY("+this.Zk+"deg) rotateX("+b(a)+"deg) translateX("+c+"px)");J(this.Tb,
a)}else.5>a?(b=S(0,1,.5,0),a="scaleY("+b(a)+")",I(this.gb,1),I(this.fb,0),J(this.gb,a)):(b=S(.5,0,1,1),a="scaleY("+b(a)+")",I(this.fb,1),I(this.gb,0),J(this.fb,a))}Qh(){this.gb=this.V;this.fb=this.qa;const a=vd("DIV");this.Tb=vd("DIV");const b=this.slideWidth(),c=this.slideHeight();try{kh(a,b+"px"),lh(a,b/2+"px "+c/2+"px"),jh(this.Tb,"preserve-3d"),this.Tb.appendChild(this.gb),this.Tb.appendChild(this.fb),a.appendChild(this.Tb),this.P().appendChild(a)}catch(d){this.P().appendChild(this.gb),this.P().appendChild(this.fb)}E(this.gb,
"position","absolute");E(this.fb,"position","absolute");Cg(this.Tb,b,c);Cg(this.gb,b,c);Cg(this.fb,b,c);this.Xa&&(J(this.gb,"translateZ(10px)"),J(this.fb,"rotateX(180deg)"))}}var wy=1;class xy extends kw{constructor(a,b,c){super(a);this.Xa=c;this.M()?this.ma().hd():this.Pa().hd();this.fa(!0,!0);this.li=b==wy}initialize(){W(this,!1);X(this,!1);this.gb=this.V;this.fb=this.qa;const a=vd("DIV");this.Tb=vd("DIV");const b=this.slideWidth(),c=this.slideHeight();try{kh(a,Math.max(b,c)+"px"),lh(a,b/2+"px "+c/2+"px"),jh(this.Tb,"preserve-3d"),mh(this.Tb,"hidden"),this.li?(this.Tb.appendChild(this.gb),this.Tb.appendChild(this.fb)):(this.Tb.appendChild(this.fb),this.Tb.appendChild(this.gb)),
a.appendChild(this.Tb),this.P().appendChild(a)}catch(d){this.li?(this.Tb.appendChild(this.gb),this.Tb.appendChild(this.fb)):(this.Tb.appendChild(this.fb),this.Tb.appendChild(this.gb))}E(this.gb,"position","absolute");E(this.fb,"position","absolute");Cg(this.Tb,b,c);Cg(this.gb,b,c);Cg(this.fb,b,c);this.Xa&&(this.li?J(this.gb,"rotateY(180deg)"):J(this.fb,"rotateY(180deg)"))}W(a){this.Xa?this.ZB(a):this.aA(a)}ZB(a){a=this.li?1-a:a;const b=.25*(1-Math.cos(2*a*Math.PI));a=Sv(.63,.43)(a);const c=Math.max(this.slideWidth(),
this.slideHeight());J(this.Tb,"rotateY("+-180*a+"deg)translateZ("+b*c*-.3+"px)")}aA(a){a=Sv(.63,.43)(a);if(.5>a){var b=S(0,1,.5,0);a="scaleX("+b(a)+")";I(this.gb,1);I(this.fb,0);J(this.gb,a)}else b=S(.5,0,1,1),a="scaleX("+b(a)+")",I(this.fb,1),I(this.gb,0),J(this.fb,a)}};function yy(a,b,c){b=a.PN.oa[a.indices[b]].clone().position();b=b.add(a.PN.oa[a.indices[c]].position().clone());a.vx=new U(b.x()/2,b.y()/2,b.z()/2)}
class zy extends Bw{constructor(a){super(a);this.fa(!1,!0)}rf(){return this.sc}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.F.disable(this.F.DEPTH_TEST);var a=[new T(.1806930693069307,0),new T(.3725247524752475,0),new T(.4603960396039604,0),new T(.6856435643564357,0),new T(.7673267326732673,0),new T(.8849009900990099,0),new T(.9987623762376238,.02103960396039604),new T(0,.027227722772277228),new T(0,.15841584158415842),new T(.47,.16955445544554457),new T(.4876237623762376,.16955445544554457),
new T(.5284653465346535,.17202970297029702),new T(.41707920792079206,.1745049504950495),new T(1,.18316831683168316),new T(0,.19554455445544555),new T(.6076732673267327,.2042079207920792),new T(.32,.21658415841584158),new T(.6485148514851485,.2202970297029703),new T(.7141089108910891,.22153465346534654),new T(0,.2623762376237624),new T(.275990099009901,.2908415841584158),new T(.2524752475247525,.33292079207920794),new T(.22153465346534654,.38242574257425743),new T(.8081683168316832,.41336633663366334),
new T(0,.44183168316831684),new T(.18935643564356436,.46410891089108913),new T(.4752475247524752,.47029702970297027),new T(.4665841584158416,.4715346534653465),new T(.4938118811881188,.4814356435643564),new T(.5024752475247525,.48267326732673266),new T(.5099009900990099,.4863861386138614),new T(.5123762376237624,.49133663366336633),new T(.801980198019802,.4938118811881188),new T(.5148514851485149,.49876237623762376),new T(.47896039603960394,.5),new T(.47,.5),new T(.5,.5),new T(.5148514851485149,.5012376237623762),
new T(.4801980198019802,.5061881188118812),new T(.5136138613861386,.5099009900990099),new T(.48267326732673266,.5123762376237624),new T(.5099009900990099,.5136138613861386),new T(.48514851485148514,.5148514851485149),new T(.504950495049505,.5160891089108911),new T(.48886138613861385,.5185643564356436),new T(.4938118811881188,.5185643564356436),new T(.4975247524752475,.5185643564356436),new T(.5334158415841584,.5334158415841584),new T(1,.5346534653465347),new T(.4962871287128713,.5371287128712872),
new T(.47648514851485146,.5396039603960396),new T(.18811881188118812,.568069306930693),new T(0,.6485148514851485),new T(.2537128712871287,.6534653465346535),new T(.7982673267326733,.6670792079207921),new T(.28589108910891087,.7066831683168316),new T(.775,.7351485148514851),new T(1,.7784653465346535),new T(.3341584158415842,.7945544554455446),new T(.7066831683168316,.8032178217821783),new T(0,.8106435643564357),new T(.38985148514851486,.8477722772277227),new T(.47,.8564356435643564),new T(.6150990099009901,
.8601485148514851),new T(1,.943069306930693),new T(0,.9826732673267327),new T(.21905940594059406,1),new T(.34034653465346537,1),new T(.4752475247524752,1),new T(.6596534653465347,1),new T(.8403465346534653,1),new T(0,0),new T(1,0),new T(1,1),new T(0,1)],b=new hw,c=new U(0,0,1);for(var d=0;d<a.length;d++){var e=a[d],f=new U((e.x()-.5)*this.slideWidth(),(e.y()-.5)*this.slideHeight(),0);e=new T(e.x(),e.y());cw(b,new bw(f,e,c))}c=this.slideHeight();d=this.slideWidth();a=[];a.push(new Z(b,[7,71,16,0],
new U(0,0,50),c));a.push(new Z(b,[16,0,12,1],new U(0,0,20),1.5*c,.05*d));a.push(new Z(b,[27,20,26,16],new U(0,0,5),1.6*c,.03*d));a.push(new Z(b,[21,8,16,7,-1,27,22,20,-1,22,19,21,14],new U(0,0,5),1.6*c));a.push(new Z(b,[21,14,8],new U(0,0,5),2*c));a.push(new Z(b,[27,25,22],new U(0,0,0),1.8*c));a.push(new Z(b,[24,25,19,22],new U(0,0,5),1.65*c));a.push(new Z(b,[35,25,27],new U(0,120,0),2*c));a.push(new Z(b,[52,51,24,25],new U(0,0,0),1.8*c));a.push(new Z(b,[51,38,25,34],new U(0,75,10),1.85*c,-.05*d));
yy(a[a.length-1],0,2);a.push(new Z(b,[65,60,55,53],new U(0,0,0),1.8*c));a.push(new Z(b,[67,66,61,58,50],new U(0,0,0),8*c,-.2*d,d));a.push(new Z(b,[55,53,42,40],new U(0,180,0),1.8*c,-.05*d));yy(a[a.length-1],0,1);a.push(new Z(b,[74,66,65,58,55],new U(0,0,0),1.8*c,.02*d));a.push(new Z(b,[58,55,44,42],new U(0,270,90),1.8*c,-.05*d));yy(a[a.length-1],0,1);a.push(new Z(b,[60,52,53,51,40,38],new U(30,60,0),2.5*c));a.push(new Z(b,[61,50,45,44],new U(75,180,90),c,.05*d));a.push(new Z(b,[49,61,46,45],new U(75,
180,90),c,-.05*d));a.push(new Z(b,[49,62,61],new U(-360,0,0),c,-.01*d));yy(a[a.length-1],1,2);a.push(new Z(b,[68,67,62,61],new U(0,0,0),c));a.push(new Z(b,[69,68,63,62],new U(0,0,0),c));a.push(new Z(b,[63,62,43,46],new U(-270,0,0),c,.01*d));yy(a[a.length-1],0,1);a.push(new Z(b,[70,69,59,63],new U(0,0,0),c));a.push(new Z(b,[59,63,41,43],new U(-360,0,0),c,-.05*d));yy(a[a.length-1],0,1);a.push(new Z(b,[73,70,64,59,56],new U(0,0,0),c,.05*d));a.push(new Z(b,[59,56,41],new U(-360,0,0),c,.05*d));yy(a[a.length-
1],0,1);a.push(new Z(b,[57,64,54,56,47],new U(-270,0,0),c));a.push(new Z(b,[54,47,39,41],new U(0,0,0),c,0,0,1080,b.oa[54].position().clone().gf(b.oa[39].position())));a.push(new Z(b,[57,48,54,32,39,23,37],new U(0,0,0),1.5*c));a.push(new Z(b,[37,33,23,13,32,48],new U(0,0,0),c));a.push(new Z(b,[13,72,33,31],new U(0,0,0),1.5*c));a.push(new Z(b,[5,4,30,29],new U(0,0,5),1.2*c));a.push(new Z(b,[5,18,72,6],new U(0,0,0),c,-.07*d));a.push(new Z(b,[4,3,17,15],new U(0,0,-45),1.8*c));a.push(new Z(b,[2,9,3,10,
3,11,3,15],new U(0,0,0),2.2*c));a.push(new Z(b,[17,29,11],new U(0,0,30),2*c));a.push(new Z(b,[11,29,10],new U(70,0,0),c,0,0,120,b.oa[29].position().clone().gf(b.oa[10].position())));yy(a[a.length-1],0,2);a.push(new Z(b,[10,29,9],new U(120,720,15),-.01*c,.15*d,0,1080,b.oa[10].position().clone().gf(b.oa[29].position())));a.push(new Z(b,[6,18,31,30],new U(0,0,0),c,-.05*d,0,1080,b.oa[6].position().clone().gf(b.oa[30].position())));a.push(new Z(b,[26,16,28,12],new U(40,30,0),.7*c,0,-.25*d));a.push(new Z(b,
[2,29,1,28],new U(-80,60,0),.7*c,.05*d,-.5*d));a.push(new Z(b,[36,26,28],new U(270,0,720),0,.2*d,-1*d));a.push(new Z(b,[35,27,36,26],new U(0,180,720),0,-.15*d,-1*d));a.push(new Z(b,[38,34,36],new U(180,180,0),0,-.1*d,-.8*d));a.push(new Z(b,[40,38,36],new U(180,180,180),0,.1*d,-1*d));a.push(new Z(b,[42,40,36],new U(720,270,0),0,.05*d,-.6*d));a.push(new Z(b,[44,42,36],new U(90,120,0),0,0,-1*d));a.push(new Z(b,[45,44,36],new U(360,0,0),0,.07*d,-.8*d));a.push(new Z(b,[46,45,36],new U(0,60,180),0,.1*d,
-.8*d));a.push(new Z(b,[43,46,36],new U(80,120,45),0,.2*d,-.5*d));a.push(new Z(b,[41,43,36],new U(90,360,60),0,.17*d,-.5*d));a.push(new Z(b,[39,41,36],new U(0,120,120),0,.15*d,-.5*d));a.push(new Z(b,[39,37,36],new U(90,90,90),0,.2*d,-1*d));a.push(new Z(b,[37,33,36],new U(0,120,90),0,.18*d,-1*d));a.push(new Z(b,[33,31,36],new U(45,45,0),0,.1*d,-1*d));a.push(new Z(b,[31,30,36],new U(270,0,45),0,.15*d,-1*d));a.push(new Z(b,[30,29,36],new U(90,360,60),0,0,-.8*d));a.push(new Z(b,[29,28,36],new U(0,120,
120),0,0,-.8*d));c=[];d=[];f=[];e=[];const h=[],g=[],k=[];let l=0;for(let p=0;p<a.length;p++){const r=a[p];for(let t=0;t<r.indices.length;t++){var m=r.indices[t];-1!=m?(m=b.oa[m],c.push(m.position().x(),-1*m.position().y(),-1*m.position().z()),d.push(m.Pr.x(),m.Pr.y()),f.push(r.vx.x(),-1*r.vx.y(),-1*r.vx.z()),e.push(r.rotation.x(),-1*r.rotation.y(),-1*r.rotation.z()),h.push(r.dx,r.acceleration,-1*r.zM),m=r.eV,g.push(r.FM,m.x(),-1*m.y(),-1*m.z()),k.push(l),l++):(k.push(l-1),k.push(l))}k.push(l-1);
k.push(l)}k.pop();k.pop();this.FP=k.length;this.nG=pw(this,c,3);this.jL=pw(this,d,2);this.vK=pw(this,f,3);this.yK=pw(this,e,3);this.AL=pw(this,h,3);this.XG=pw(this,g,4);this.tH=qw(this,k);b=this.F;b.bindBuffer(b.ARRAY_BUFFER,this.nG);b.vertexAttribPointer(this.YC,3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.jL);b.vertexAttribPointer(this.FC,2,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.vK);b.vertexAttribPointer(this.uK,3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.yK);b.vertexAttribPointer(this.xK,
3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.AL);b.vertexAttribPointer(this.zL,3,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.XG);b.vertexAttribPointer(this.WG,4,b.FLOAT,!1,0,0);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,this.tH)}fe(){this.F.deleteBuffer(this.nG);this.F.deleteBuffer(this.jL);this.F.deleteBuffer(this.vK);this.F.deleteBuffer(this.yK);this.F.deleteBuffer(this.AL);this.F.deleteBuffer(this.XG);this.F.deleteBuffer(this.tH)}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying float vLightIntentsity;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\n\t\t\tgl_FragColor = vec4(textureColor.rgb * vLightIntentsity, textureColor.a);\n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\t\tattribute vec3 aRotationCenter;\n\t\tattribute vec3 aRotationParams;\n\t\tattribute vec3 aTranslationParams;\n\t\tattribute vec4 aFreeRotation;\n\n\t\tuniform mat4 uPMVMatrix; \n\t\tuniform mat3 uNMatrix;\n\t\tuniform float uPhase;\n\t\tuniform float uSlideHeight;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying float vLightIntentsity;\n\n\t\tfloat sqr(float v)\n\t\t{\n\t\t\treturn v * v;\n\t\t}\n\n\t\tmat4 prependTranslation(mat4 m, float x, float y, float z)\n\t\t{\n\t\t\tmat4 t = mat4(1.0);\n\t\t\tt[3] = vec4(x, y, z, 1.0);\n\t\t\treturn m * t;\n\t\t}\n\n\t\tmat4 prependRotation(mat4 m, float angle, vec3 axis)\n\t\t{\n\t\t\tmat4 t = mat4(1.0);\n\t\t\tvec3 u = normalize(axis);\n\t\t\tfloat rad = radians(angle);\n\t\t\tfloat sin = sin(rad);\n\t\t\tfloat cos = cos(rad);\n\t\t\tt[0] = vec4(cos + sqr(u.x) * (1.0 - cos), u.y * u.x * (1.0 - cos) + u.z * sin, u.z * u.x * (1.0 - cos) - u.y * sin, 0.0);\n\t\t\tt[1] = vec4(u.x * u.y * (1.0 - cos) - u.z * sin, cos + sqr(u.y) * (1.0 - cos), u.z * u.y * (1.0 - cos) + u.x * sin, 0.0);\n\t\t\tt[2] = vec4(u.x * u.z * (1.0 - cos) + u.y * sin, u.y * u.z * (1.0 - cos) - u.x * sin, cos + sqr(u.z) * (1.0 - cos), 0.0);\n\t\t\treturn m * t;\n\t\t}\n\n\t\tmat4 prependRotation(mat4 m, float angle, vec3 axis, vec3 pivotPoint)\n\t\t{\n\t\t\tmat4 t = mat4(1.0);\n\t\t\tt = prependTranslation(t, pivotPoint.x, pivotPoint.y, pivotPoint.z);\n\t\t\tt = prependRotation(t, angle, axis);\n\t\t\tt = prependTranslation(t, -1.0 * pivotPoint.x, -1.0 * pivotPoint.y, -1.0 * pivotPoint.z);\n\t\t\treturn m * t;\n\t\t}\n\n\t\tvoid main(void) \n\t\t{\n\t\t\tconst float delay =  0.15;\n\t\t\tfloat phase = clamp(uPhase - delay, 0.0, 1.0);\n\n\t\t\tfloat vy = uSlideHeight / (1.0 - delay);\n\t\t\tfloat dy = vy * phase + (aTranslationParams.y * sqr(phase)) / 2.0;\n\t\t\tvec3 d = mix(vec3(0.0), aTranslationParams, phase);\n\t\t\tvec3 r = mix(vec3(0.0), aRotationParams, phase);\n\t\t\tfloat r2 = mix(0.0, aFreeRotation.x, phase);\n\t\t\tvec3 v2 = normalize(aFreeRotation.yzw);\n\n\t\t\tmat4 transform = prependTranslation(mat4(1.0), d.x, -1.0 * dy, d.z);\n\t\t\ttransform = prependRotation(transform, r.x, vec3(1.0, 0.0, 0.0), aRotationCenter);\n\t\t\ttransform = prependRotation(transform, r.y, vec3(0.0, 1.0, 0.0), aRotationCenter);\n\t\t\ttransform = prependRotation(transform, r.z, vec3(0.0, 0.0, 1.0), aRotationCenter);\n\t\t\ttransform = prependRotation(transform, r2, v2, aRotationCenter);\n\n\t\t\tvec4 n = transform * vec4(vec3(0.0, 0.0, 1.0), 0.0);\n\t\t\tvec4 p = transform * vec4(aVertexPosition, 1.0);\n\n\t\t\tgl_Position = uPMVMatrix * p;\n\t\t\tvTextureCoord = aTextureCoord;\n\t\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0);\n\t\t\tvec3 transformedNormal = normalize(uNMatrix * n.xyz); \n\t\t\tfloat directionalLightWeighting = abs(dot(transformedNormal, lightingDirection)); \n\t\t\tvLightIntentsity = 0.5 + 0.5 * directionalLightWeighting;\n\t\t}"}oe(){xw(this);
this.uK=vw(this,"aRotationCenter");this.xK=vw(this,"aRotationParams");this.zL=vw(this,"aTranslationParams");this.WG=vw(this,"aFreeRotation");this.sc=ww(this,"uSampler");this.Tc=ww(this,"uPhase");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight())}ge(){yw(this,this.uK);yw(this,this.xK);yw(this,this.zL);yw(this,this.WG)}W(a){this.F.uniform1f(this.Tc,a);Aw(this);this.F.drawElements(this.F.TRIANGLE_STRIP,this.FP,this.F.UNSIGNED_SHORT,0)}}
class Z{constructor(a,b,c,d,e,f,h,g){this.dx=this.zM=this.FM=0;this.rotation=c;this.acceleration=d;void 0!==e&&(this.dx=e);void 0!==f&&(this.zM=f);void 0!==h&&(this.FM=h);this.eV=void 0!==g?g:new U(0,0,1);this.indices=b;this.PN=a;f=e=d=c=0;for(h=0;h<b.length;h++)g=b[h],-1!=g&&(f+=1,g=a.oa[g],c+=g.position().x(),d+=g.position().y(),e+=g.position().z());this.vx=new U(c/f,d/f,e/f)}};function Ay(a,b,c){b=b.getContext("2d");b.save();b.translate(0,a.slideHeight()/4);b.scale(1,-1);b.drawImage(c,0,.75*a.slideHeight(),a.slideWidth(),a.slideHeight()/4,0,0,a.slideWidth(),a.slideHeight()/4);b.restore();b.globalCompositeOperation="destination-out";c=b.createLinearGradient(a.slideWidth()/4,0,a.slideWidth()/4,a.slideHeight()/4);c.addColorStop(0,"rgba(0, 255, 0, 0)");c.addColorStop(.8,"rgba(0, 255, 0, 1)");b.fillStyle=c;b.beginPath();b.rect(0,0,a.slideWidth(),a.slideHeight()/4);b.fill()}
class By extends kw{constructor(a,b,c){super(a);this.HF=70;this.AF=-100;this.DF=this.CF=20;this.Cm=.3;this.Cp=7.5;this.zn=this.Nu=!1;this.G=b;this.Ha=c;this.ji=!c;this.Ha?this.fa(!1,!1,!0,!0,!0,!0):this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);var a=this.slideWidth(),b=this.slideHeight();if(this.Ha){var c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.fv,0,0);this.sl=c;c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.lv,
0,0);this.vl=c}this.ic=this.Na(a,b);this.P().appendChild(this.ic);var d=Y(a,b),e=Y(a,b);c=Y(a,b/4);const f=Y(a,b/4);this.Ya=w("DIV");Dg(this.Ya,a);Eg(this.Ya,b);this.ud=this.Na(a,b);this.sd=this.Na(a,b);this.ji&&(this.Cn=this.Na(a,b/4),this.An=this.Na(a,b/4));this.ud.appendChild(d);this.sd.appendChild(e);this.ji&&(this.Cn.appendChild(c),this.An.appendChild(f));this.ic.appendChild(this.Ya);this.Ya.appendChild(this.ud);this.Ya.appendChild(this.sd);this.ji&&(this.Ya.appendChild(this.Cn),this.Ya.appendChild(this.An));
d=d.getContext("2d");e=e.getContext("2d");d.drawImage(this.Ha?this.Aj:this.V,0,0);e.drawImage(this.Ha?this.Uh:this.qa,0,0);this.ji&&(Ay(this,c,this.V),Ay(this,f,this.qa));kh(this.ic,Math.max(a,b)+"px");lh(this.ic,a/2+"px "+b/2+"px");jh(this.Ya,"preserve-3d");a=this.M()?1:-1;b=this.slideWidth()+this.HF;this.G==Cy?(ih(this.Ya,100+this.CF+"% 50%"),J(this.M()?this.ud:this.sd,"translateX("+-a*b+"px)"),this.ji&&J(this.M()?this.Cn:this.An,"translate("+-a*b+"px, "+(this.slideHeight()+this.Cp)+"px)")):(ih(this.Ya,
-this.CF+"% 50%"),J(this.M()?this.ud:this.sd,"translateX("+a*b+"px)"),this.ji&&J(this.M()?this.Cn:this.An,"translate("+a*b+"px, "+(this.slideHeight()+this.Cp)+"px)"));J(this.M()?this.sd:this.ud,"translateX(0px)");this.ji&&J(this.M()?this.An:this.Cn,"translateY("+(this.slideHeight()+this.Cp)+"px)")}W(a){this.Ha&&(I(this.vl,1-a),I(this.sl,a));if(a){var b=!0,c=this.G==Dy?1:-1;a<=this.Cm?(b=!1,J(this.Ya,"translateZ("+this.AF*a+"px) rotateY("+c*a/this.Cm*this.DF+"deg)"),!this.Nu&&this.M()&&(this.Nu=this.zn=
!0)):a>=1-this.Cm&&(b=!1,J(this.Ya,"translateZ("+this.AF*(1-a)+"px) rotateY("+(1-a)/this.Cm*c*this.DF+"deg)"),this.Nu||this.M()||(this.Nu=this.zn=!0));if(b||this.zn)b=this.slideWidth()+this.HF,a=this.zn?this.M()?0:1:(a-this.Cm)/(1-2*this.Cm),this.zn&&(this.zn=!1),a=a*c*b,J(this.ud,"translateX("+a+"px)"),this.ji&&J(this.Cn,"translate("+a+"px, "+(this.slideHeight()+this.Cp)+"px)"),J(this.sd,"translateX("+(a-c*b)+"px)"),this.ji&&J(this.An,"translate("+(a-c*b)+"px, "+(this.slideHeight()+this.Cp)+"px)")}}Na(a,
b){const c=w("DIV");Dg(c,a);Eg(c,b);E(c,"position","absolute");return c}}var Cy=0,Dy=1;function Ey(a,b,c){b=Y(b,c);E(b,"position","absolute");a.P().appendChild(b);return b}function Fy(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";Ze&&(Gy(a,b,c,d),b.globalCompositeOperation="destination-in");b.beginPath();const h=Math.round(.5*e),g=Math.round(.5*f);e=Math.round(e);f=Math.round(f);b.moveTo(h,-1);b.lineTo(e+1,g);b.lineTo(h,f+1);b.lineTo(-1,g);b.lineTo(h,-1);b.fill();Ze||(b.globalCompositeOperation="source-in",Gy(a,b,c,d));b.restore()}
function Hy(a,b,c,d,e,f){b=b.getContext("2d");b.save();b.fillStyle="#FFFFFF";Ze&&(Gy(a,b,c,d),b.globalCompositeOperation="destination-in");const h=Math.round(.5*e)+.5;e=Math.round(e)+.5;const g=Math.round(f)+.5;b.beginPath();b.moveTo(h,-1);b.lineTo(e,Math.round(.25*f)-1);b.lineTo(e,Math.round(.75*f)+1);b.lineTo(h,g);b.lineTo(-1,Math.round(.75*f)+1);b.lineTo(-1,Math.round(.25*f)-1);b.lineTo(h,1);b.fill();Ze||(b.globalCompositeOperation="source-in",Gy(a,b,c,d));b.restore()}
function Iy(a,b,c){switch(a.G){case Jy:return b.Ga>=c?b.Ga-c:0;case Ky:return b.Ga<=c?c-b.Ga:0;case Ly:return b.Fa>=c?b.Fa-c:0}return b.Fa<=c?c-b.Fa:0}function Gy(a,b,c,d){c=Math.round(c);d=Math.round(d);b.drawImage(a,-c,-d)}
class My extends kw{constructor(a,b,c){super(a);this.My=.7;this.EF=.3;this.Y=b;this.G=c;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);if(this.M())switch(this.G){case Jy:this.G=Ky;break;case Ky:this.G=Jy;break;case Ly:this.G=Ny;break;default:this.G=Ly}const a=this.M()?this.qa:this.V,b=this.M()?this.V:this.qa;this.Y==Oy?(this.ix=16,this.hD=8):(this.ix=16,this.hD=12);this.aU=2*this.hD+1;const c=this.slideWidth()/this.ix,d=c/2,e=this.slideHeight()/this.hD,f=e/2;this.te=this.G==Ly||this.G==Ny?this.slideWidth():
this.slideHeight();this.Ql=2*this.te;this.Jh=[];let h;const g=-f;let k;for(let l=0;l<this.aU;++l){0==l%2?(h=-d,k=this.ix+1):(h=0,k=this.ix);for(let m=0;m<k;++m){const p=Ey(this,c+2,e+2),r=Ey(this,c+2,e+2),t=new Py;t.Ch(Math.round(h+m*c)-1);this.Y==Oy?(t.$e(Math.round(g+l*f)-1),Fy(a,p,t.Fa,t.Ga,c+2,e+2),Fy(b,r,t.Fa,t.Ga,c+2,e+2)):(t.$e(Math.round(g+1.5*l*f)),Hy(a,p,t.Fa,t.Ga,c+2,e+2),Hy(b,r,t.Fa,t.Ga,c+2,e+2));t.zr=p;t.Wn=r;Qy(t,!0);Ry(t,!1);t.Hc=0;t.ln=!1;t.Hr=0;this.Jh.push(t)}}}W(a){this.M()&&(a=
1-a);a*=this.My;let b,c;this.G==Ky||this.G==Ny?(c=a/this.My*(this.te+this.Ql)-this.Ql,b=c+this.Ql):(c=this.te-a/this.My*(this.te+this.Ql)+this.Ql,b=c-this.Ql);for(let e=0;e<this.Jh.length;e++){const f=this.Jh[e];var d=f.ln?f.Hc:0;d=Math.abs(Math.cos(d));if(f.Ku&&!f.GA){const h=new nl,g=f.Hc;Math.PI/2<g&&g<=Math.PI?(Qy(f,!1),Ry(f,!0),h.scale(1*d,1),Jn(f.Wn,h)):g<Math.PI/2?(Qy(f,!0),Ry(f,!1),h.scale(1*d,1),Jn(f.zr,h)):(Qy(f,!1),Ry(f,!0),h.scale(1,1),Jn(f.Wn,h))}f.ln?(f.Hc=(a-f.Hr)*Math.PI/this.EF,f.ln=
!0):0!=Iy(this,f,c)?(f.Hr=a,f.Hc=0,f.ln=!0,f.Ku=!0):(d=Iy(this,f,b),0!=d&&1<=Math.random()+d/this.Ql&&(f.Hr=a,f.Hc=0,f.ln=!0,f.Ku=!0));f.Ku&&!f.GA&&a-f.Hr>this.EF&&(f.GA=!0)}}}var Oy=0,Jy=0,Ky=1,Ly=2,Ny=3;function Qy(a,b){a.MH=b;null!=a.zr&&I(a.zr,b?1:0);b&&a.Xd()}function Ry(a,b){a.NH=b;null!=a.Wn&&I(a.Wn,b?1:0);b&&a.Xd()}
class Py{constructor(){this.GA=this.Ku=!1;this.Hr=0;this.ln=!0;this.Hc=0;this.MH=this.NH=!0;this.Fa=this.Ga=0}Ch(a){this.Fa=a;this.Xd()}$e(a){this.Ga=a;this.Xd()}Xd(){null!=this.zr&&this.MH&&vg(this.zr,this.Fa,this.Ga);null!=this.Wn&&this.NH&&vg(this.Wn,this.Fa,this.Ga)}};function Sy(a,b,c,d){for(let l=0;l<c.length;++l){var e=c[l],f=void 0;if(d>=e.Dy&&d<=e.Dy+.05){var h=(d-e.Dy)/.05;f=e.BD?1-h:h}else f=d<e.Dy?e.BD?1:0:e.BD?0:1;e=a;h=b;var g=c[l].x,k=c[l].y;g*=e.slideWidth();k*=e.slideHeight();h.fillStyle="rgba(0, 0, 255, "+f+")";h.beginPath();h.moveTo(g,k-Ty(e));h.lineTo(g+e.$v*e.slideWidth(),k-.5*Ty(e));h.lineTo(g+e.$v*e.slideWidth(),k+.5*Ty(e));h.lineTo(g,k+Ty(e));h.lineTo(g-e.$v*e.slideWidth(),k+.5*Ty(e));h.lineTo(g-e.$v*e.slideWidth(),k-.5*Ty(e));h.lineTo(g,k-
Ty(e));h.fill()}}function Uy(a,b,c,d,e){d=0==e?(a.slideWidth()+600)*d:(a.slideWidth()+300)*(1-d);e=d-300;b.clearRect(0,0,a.slideWidth(),a.slideHeight());b.drawImage(c,0,0);b.save();b.globalCompositeOperation="destination-out";c=b.createLinearGradient(e,0,d,0);c.addColorStop(0,"rgba(255, 255, 255, 1)");c.addColorStop(1,"rgba(255, 255, 255, 0)");b.fillStyle=c;b.fillRect(0,0,a.slideWidth(),a.slideHeight());b.restore()}
function Vy(a,b,c,d){const e=1/(Wy-1),f=1/(Xy-1)+.002,h=c-b,g=Math.floor(Xy/2);for(let k=0;k<Xy;++k){const l=0!=k%2?Wy:Wy-1;for(let m=0;m<l;++m){const p={};p.x=e*m;0==k%2&&(p.x+=.5*e);p.y=f*k-.01;p.BD=d;p.Dy=k==g&&m==.5*(l-1)?b:0==k||k==Xy-1||0==m&&l==Wy||m==Wy-1&&l==Wy?d?b:c:b+h*Math.random();a.push(p)}}}function Ty(a){return a.jS*a.slideHeight()}
class Yy extends kw{constructor(a){super(a);this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);this.yA();this.Qh()}Qh(){const a=this.slideWidth(),b=this.slideHeight();this.Ug=Y(a,b);this.eB=this.Ug.getContext("2d");this.pH=Y(a,b);this.qH=this.pH.getContext("2d");this.dI=Y(a,b);this.xn=this.dI.getContext("2d");this.UK=Y(a,b);this.eT=this.UK.getContext("2d");this.nv=Y(a,b);this.lB=this.nv.getContext("2d");this.nH=Y(a,b);this.oH=this.nH.getContext("2d");this.$a=Y(a,b);this.Nc=this.$a.getContext("2d");
this.TK=Y(a,b);this.dT=this.TK.getContext("2d");this.P().appendChild(this.Ug);this.P().appendChild(this.nv);E(this.Ug,"position","absolute");E(this.nv,"position","absolute")}W(a){var b=this.slideWidth();const c=this.slideHeight();this.eB.clearRect(0,0,b,c);this.lB.clearRect(0,0,b,c);this.Nc.clearRect(0,0,b,c);this.oH.clearRect(0,0,b,c);this.Nc.drawImage(this.V,0,0);this.Nc.save();this.Nc.globalCompositeOperation="destination-in";Sy(this,this.oH,this.dG,a);this.Nc.drawImage(this.nH,0,0);this.Nc.restore();
Uy(this,this.dT,this.V,a/Zy,!1);this.lB.drawImage(this.$a,0,0);this.lB.drawImage(this.TK,0,0);if(a>$y&&a<1-$y){var d=S($y,1,1-$y,4),e=S($y,0,1-$y,-30);J(this.nv,"rotate("+e(a)+"deg) scale("+d(a)+", "+d(a)+")")}a>az&&(this.xn.clearRect(0,0,b,c),this.qH.clearRect(0,0,b,c),this.xn.drawImage(this.qa,0,0),this.xn.save(),this.xn.globalCompositeOperation="destination-in",Sy(this,this.qH,this.eG,a),this.xn.drawImage(this.pH,0,0),this.xn.restore(),this.eB.drawImage(this.dI,0,0),a<bz?(d=S($y,.5,bz,1),b=d(a),
e=S(az,45,bz,0),J(this.Ug,"rotate("+e(a)+"deg) scale("+b+", "+b+")")):(Uy(this,this.eT,this.qa,(a-(1-Zy))/Zy,!0),this.eB.drawImage(this.UK,0,0),J(this.Ug,"rotate(0deg) scale(1, 1)")))}yA(){this.$v=.9/(Wy-1)/2;this.jS=1.154/(Xy-1)/2;this.dG=[];this.eG=[];Vy(this.dG,.1,.8,!0);Vy(this.eG,.15,.9,!1)}}var Wy=10,Xy=9,$y=.05,Zy=.15,az=.2,bz=.9;class cz{constructor(a,b,c,d){this.type=a;this.yN=b.type;(this.element=d.querySelector("#"+c.id))&&"13"==b.type&&(a=b.Jo,""!=(a.gm||a.vm||a.pm||a.xm||a.zm)?(this.element.style.width=b.hb.ia.width+2*b.wk+"px",this.element.style.height=b.hb.ia.height+2*b.wk+"px"):(this.element.style.width=b.ia.width+2*b.wk+"px",this.element.style.height=b.ia.height+2*b.wk+"px"),this.element.style.overflow="hidden");a=c.state;this.id=c.id;this.ia=c.ia;this.lp=b.ia;this.os=b.os;this.Pb=b.Pb||new og(0,0,0,0);this.FU=this.lp.width/
(1-this.Pb.left-this.Pb.right);this.EU=this.lp.height/(1-this.Pb.top-this.Pb.bottom);this.hf=c.hf;this.Qf=c.Qf;this.element&&(this.opacity=this.element.style.opacity,this.zIndex=this.element.style.zIndex,this.transform=Mn(this.element)||new nl);this.CX=nm(a).Ta;this.DX=om(a).Ta;this.Xs=pm(a).scale()*qm(a).scale();this.Ys=rm(a).scale()*sm(a).scale();this.rotation=lm(a).angle()+mm(a).angle();this.dx=qg(this.ia).x-qg(b.ia).x;this.dy=qg(this.ia).y-qg(b.ia).y;this.VW=b.rotation;this.Bg=b.Bg;this.Jg=b.Jg;
this.Lx="";this.element&&this.element.firstElementChild&&"13"==b.type?(this.BH=this.element.firstElementChild.style.left||"",this.CH=this.element.firstElementChild.style.top||"",this.Lx=this.element.firstElementChild.style.transform||"",this.element.firstElementChild.style.left="0",this.element.firstElementChild.style.top="0",this.element.firstElementChild.style.transform=""):this.CH=this.BH=""}clear(){this.element&&(Jn(this.element,this.transform),this.element.style.opacity=this.opacity,this.element.style.zIndex=
"",this.element.style.animation="",this.element.firstElementChild&&"13"==this.yN&&(this.element.firstElementChild.style.animation="",this.element.firstElementChild.style.left=this.BH,this.element.firstElementChild.style.top=this.CH,this.element.firstElementChild.style.transform=this.Lx))}};class dz{constructor(a){a&&(this.element=a,this.yE="",this.transform=a.style.transform||"matrix(1, 0, 0, 1, 0, 0)",this.opacity=a.style.opacity||1,this.zIndex=a.style.zIndex)}Dk(a){var b=1;this.yE=Math.round(100*a*Math.pow(10,b))/Math.pow(10,b)+"%"}};const ez=1+Math.pow(-.575,3),fz=1-Math.pow(.425,2),La=[0,.005,.01,.015,.02,.025,.03,.035,.04,.045,.05,.1,.15,.2,.25,.3,.35,.4,.45,.46,.47,.48,.49,.495,.498,.499];function gz(a,b){this.element=a;this.id=b;this.ym=[]}function hz(a,b,c,d){a&&(d?(kh(a,""),jh(a,""),mh(a,""),lh(a,"")):(kh(a,b+"px"),jh(a,"preserve-3d"),mh(a,"hidden"),lh(a,b/2+"px "+c/2+"px")))}
function iz(a,b,c){const d=a.mi[0];let e=a.BS*b+1;e*=d.Xs;let f=a.DS*b+1;f*=d.Ys;const h=Math.round(a.cU*b)+a.bU;let g=a.vS*b;g+=d.rotation;const k=a.CS*b+1,l=a.ES*b+1,m=a.gh&&a.$m?new og((a.$m.top-a.gh.top)*b+a.gh.top,(a.$m.right-a.gh.right)*b+a.gh.right,(a.$m.bottom-a.gh.bottom)*b+a.gh.bottom,(a.$m.left-a.gh.left)*b+a.gh.left):void 0,p=a.WF?1:.425>b?b*(fz-1)/.425+1:1-b*b;a.mi.forEach(t=>{var v=!0;let z=m;a.hH&&(a.aP?(z=a.gh,v=!1):z=void 0);v=jz(t,e,f,g,k,l,a.wK*b,a.XL*b,a.YL*b,p,h,z,kz(a,t,b,!1),
v);c(v,t.id)});const r=a.WF?b:.425<b?(b-.425)*(1-ez)/.575+ez:1+Math.pow(b-1,3);a.Xn.forEach((t,v)=>{v=Math.min(a.mi.length-1,v);v=a.mi[v];const z=lz(-v.dx,-v.dy,g,e,f),F=lz(-t.dx,-t.dy,g,e,f);let D=!0,G=m;a.hH&&(a.bP?(G=a.$m,D=!1):G=void 0);v=jz(t,e,f,g,v.lp.width*k/t.lp.width,v.lp.height*l/t.lp.height,a.wK*(b-1),a.XL*(b-1)+z.x-F.x,a.YL*(b-1)+z.y-F.y,r,h,G,kz(a,t,b,!0),D);c(v,t.id)})}
function mz(a,b,c){const d=new Map;iz(a,b,(e,f)=>d.set(f,e));c.forEach(e=>{const f=d.get(e.id);f.Dk(b);e.ym.push(f)})}function nz(a){let b="@keyframes "+a.id+" {\n";Ja(a.ym,d=>{b+=d.yE+" {transform: "+d.transform+";opacity:"+d.opacity+";z-index:"+d.zIndex+"}\n"});b+="}\n";let c="";a.ym[0].rs&&(c="@keyframes "+a.id+"_ {\n",Ja(a.ym,d=>{c+=d.yE+" {transform:"+d.rs+"}\n"}),c+="}\n");return b+c}
function kz(a,b,c,d){var e="13"==b.yN;if(!a.Xa||e){var f=e=1;"bg"==b.type&&(c=d?2*(c-.5):2*(.5-c),a.fq!=a.xu&&(e=c),a.Yr!=a.Rw&&(f=c));a=`scaleX(${e}) scaleY(${f})`}else e=a.fq!==a.xu,f=a.Yr!==a.Rw,"bg"!==b.type||!e&&!f?a="":f&&!e?a=`rotateX(${(a.Yr&&!a.Rw?-1:1)*c*180}deg) ${d?" scaleY(-1)":""}`:e&&!f?a=`rotateY(${(a.fq&&!a.xu?1:-1)*c*180}deg) ${d?" scaleX(-1)":""}`:a.fq!==a.Yr?(b=Uv(0,1,c),a=`rotateX(${-90*Uv(0,1,.5>c?2*b:2*(1-b))}deg) rotateZ(${180*(a.fq?1:-1)*b}deg) ${d?" scaleX(-1) scaleY(-1) ":
""}`):(b=Uv(0,1,c),a=`rotateX(${90*Uv(0,1,.5>c?2*b:2*(1-b))}deg) rotateZ(${180*(a.Rw&&a.xu?1:a.Yr?-1:1)*b}deg) ${d?" scaleX(-1) scaleY(-1) ":""}`);return a}
class oz{constructor(a,b,c,d,e,f,h,g){this.tP=b;this.uP=c;this.aR=f;this.Sb=new B;this.mi=[];if(d.hb||e.hb)f=d.hb,f||(f=Ac(e.hb),f.ia=d.ia,f.id="_morphBg"),this.mi.push(new cz("bg",d,f,b));this.Xa=!0;try{hz(b.firstElementChild,h,g),hz(c.firstElementChild,h,g)}catch(k){this.Xa=!1}Ja(d.Hg,k=>{this.mi.push(new cz("text",d,k,b))},this);this.Xn=[];if(e.hb||d.hb)h=e.hb,h||(h=Ac(d.hb),h.ia=e.ia,h.id="_morphBg"),this.Xn.push(new cz("bg",e,h,c));Ja(e.Hg,k=>{this.Xn.push(new cz("text",e,k,c))},this);h=this.mi[0];
g=this.Xn[0];this.BS=g.Xs/h.Xs-1;this.DS=g.Ys/h.Ys-1;this.vS=pz(g.rotation-h.rotation);this.CS=e.ia.width/d.ia.width-1;this.ES=e.ia.height/d.ia.height-1;this.wK=pz(e.rotation-d.rotation);this.bU=d.zIndex;this.cU=e.zIndex-d.zIndex;h=qg(d.ia);g=qg(e.ia);this.XL=g.x-h.x;this.YL=g.y-h.y;this.fq=d.Bg;this.Yr=d.Jg;this.xu=e.Bg;this.Rw=e.Jg;this.aP=d.Pb;this.bP=e.Pb;if(d.Pb||e.Pb)this.gh=d.Pb||new og(0,0,0,0),this.$m=e.Pb||new og(0,0,0,0),h=qz(e.Jo),this.hH=qz(d.Jo)||h;this.WF=d.os&&e.os;this.aR&&this.BA(a)}BA(a){const b=
[];this.mi.forEach(d=>{b.push(new gz(d.element,d.id))});this.Xn.forEach(d=>{b.push(new gz(d.element,d.id))});La.forEach(d=>{mz(this,d,b)});Ka(d=>{mz(this,1-d,b)});this.Sm=0;this.LC=b.length;let c="";b.forEach(d=>{c+=nz(d);const e=d.element;e?(e.style.animation=d.id+" "+a+"s 1 linear",e.firstElementChild&&(e.firstElementChild.style.animation=d.id+"_ "+a+"s 1 linear"),me(e,Vd,this.Wf,!1,this)):this.Wf()});this.Ng=uo(c)}update(a){this.YP!==a&&iz(this,a,rz);this.YP=a}Wf(){this.Sm++;this.Sm===this.LC&&
this.Sb.D()}clear(){this.Ng&&Bd(this.Ng);this.mi.forEach(a=>a.clear());this.Xn.forEach(a=>a.clear());this.Xa&&(hz(this.tP.firstElementChild,0,0,!0),hz(this.uP.firstElementChild,0,0,!0))}}function pz(a){a>Math.PI?a-=2*Math.PI:a<-Math.PI&&(a+=2*Math.PI);return a==Math.PI||a==-Math.PI?-a:a}
function jz(a,b,c,d,e,f,h,g,k,l,m,p,r,t){var v=new nl;v.translate(a.CX,a.DX);v.rotate(d,0,0);v.scale(b,c);(b=a.hf)&&(v=ol(v,b));(b=a.Qf)&&(v=ol(b.clone(),v));b=new nl;b.rotate(-a.VW,0,0);b.translate(a.dx,a.dy);b=ol(b,a.hf);ol(b,pl(v));c=pl(b);e="rotate("+h+"rad) "+r+(" scaleX("+e+") scaleY("+f+")");g=(new nl).setTransform(1,0,0,1,g,k);k=Ln(g)+" "+Ln(c)+" "+e+" "+Ln(b)+" "+Ln(v);g=new dz(a.element);g.transform=k;""!=a.opacity&&(l*=a.opacity);g.opacity=l;g.zIndex=m;p?(l=(1-a.Pb.right-a.Pb.left)/(1-
p.right-p.left),m=(1-a.Pb.top-a.Pb.bottom)/(1-p.top-p.bottom),g.rs=a.Lx+" translate("+-(a.Bg?p.right:p.left)*a.FU*l+"px, "+-(a.Jg?p.bottom:p.top)*a.EU*m+"px) scale("+l+", "+m+")"):t&&(g.rs=a.Lx);return g}function lz(a,b,c,d,e){const f=new Jr(a,b);f.rotate(c);f.scale(d,e);f.gf(new Jr(a,b));return f}function qz(a){return""!==(a.gm||a.vm||a.pm||a.xm||a.zm)}
function rz(a){if(a.element){var b=a.element;b.style.transform=a.transform;b.style.opacity=a.opacity;b.style.zIndex=a.zIndex;a.rs&&(b.firstElementChild.style.transform=a.rs)}};class sz{constructor(a,b){this.size=a;if(Array.isArray(b))this.rows=b;else{this.rows=[];for(let c=0;c<a.height;++c){const d=[];for(let e=0;e<a.width;++e)d.push(b(c,e));this.rows.push(d)}}}qb(){return this.rows}IM(){return this.size}}function tz(a,b,c){if(b<=a)return a=new sz(new bd(a+1,b+1),(d,e)=>0<d&&0<e?c(d-1,e-1):0),a=uz(a),vz(a,b);b=new sz(new bd(b+1,a+1),(d,e)=>0<d&&0<e?c(e-1,d-1):0);b=uz(b);wz(b);return b}
function uz(a){var b=a.IM();const c=b.height;b=b.width;a=a.qb();const d=Number.MAX_VALUE,e=Array(c).fill(0),f=Array(b).fill(0),h=Array(b).fill(0),g=Array(b).fill(0),k=Array(b).fill(d),l=Array(b).fill(!1);for(let r=1;r<c;++r){g[0]=r;var m=0;1<r&&(k.fill(d),l.fill(!1));do{l[m]=!0;const t=g[m];var p=d;let v=-1;for(let z=1;z<b;++z)if(!l[z]){const F=a[t][z]-e[t]-f[z];F<k[z]&&(k[z]=F,h[z]=m);k[z]<p&&(p=k[z],v=z)}for(m=0;m<b;++m)l[m]?(e[g[m]]+=p,f[m]-=p):k[m]-=p;m=v}while(0!==g[m]);do p=h[m],g[m]=g[p],m=
p;while(0!==m)}return g}function vz(a,b){const c=a.length;b=Array(b).fill(0);for(let d=1;d<c;++d){const e=a[d]-1;0<=e&&(b[e]=d-1)}return b}function wz(a){const b=a.length;for(let c=1;c<b;++c)a[c-1]=a[c]-1;a.pop()};function xz(a){a=parseInt(a.toString(16),16);return[a>>16&255,a>>8&255,a&255]};const yz=Number.MAX_VALUE/2;class zz{constructor(a,b){this.CQ=a;this.DQ=b;this.bG=Az(a,b);var c=a.Jo,d=b.Jo;let e;e=c.line!=d.line?1:0;e+=c.fill!=d.fill?1:0;e+=c.gm!=d.gm?1:0;e+=c.pm!=d.pm?1:0;e+=c.vm!=d.vm?1:0;e+=c.xm!=d.xm?1:0;e+=c.zm!=d.zm?2:0;a=Xc(qg(a.ia),qg(b.ia))/1E3;this.MT=this.bG?1E3*e+a:yz}getValue(){return this.MT}}
function Bz(a,b){const c=a.length,d=[0,0,0];for(let e=0;e<c;++e){const f=xz(a[e]),h=xz(b[e]);d[0]+=Math.abs(f[0]-h[0]);d[1]+=Math.abs(f[1]-h[1]);d[2]+=Math.abs(f[2]-h[2])}return Math.max(d[0],d[1],d[2])/(255*c)}
function Az(a,b){var c=a.name.startsWith("!!"),d=b.name.startsWith("!!"),e=a.name===b.name;if(c!==d||!e||a.type!==b.type||a.text!==b.text)return!1;if("6"===a.type){if(a.kk.length!==b.kk.length)return!1;for(c=0;c<a.kk.length;++c){d=a.kk[c];e=b.kk[c];if(d.type!==e.type||d.text!==e.text)return!1;if(d.Xe&&e.Xe)return.0325>Bz(d.Xe,e.Xe)}return!0}return a.Xe&&b.Xe?c&&d&&e||.0325>Bz(a.Xe,b.Xe):!0};function Cz(a,b,c){const d=tz(c.length,b.length,(k,l)=>{a:{k=b[k];l=c[l];const p=new zz(k,l);if(p.bG){var m=p;const r=!!m.getValue();m=m.CQ.rotation!==m.DQ.rotation;if(!r&&!m){a.tA.add(`${k.uid}_${l.uid}`);a.tA.add(`${l.uid}_${k.uid}`);k=1E-5;break a}}else a.Nz.add(`${k.uid}_${l.uid}`),a.Nz.add(`${l.uid}_${k.uid}`);k=p.getValue()}return k}),e=[],f=[];let h=0;const g=[];for(let k=0;k<d.length;k++){const l=b[k],m=d[k];if(0<=m){const p=c[m],r=`${l.uid}_${p.uid}`;if(!a.Nz.has(r)){a.tA.has(r)?(e.push(l),
f.push(p)):a.links.push([l,p]);++h;g.push(m);continue}}0<h&&(b[k-h]=l)}b.length-=h;Dz(c,g);Ez(b,a.dN,a.iB);Ez(c,a.$M,a.cB);Ez(e,a.cN,a.iB);Ez(f,a.ZM,a.cB)}
class Fz{constructor(a,b,c){this.iB=a.content();this.cB=a.content();this.Nz=new Set;this.tA=new Set;this.links=[];this.$M=[];this.dN=[];this.ZM=[];this.cN=[];a=Gz(this.cB,c);b=Gz(this.iB,b);c=new Map;const d=Hz(a,c),e=Hz(b,c);c.forEach((f,h)=>{const g=e.get(h),k=d.get(h);f.forEach(l=>{Cz(this,(null==g?void 0:g.get(l))||[],(null==k?void 0:k.get(l))||[])})})}}function Iz(a,b){let c=0;for(let d=0;d<a.length;++d)c<b.length&&d===b[c]?++c:0<c&&(a[d-c]=a[d]);a.length-=c}
function Dz(a,b){b.sort((c,d)=>c-d);Iz(a,b)}function Jz(a,b,c){(b=b.querySelector("#"+c))&&"none"!==b.style.display&&a.push(b)}function Kz(a,b,c){const d=c.hb;d&&Jz(a,b,d.id);c.Hg.forEach(e=>Jz(a,b,e.id))}function Ez(a,b,c){a.forEach(d=>Kz(b,c,d))}function Gz(a,b){return b.filter(c=>{const d=c.hb;if(d)return"none"!==a.querySelector(`#${d.id}`).style.display;c=c.Hg||[];return c.length?"none"!==a.querySelector(`#${c[0].id}`).style.display:!0})}
function Hz(a,b){const c=new Map;for(let e=0;e<a.length;++e){const f=a[e];var d=f.type;const h=f.name,g=c.get(d);let k=b.get(d);if(void 0===g){if(c.set(d,new Map([[h,[f]]])),void 0===k){b.set(d,new Set([h]));continue}}else d=g.get(h),void 0===d?g.set(h,[f]):d.push(f);k.add(h)}return c};class Lz extends kw{constructor(a){function b(h,g,k,l){if(h=g.querySelector("#"+h))h.style.zIndex=k,l.push(h)}super(a);this.ma().hd();this.uc=!1;this.Sz=[];let c=this.Pa().content();const d=this.ma().content();if(this.Bn())c.removeChild(c.firstElementChild);else{var e=c.firstElementChild.childNodes.length;for(var f=0;f<e;++f){const h=c.firstElementChild.childNodes[0];this.Sz.push(h);Ad(d.firstElementChild,h,0)}}c=this.ma().content();e=a.wl;a=a.ul;f=new Fz(this.ma(),e,a);this.gs=[];Ja(e,h=>{h.hb&&
b(h.hb.id,c,h.zIndex,this.gs);Ja(h.Hg,g=>{b(g.id,c,h.zIndex,this.gs)},this)},this);Ja(a,h=>{h.hb&&b(h.hb.id,d,h.zIndex,this.gs);Ja(h.Hg,g=>{b(g.id,d,h.zIndex,this.gs)},this)},this);this.Wr=[];Ja(f.links,h=>{h=new oz(this.lu,c,d,h[0],h[1],this.Vo(),this.slideWidth(),this.slideHeight());h.Sb.addHandler(this.Wf,this);this.Wr.push(h)},this);this.Wh=this.ma().background().firstChild;this.Bn()&&E(this.Wh,"top",0);this.Pa().background().appendChild(this.Wh);this.wl=f.dN;this.kB=f.cN;this.ul=f.$M;this.dB=
f.ZM;this.Sm=0;this.LC=this.Wr.length+this.ul.length+this.wl.length+1;this.Vo()&&this.BA()}BA(){const a=this.lu;this.Ng=uo("@keyframes newSlideBackground {0% {opacity:0} 100% {opacity:1}} @keyframes oldSlideObjects {0% {opacity:1} 50% {opacity:0} 100% {opacity:0}} @keyframes newSlideObjects {0% {opacity:0} 50% {opacity:0} 100% {opacity:1}}");this.Wh.style.animation="newSlideBackground "+a+"s 1 linear";I(this.Wh,1);me(this.Wh,Vd,this.Wf,!1,this);Ja(this.wl,b=>{b.style.animation="oldSlideObjects "+
a+"s 1 linear";I(b,0);me(b,Vd,this.Wf,!1,this)},this);Ja(this.ul,b=>{b.style.animation="newSlideObjects "+a+"s 1 linear";I(b,1);me(b,Vd,this.Wf,!1,this)},this);Ja(this.kB,b=>{I(b,0)},this);Ja(this.dB,b=>{I(b,1)},this)}initialize(){super.initialize()}Wf(){this.Sm++;this.Sm==this.LC&&this.Sb.D()}Vo(){const a=Modernizr.atRule("@keyframes");return df?!1:mf?a:!1}W(a){if(!this.Vo()){a=this.M()?1-a:a;Ja(this.Wr,d=>{d.update(a)},this);var b=1-Math.min(1,2*a),c=2*Math.max(0,a-.5);Ja(this.wl,d=>{d&&I(d,b)},
this);Ja(this.ul,d=>{d&&I(d,c)},this);Ja(this.kB,d=>{d&&I(d,0)},this);Ja(this.dB,d=>{d&&I(d,1)},this);I(this.Wh,a);1<=a&&this.Sb.D();rf&&Qn(document.body)}}Ax(){super.Ax();Ja(this.Sz,a=>{this.ma().content().firstElementChild.removeChild(a);this.Pa().content().firstElementChild.appendChild(a)},this);this.Sz=[];this.Ng&&Bd(this.Ng);ue(this.Wh,Vd,this.Wf,!1,this);this.Sm=0;Ja(this.Wr,a=>{a.clear()},this);this.Wh.style.animation="";this.Bn()&&E(this.Wh,"top","");Ja(this.wl,a=>{a.style.animation="";I(a,
1);ue(a,Vd,this.Wf,!1,this)},this);Ja(this.ul,a=>{a.style.animation="";I(a,1);ue(a,Vd,this.Wf,!1,this)},this);Ja(this.kB,a=>{I(a,1)},this);Ja(this.dB,a=>{I(a,1)},this);Ja(this.Wr,a=>{a.Sb.removeHandler(this.Wf,this)},this);Ja(this.gs,a=>{a.style.zIndex=""},this)}};class Mz extends kw{constructor(a){super(a);this.ma().hd()}initialize(){W(this,!0);X(this,!0)}W(a){const b=this.ma().slide();var c=this.slideWidth();const d=this.slideHeight(),e="scale("+a+") rotate("+-360*a+"deg)";c=c/2+"px "+d/2+"px";I(b,a);E(b,"MozTransform",e);E(b,"MozTransformOrigin",c);E(b,"webkitTransform",e);E(b,"webkitTransformOrigin",c);E(b,"OTransform",e);E(b,"OTransformOrigin",c);E(b,"msTransform",e);E(b,"msTransformOrigin",c)}};function Nz(a,b){const c=a.a*b.b-b.a*a.b;return 1E-9>Math.abs(c)?null:new T((a.b*b.c-b.b)*a.c/c,(a.c*b.a-b.c*a.a)/c)}function Oz(a,b){var c=-a.b;const d=a.a,e=-c*b.x()-d*b.y();c=Nz(a,new Pz(c,d,e));a=2*c.x()-b.x();b=2*c.y()-b.y();return new T(a,b)}class Pz{constructor(a,b,c){this.a=a;this.b=b;this.c=c}}function Qz(a,b){const c=a.y()-b.y(),d=b.x()-a.x();a=a.x()*b.y()-b.x()*a.y();return new Pz(c,d,a)};function Rz(a,b,c){const d=new Wv;var e=pw(a,ew(b),3);d.Uc=e;e=pw(a,fw(b),2);d.$c=e;c=qw(a,c);d.Lc=c;a=pw(a,gw(b),3);d.Yh=a;return d}
function Sz(a,b){var c=S(0,0,.1,.1);a.ig=Tz(c(b),a.vf);tw(a,-60*c(b),[1,0,0],[0,0,0]);c=S(0,0,.1,1);a.Bq=Tz(c(b),a.PA);a.mr=Tz(c(b),a.cC);Aw(a);uw(a,a.VH,a.F.TRIANGLES,()=>{a.F.bufferSubData(a.F.ARRAY_BUFFER,0,new Float32Array(ew(a.Bq)))},()=>{zw(a.Bq,a.OA);a.F.bufferSubData(a.F.ARRAY_BUFFER,0,new Float32Array(gw(a.Bq)))});uw(a,a.tK,a.F.TRIANGLES,()=>{a.F.bufferSubData(a.F.ARRAY_BUFFER,0,new Float32Array(ew(a.mr)))},()=>{zw(a.mr,a.bC);a.F.bufferSubData(a.F.ARRAY_BUFFER,0,new Float32Array(gw(a.mr)))})}
function Uz(a,b,c,d){void 0===d&&(d=50);const e=[new Vz([0,1],0,0,-5),new Vz([2,3,6,7],0,0,-5),new Vz([4,8,12,18],0,0,-5),new Vz([5,9,13,19],0,0,-5),new Vz([20,14,26,30,42,36],0,0,15),new Vz([15,21,37,43,31,27],0,0,15),new Vz([44,34,52,60,54],0,0,20),new Vz([35,45,55,61,53],0,0,20),new Vz([40,46,56],0,0,30),new Vz([41,47,57],20,20,30),new Vz([58,62,74],20,20,15),new Vz([75,63,59],0,0,15),new Vz([76,70,71,77],0,0,-20)];for(let p=0;p<e.length;p++){var f=e[p];const r=f.Kf();var h=b[f.Ed[0]],g=a,k=f,
l=d;f=h.current().x()+k.qO*Math.sin(g*Math.PI/2*l);var m=k.OF?S(0,h.current().y(),1,h.current().y()+k.OF)(g):h.current().y();g=h.current().z()+k.rO*Math.sin(g*Math.PI/2*l);h.Cz=new U(f,m,g);g=h;f=new U(g.current().x(),g.current().y(),g.current().z());m=new U(0,0,1);for(k=0;k<r.length;k++)l=r[k],b[l]=g,h=new bw(f,g.Kw,m),c.oa[l]=h}}
class Wz extends Bw{constructor(a,b){super(a);this.bC=[];this.cC=[];this.OA=[];this.PA=[];this.BB=[];this.vf=[];this.G=b;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);var a=this.slideWidth(),b=-this.slideHeight()/2;a=a/2-.2*a;var c=3*b/4,d=Qz(new T(-a,-b),new T(a/2,-b/2)),e=Qz(new T(-a/4,-b),new T(0,0)),f=Qz(new T(a/2,-b/2),new T(a,b)),h=Qz(new T(0,0),new T(a,b/4)),g=Nz(d,e),k=Nz(f,h);const l=new T(S(0,.5,a,.8)(k.x()),S(0,.5,b,1)(k.y())),m=new T(S(-a,.2,0,.5)(g.x()),S(-b,0,0,.5)(g.y()));
var p=new U(5*a/8,3*-b/8,-(10*c/16));const r=new U(-a/8,-b/2,15*-c/32),t=new U(a/2,b/8,15*-c/32);var v=new U(5*-a/8,5*-b/16,9*-c/8),z=new U(a/2,b/4,5*-c/6),F=new U(-a/10,b/10,-c),D=new U(4*-a/8,-b/8,3*-c/16),G=new U(-a/16,5*b/8,3*-c/16),Q=new U(5*a/16,5*b/8,-c),L=new U(14*-a/32,4*-b/8,0),M=new U(4*a/8,23*b/32,0),R=new U(5*-a/16,3*-b/16,-c/4),C=new U(3*a/16,5*b/16,0);e=new U(3*-a/4,3*b/4,0);f=new Xz(new U(a,-b,0),new U(15*a/16,9*-b/16,-c),new T(.8,0));h=new Xz(new U(7*a/8,7*-b/8,0),new U(9*a/12,-b/
2,-(46*c/48)),new T(.7625,.0625));d=new Xz(new U(a/2,-b,0),new U(6*a/9,8*-b/12,47*-c/48),new T(.65,0));c=new Xz(new U(a,-b/2,0),new U(19*a/24,4*-b/9,47*-c/48),new T(.8,.25));var ha=new Xz(new U(a/2,-b/2,0),p,new T(.65,.25));g=new Xz(new U(g.x(),g.y(),0),r,new T(m.x(),m.y()));k=new Xz(new U(k.x(),k.y(),0),t,new T(l.x(),l.y()));p=new Xz(new U(-a/4,-b,0),p,new T(.425,0));z=new Xz(new U(a,b/4,0),z,new T(.8,.625));F=new Xz(new U(0,0,0),F,new T(.5,.5));D=new Xz(new U(-a/2,-b/2,0),D,new T(.35,.25));G=new Xz(new U(a/
2,b/2,0),G,new T(.65,.75));v=new Xz(new U(-a,-b,0),v,new T(.2,0));Q=new Xz(new U(a,b,0),Q,new T(.8,1));L=new Xz(new U(-a,-b/2,0),L,new T(.2,.25));M=new Xz(new U(a/2,b,0),M,new T(.65,1));R=new Xz(new U(-a/2,0,0),R,new T(.35,.5));C=new Xz(new U(0,b/2,0),C,new T(.5,.75));b=new Xz(new U(-a,b,0),e,new T(.2,1));this.vf=[f,f,h,h,d,c,h,h,d,c,ha,ha,d,c,g,k,ha,ha,d,c,g,k,p,z,ha,ha,g,k,F,F,g,k,F,F,D,G,g,k,p,z,v,Q,g,k,D,G,v,Q,F,F,R,C,D,G,D,G,v,Q,L,M,D,G,L,M,R,C,F,F,R,C,b,b,R,C,L,M,b,b];if(this.G==Yz){b=[];a=
this.slideHeight();a=Qz(new T(0,-a/2),new T(0,a/2));for(f=0;f<this.vf.length;f++)h=this.vf[f],e=new T(h.start().x(),h.start().y()),d=new T(h.end().x(),h.end().y()),e=Oz(a,e),d=Oz(a,d),h=new Xz(new U(e.x(),e.y(),h.start().z()),new U(d.x(),d.y(),h.end().z()),new T(1-h.Kw.x(),h.Kw.y())),b.push(h);this.vf=b}this.BB=[0,2,4,1,5,3,6,10,8,7,9,11,12,16,14,17,13,15,24,28,26,25,27,29,18,20,22,19,23,21,38,36,40,37,39,41,46,42,44,43,47,45,30,32,34,33,31,35,52,48,50,49,53,51,62,60,64,65,61,63,56,54,58,55,57,59,
74,72,76,73,75,77,68,66,70,67,69,71];h=this.slideWidth();c=this.slideHeight();d=.2*h;e=h/2;b=-c/2;a=e-d;f=3*b/4;h=-Math.max(h,c)/2;v=new U(-e,-b,0);c=new U(-e+d,-b,0);k=new U(-e+d,-b/2,0);L=new U(-e,0,0);ha=new U(-e,b,0);M=new U(-e+d,b,0);p=new U(0,-b,h);C=Zz(c,new U(5*-a/8,5*-b/16,-f),.1);G=Zz(k,new U(14*-a/32,4*-b/8,0),.1);Q=new U(0,-b/2,h);R=new U(0,b,h);g=Zz(M,new U(3*-a/4,3*b/4,0),.1);v=new Xz(v,p,new T(0,0));k=new Xz(k,G,new T(.2,.25));L=new Xz(L,Q,new T(0,.5));M=new Xz(M,g,new T(.2,1));this.PA=
[v,new Xz(c,C,new T(.2,0)),k,v,k,L,k,L,M,L,new Xz(ha,R,new T(0,1)),M];this.OA=[0,1,2,3,4,5,7,6,8,9,11,10];c=new U(e-d,-b,0);L=new U(e,-b,0);g=new U(e-d,-b/2,0);R=new U(e,0,0);ha=new U(e-d,b,0);C=new U(e,b,0);M=new U(e-d,b/2,0);d=Zz(c,new U(7*a/8,9*-b/16,-(7*f/8)),.1);k=new U(0,b,h);v=Zz(g,new U(19*a/24,4*-b/9,47*-f/48),.1);Q=new U(0,-b/2,h);e=Zz(ha,new U(5*a/16,5*b/8,-f),.1);h=new U(0,b,h);b=Zz(M,new U(-a/16,5*b/8,3*-f/16),.1);a=new Xz(L,k,new T(1,0));f=new Xz(g,v,new T(.8,.25));R=new Xz(R,Q,new T(1,
.5));h=new Xz(C,h,new T(1,1));b=new Xz(M,b,new T(.8,.75));this.cC=[new Xz(c,d,new T(.8,0)),a,f,a,f,R,f,R,b,R,b,h,b,new Xz(ha,e,new T(.8,1)),h];this.bC=[0,1,2,3,5,4,6,7,8,9,11,10,12,14,13];this.wb()}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.7;\n\t\tconst float DIFFUSE_INTENSITY = 0.3;\n\n\t\tvoid main(void)  \n\t\t{ \n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t\t}"}je(){return"attribute vec3 aVertexPosition; \n\t\tattribute vec3 aVertexNormal; \n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix; \n\n\t\tuniform mat3 uNMatrix; \n\t\t \n\t\tvarying vec2 vTextureCoord; \n\t\tvarying vec3 vNormal;\n\n\t\tvoid main(void) \n\t\t{ \n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0); \n\t\t\tvTextureCoord = aTextureCoord;\n\t\t\tvNormal = uNMatrix * aVertexNormal;\n\t\t}"}oe(){xw(this);
this.wg=vw(this,"aVertexNormal");this.sc=ww(this,"uSampler")}wb(){this.ig=Tz(0,this.vf);this.lJ=Rz(this,this.ig,this.BB);this.Bq=Tz(0,this.PA);this.VH=Rz(this,this.Bq,this.OA);this.mr=Tz(0,this.cC);this.tK=Rz(this,this.mr,this.bC)}fe(){mw(this,this.tK);mw(this,this.VH);mw(this,this.lJ)}ge(){yw(this,this.wg)}W(a){var b=this.slideWidth(),c=this.slideHeight();b=Math.max(b,c);c=this.G==$z?1:-1;let d;sw(this);.1>=a?Sz(this,a):.2>=a?(d=S(.1,.1,.2,1),a=d(a),tw(this,-60*a,[1,0,0],[0,0,0]),mat4.translate(this.na,
[0,0,20*-a]),this.ig=Tz(a,this.vf),tw(this,-15*c*a,[0,0,1],[0,0,0])):.4>=a?(this.ig=Tz(1,this.vf),tw(this,-60,[1,0,0],[0,0,0]),tw(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.na,[0,0,-20]),d=S(.2,0,.4,1),a=Math.pow(d(a),3),mat4.translate(this.na,[0,0,-a*b/20])):.5>a?(this.ig=Tz(1,this.vf),tw(this,-60,[1,0,0],[0,0,0]),tw(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.na,[0,0,-(20+b/20)]),d=S(.4,0,.5,1),a=d(a),mat4.translate(this.na,[0,0,-a*b/30]),Uz(a,this.vf,this.ig,8)):(this.ig=Tz(1,this.vf),
tw(this,-60,[1,0,0],[0,0,0]),tw(this,-15*c,[0,0,1],[0,0,0]),mat4.translate(this.na,[0,0,-(20+b/20+b/30)]),d=S(.5,0,1,1),a=d(a),Uz(a,this.vf,this.ig,40),a=Uv(0,1,a),mat4.translate(this.na,[c*a*b,a*b/2,a*b/2]),tw(this,-30*c*a,[0,0,1],[0,0,0]),tw(this,-60*c*a,[0,1,0],[0,0,0]));Aw(this);uw(this,this.lJ,this.F.TRIANGLES,this.FA.bind(this),this.EA.bind(this));rw(this)}FA(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(ew(this.ig)))}EA(){zw(this.ig,this.BB);this.F.bufferSubData(this.F.ARRAY_BUFFER,
0,new Float32Array(gw(this.ig)))}Zp(){return this.wg}rf(){return this.sc}}var Yz=0,$z=1;class Xz{constructor(a,b,c){this.iT=a;this.Uz=void 0!==b?b:a;this.Kw=c;this.Cz=new U}start(){return this.iT}end(){return this.Uz}current(){return this.Cz}}function Tz(a,b){const c=new hw,d=new U(0,0,1);for(let h=0;h<b.length;h++){var e=b[h],f=a;f=Zz(e.start(),e.end(),f);e.Cz=f;b[h]=e;f=new U(e.current().x(),e.current().y(),e.current().z());cw(c,new bw(f,e.Kw,d))}return c}
function Zz(a,b,c){const d=S(0,a.x(),1,b.x()),e=S(0,a.y(),1,b.y());a=S(0,a.z(),1,b.z());return new U(d(c),e(c),a(c))}class Vz{constructor(a,b,c,d){this.Ed=a;this.qO=b;this.OF=c;this.rO=d}Kf(){return this.Ed}};function aA(a){switch(a.Y){case bA:return"\n\t\tfloat C_FUNC1(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, uSlideWidth * 0.5, 0.0, uSlideWidth, 1.0);\n\t\t}\n\n\t\tfloat PHASE_OFFSET_FUNC1(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, uSlideWidth * 0.5, PHASE_OFFSET, uSlideWidth, 0.0);\n\t\t}\n\n\t\tfloat getAngleInDoubleLeft(float x, float phase)\n\t\t{\n\t\t\tfloat angle;\n\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t\t{\n\t\t\t\tangle = -ANGLE * (phase + (PHASE_OFFSET_FUNC1(x) * PHASE_FUNC(phase)));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tangle = -ANGLE * (phase + PHASE_OFFSET_FUNC1(x));\n\t\t\t}\n\t\t\treturn max(angle, -ANGLE);\n\t\t}\n\n\t\tvec2 getPosition(float x)\n\t\t{\n\t\t\tfloat a = uSlideWidth * 0.5 * C_FUNC1(x);\n\t\t\tfloat b = a * COEF_1;\n\t\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0);\n\t\t\tfloat angle = getAngleInDoubleLeft(x, uPhase);\n\n\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\t\tpos.y = pos.y - (b * C_FUNC1(x) * PHASE_FUNC1(uPhase));\n\t\t\tpos.y = max(pos.y, 1.0);\n\t\t\treturn pos;\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec3 pNormal;\n\t\t\tfloat x = aVertexPosition.x;\n\t\t\tif (x <= uSlideWidth * 0.5)\n\t\t\t{\n\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\t\tpNormal = vec3(0.0, 0.0, 1.0);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tvec2 pos = getPosition(x);\n\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\n\t\t\t\tfloat nextX = x + uDeltaX;\n\t\t\t\tvec2 pr = getPosition(nextX);\n\t\t\t\tpNormal = getNormal(v, pr);\n\t\t\t}\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\t\t\tvTextureCoord = aTextureCoord;\n\t\t}";
case cA:return"\n\t\tfloat C_FUNC2(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth * 0.5, 0.0);\n\t\t}\n\t\tfloat PHASE_OFFSET_FUNC2(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth * 0.5, PHASE_OFFSET);\n\t\t}\n\n\t\tfloat getAngleInDoubleRight(float x, float phase)\n\t\t{\n\t\t\tfloat angle;\n\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t\t{\n\t\t\t\tangle = ANGLE * (1.0 + phase + (PHASE_OFFSET_FUNC2(x) * PHASE_FUNC(phase)));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tangle = ANGLE * (1.0 + phase + PHASE_OFFSET_FUNC2(x));\n\t\t\t}\n\t\t\treturn min(angle, ANGLE * 2.0);\n\t\t}\n\n\t\tvec2 getPosition(float x)\n\t\t{\n\t\t\tfloat a = uSlideWidth * 0.5 * C_FUNC2(x);\n\t\t\tfloat b = a * COEF_1;\n\t\t\tvec2 center = vec2(uSlideWidth * 0.5, 0.0);\n\t\t\tfloat angle = getAngleInDoubleRight(x, uPhase);\n\n\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\t\tpos.y = pos.y - (b * C_FUNC2(x) * PHASE_FUNC1(uPhase));\n\t\t\tpos.y = max(pos.y, 1.0);\n\t\t\treturn pos;\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec3 pNormal;\n\t\t\tfloat x = aVertexPosition.x;\n\t\t\tif (x >= uSlideWidth * 0.5)\n\t\t\t{\n\t\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\t\tpNormal = vec3(0.0, 0.0, 1.0);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tvec2 pos = getPosition(x);\n\t\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\n\t\t\t\tfloat nextX = x + uDeltaX;\n\t\t\t\tvec2 pr = getPosition(nextX);\n\t\t\t\tpNormal = getNormal(v, pr);\n\t\t\t}\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\t\t\tvTextureCoord = aTextureCoord;\n\t\t}";
case yA:return"\n\t\tfloat C_FUNC3(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, 1.0);\n\t\t}\n\n\t\tfloat PHASE_OFFSET_FUNC3(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, 0.0, 0.0, uSlideWidth, PHASE_OFFSET);\n\t\t}\n\n\t\tfloat getAngleInSingleLeft(float x, float phase)\n\t\t{\n\t\t\tfloat angle;\n\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t\t{\n\t\t\t\tangle = -ANGLE * (phase - (PHASE_OFFSET_FUNC3(x) * PHASE_FUNC(phase)));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tangle = -ANGLE * (phase - PHASE_OFFSET_FUNC3(x));\n\t\t\t}\n\t\t\treturn min(angle, 0.0);\n\t\t}\n\n\t\tvec2 getPosition(float x)\n\t\t{\n\t\t\tfloat a = uSlideWidth * C_FUNC3(x);\n\t\t\tfloat b = a * COEF_2;\n\t\t\tvec2 center = vec2(0.0, 0.0);\n\t\t\tfloat angle = getAngleInSingleLeft(x, uPhase);\n\n\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\t\tpos.y = pos.y - (b * C_FUNC3(x) * PHASE_FUNC2(uPhase));\n\t\t\tpos.y = max(pos.y, 0.0);\n\t\t\treturn pos;\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec2 pos = getPosition(aVertexPosition.x);\n\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tfloat nextX = aVertexPosition.x + uDeltaX;\n\t\t\tvec2 pr = getPosition(nextX);\n\t\t\tvec3 pNormal = getNormal(v, pr);\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\t\t}";
case zA:return"\n\t\tfloat C_FUNC4(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, 0.0, 1.0, uSlideWidth, 0.0);\n\t\t}\n\n\t\tfloat PHASE_OFFSET_FUNC4(float x)\n\t\t{\n\t\t\treturn linearInterpolation(x, 0.0, PHASE_OFFSET, uSlideWidth, 0.0);\n\t\t}\n\n\t\tfloat getAngleInSingleRight(float x, float phase)\n\t\t{\n\t\t\tfloat angle;\n\t\t\tif (phase >= 0.0 && phase <= CHANGE_PHASE)\n\t\t\t{\n\t\t\t\tangle = ANGLE * (1.0 + phase - (PHASE_OFFSET_FUNC4(x) * PHASE_FUNC(phase)));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tangle = ANGLE * (1.0 + phase - PHASE_OFFSET_FUNC4(x));\n\t\t\t}\n\t\t\treturn max(angle, ANGLE);\n\t\t}\n\n\t\tvec2 getPosition(float x)\n\t\t{\n\t\t\tfloat a = uSlideWidth * C_FUNC4(x);\n\t\t\tfloat b = a * COEF_2;\n\t\t\tvec2 center = vec2(uSlideWidth, 0.0);\n\t\t\tfloat angle = getAngleInSingleRight(x, uPhase);\n\n\t\t\tvec2 pos = ellipse(angle, center, vec2(a, b));\n\t\t\tpos.y = pos.y - (b * C_FUNC4(x) * PHASE_FUNC2(uPhase));\n\t\t\tpos.y = max(pos.y, 0.0);\n\t\t\treturn pos;\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec2 pos = getPosition(aVertexPosition.x);\n\t\t\tvec3 v = vec3(pos.x, aVertexPosition.y, pos.y);\n\t\t\tgl_Position = uPMVMatrix * vec4(v, 1.0);\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tfloat nextX = aVertexPosition.x + uDeltaX;\n\t\t\tvec2 pr = getPosition(nextX);\n\t\t\tvec3 pNormal = getNormal(v, pr);\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\t\t}";
default:throw Error("Unknown transition page curl type");}}
class AA extends Bw{constructor(a,b){super(a);this.Y=b;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb();mat4.translate(this.na,[-this.slideWidth()/2,this.slideHeight()/2,0]);Aw(this);this.Y==bA&&this.F.disable(this.F.DEPTH_TEST)}oe(){xw(this);this.qr=ww(this,"uSampler1");this.rr=ww(this,"uSampler2");this.Tc=ww(this,"uPhase");const a=ww(this,"uDeltaX");var b=ww(this,"uSlideWidth");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());
b=this.slideWidth()/39;this.F.uniform1f(a,b)}ge(){}ie(){return"precision mediump float; \n\n\t\tvarying vec2 vTextureCoord; \n\t\tvarying vec3 vNormal; \n\n\t\tuniform sampler2D uSampler1; \n\t\tuniform sampler2D uSampler2; \n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0); \n\t\tconst float AMBIENT_INTENSITY = 0.91; \n\t\tconst float DIFFUSE_INTENSITY = 0.09; \n\n\t\tvoid main(void) \n\t\t{ \n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\n\t\t\tvec4 textureColor; \n\t\t\tif (gl_FrontFacing) \n\t\t\t{ \n\t\t\t\ttextureColor = texture2D(uSampler1, vTextureCoord); \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tfloat s = 1.0 - vTextureCoord.s; \n\t\t\t\ttextureColor = texture2D(uSampler2, vec2(s, vTextureCoord.t)); \n\t\t\t} \n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\t\tuniform mat3 uNMatrix;\n\n\t\tuniform float uPhase;\n\t\tuniform float uDeltaX;\n\t\tuniform float uSlideHeight;\n\t\tuniform float uSlideWidth;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tconst float ANGLE = 180.0;\n\t\tconst float PHASE_OFFSET = 0.35;\n\t\tconst float CHANGE_PHASE = 0.25;\n\n\t\tconst float COEF_1 = 0.3;\n\t\tconst float COEF_2 = 0.5;\n\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t\t{\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t\t}\n\n\t\tvec2 ellipse(float angle, vec2 center, vec2 radius)\n\t\t{\n\t\t\tfloat ang = radians(angle);\n\n\t\t\tfloat x = center.x + radius.x * cos(ang);\n\t\t\tfloat y = center.y + radius.y * sin(ang);\n\n\t\t\treturn vec2(x, -y);\n\t\t}\n\t\tfloat PHASE_FUNC(float phase)\n\t\t{\n\t\t\treturn linearInterpolation(phase, 0.0, 0.0, CHANGE_PHASE, 1.0);\n\t\t}\n\n\t\tfloat PHASE_FUNC1(float phase)\n\t\t{\n\t\t\treturn linearInterpolation(phase, 0.0, 1.0, 1.0, 0.0);\n\t\t}\n\n\t\tfloat PHASE_FUNC2(float phase)\n\t\t{\n\t\t\treturn linearInterpolation(phase, 0.0, 1.0, 1.0, 0.5);\n\t\t}\n\t\tvec3 getNormal(vec3 v, vec2 pr)\n\t\t{\n\t\t\tfloat y = (v.y == 0.0) ? uSlideHeight : 0.0;\n\n\t\t\tvec3 v1Pos = vec3(v.x, y, v.z);\n\t\t\tvec3 v2Pos = vec3(pr.x, v.y, -pr.y);\n\n\t\t\tvec3 v1 = v1Pos - v;\n\t\t\tvec3 v2 = v2Pos - v;\n\n\t\t\tvec3 n = (v.x == uSlideWidth && v.y == uSlideHeight) ? cross(v1, v2) : cross(v2, v1);\n\t\t\tn = normalize(n);\n\t\t\tif (n.z < 0.0)\n\t\t\t{\n\t\t\t\tn.z = n.z * -1.0;\n\t\t\t}\n\t\t\treturn n;\n\t\t}"+
aA(this)}W(a){this.F.uniform1f(this.Tc,a);uw(this,this.Tq,this.F.TRIANGLE_STRIP)}fe(){mw(this,this.Tq);this.F.deleteTexture(this.Fr)}nq(){this.Er=nw(this,this.F.TEXTURE0,this.qr,0,this.V);this.Fr=nw(this,this.F.TEXTURE1,this.rr,1,this.qa)}wb(){var a=this.slideWidth();const b=this.slideHeight();this.Qc=Wx(2,40,a,b);this.Ub=Yx(2,40);this.Tq=new Wv;a=pw(this,ew(this.Qc),3);this.Tq.Uc=a;a=pw(this,fw(this.Qc),2);this.Tq.$c=a;a=qw(this,this.Ub);this.Tq.Lc=a}}var bA=0,cA=1,yA=2,zA=3;class BA extends kw{constructor(a,b,c){super(a);this.G=b;this.hz=c}initialize(){W(this,!0);X(this,!0);this.ma().hd();this.uc=!1;var a=this.P(),b=this.Pa().content();a.appendChild(b);a=this.P();b=this.ma().content();a.appendChild(b)}W(a){const b=this.slideWidth(),c=this.slideHeight();var d=0,e=0;let f=0,h=0;this.G==CA||this.G==DA?(d=this.G==CA?1:-1,f=this.G==CA?-1:1):(e=this.G==EA?1:-1,h=this.G==EA?-1:1);const g=this.hz?Vv(0,.7,7,a):Tv(a);d=Math.floor(g*d*b);e=Math.floor(g*e*c);vg(this.Pa().content(),
d,e);vg(this.ma().content(),f*b+d,h*c+e);I(this.ma().background(),a)}}var EA=0,DA=1,CA=2;class FA extends Bw{constructor(a,b){super(a);this.G=b;this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb();mat4.translate(this.na,[(this.G==GA?-1:1)*this.slideWidth()/2,this.slideHeight()/2,0]);Aw(this)}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.4;\n\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\t\tvoid main(void)  \n\t\t{ \n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord); \n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a); \n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\t\tuniform mat3 uNMatrix;\n\n\t\tuniform float uPhase;\n\t\tuniform bool uDirectionIsLeft;\n\t\tuniform float uSlideHeight;\n\t\tuniform float uSlideWidth;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tconst float ANGLE = 45.0;\n\t\tconst float PI = 3.14159265358979323846264;\n\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t\t{\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t\t}\n\n\t\tmat4 rotationZmatrix(float angle)\n\t\t{\n\t\t\tfloat ang = radians(angle);\n\t\t\tfloat cosA = cos(ang);\n\t\t\tfloat sinA = sin(ang);\n\n\t\t\tmat4 m = mat4(1.0);\n\t\t\tm[0] = vec4(cosA, sinA, 0, 0);\n\t\t\tm[1] = vec4(-sinA, cosA, 0, 0);\n\t\t\treturn m;\n\t\t}\n\n\t\tvec3 getOriginPos(vec3 pos)\n\t\t{\n\t\t\tvec3 v = vec3(pos.x, pos.y, 0.0);;\n\t\t\tmat4 m;\n\n\t\t\tvec2 p;\n\t\t\tif (uDirectionIsLeft)\n\t\t\t{\n\t\t\t\tm = rotationZmatrix(ANGLE);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tv.x = pos.x - uSlideWidth;\n\t\t\t\tm = rotationZmatrix(-ANGLE);\n\t\t\t}\n\t\t\tv = (m * vec4(v.xyz, 1.0)).xyz;\n\t\t\treturn vec3(v.x, v.y, 0.0);\n\t\t}\n\n\t\tfloat calcX(float phase, float u, float r, float maxSide)\n\t\t{\n\t\t\tfloat coeff = (u < 0.0) ? -1.0 : 1.0;\n\t\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\t\t\tfloat m = PI * r;\n\n\t\t\tif (centerX > coeff * u)\n\t\t\t{\n\t\t\t\treturn u;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\t\tfloat b = linearInterpolation(coeff * u, centerX, -90.0, maxSide + 1.0, a - 90.0);\n\n\t\t\t\tif (coeff * u >= centerX + m)\n\t\t\t\t{\n\t\t\t\t\treturn coeff * (centerX - (coeff * u - centerX - m));\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\t\treturn coeff * (centerX + r * cos(ang));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfloat calcY(float phase, float u, float r, float maxSide)\n\t\t{\n\t\t\tu = abs(u);\n\n\t\t\tfloat centerX = linearInterpolation(phase, 0.0, maxSide, 1.0, 0.0);\n\t\t\tfloat centerY = r;\n\n\t\t\tfloat m = PI * r;\n\t\t\tif (centerX >= u)\n\t\t\t{\n\t\t\t\treturn 0.0;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tif (u > centerX + m)\n\t\t\t\t{\n\t\t\t\t\treturn linearInterpolation(u, centerX + m, r * 2.0, centerX + m + m, r * 2.5);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tfloat a = 180.0 * (maxSide - centerX) / (PI * r);\n\t\t\t\t\tfloat b = linearInterpolation(u, centerX, -90.0, maxSide+1.0, a - 90.0);\n\n\t\t\t\t\tfloat ang = b * PI / 180.0;\n\t\t\t\t\treturn centerY + r * sin(ang);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tvec3 getVertexPosition(float phase, vec3 pos)\n\t\t{\n\t\t\tvec3 originPos = getOriginPos(pos);\n\t\t\tfloat maxSide = sqrt(uSlideWidth * uSlideWidth + uSlideHeight * uSlideHeight);\n\n\t\t\tfloat r = max(uSlideWidth, uSlideHeight) / 4.0;\n\t\t\tvec3 v = vec3(calcX(phase, originPos.x, r, maxSide), originPos.y, calcY(phase, originPos.x, r, maxSide));\n\n\t\t\tmat4 m;\n\t\t\tif (uDirectionIsLeft)\n\t\t\t{\n\t\t\t\tm = rotationZmatrix(-ANGLE);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tm = rotationZmatrix(ANGLE);\n\t\t\t}\n\n\t\t\treturn (m * vec4(v.xyz, 1.0)).xyz;\n\t\t}\n\n\t\tvec3 getVertexNormal(float phase, vec3 pos)\n\t\t{\n\t\t\tconst float DELTA_W = 1.0;\n\t\t\tconst float DELTA_H = 1.0;\n\n\t\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + DELTA_W, pos.y, pos.z));\n\t\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + DELTA_H, pos.z));\n\t\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\t\tvec3 v1 = right - p;\n\t\t\tvec3 v2 = down - p;\n\n\t\t\treturn normalize(cross(v2, v1));\n\t\t}\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat phase = uPhase;\n\t\t\tvec3 vertex = vec3(aVertexPosition.x, aVertexPosition.y, aVertexPosition.z);\n\t\t\tvec4 p = vec4(getVertexPosition(phase, vertex), 1.0);\n\t\t\tgl_Position = uPMVMatrix * p;\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tvec3 pNormal = getVertexNormal(phase, vertex);\n\t\t\tvec3 transformedNormal = uNMatrix * pNormal;\n\t\t\tvNormal = transformedNormal;\n\t\t}"}W(a){a=
S(0,0,1,1.2)(a);this.F.uniform1f(this.Tc,a);uw(this,this.Rc,this.F.TRIANGLE_STRIP)}oe(){xw(this);this.sc=ww(this,"uSampler");this.Tc=ww(this,"uPhase");const a=ww(this,"uDirectionIsLeft"),b=ww(this,"uSlideWidth");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(b,this.slideWidth());this.F.uniform1i(a,this.G==GA?1:0)}ge(){}wb(){this.Qc=Wx(30,30,this.slideWidth(),this.slideHeight());this.Ub=Yx(30,30);this.Rc=new Wv;var a=pw(this,ew(this.Qc),3);this.Rc.Uc=a;a=pw(this,fw(this.Qc),
2);this.Rc.$c=a;a=qw(this,this.Ub);this.Rc.Lc=a}rf(){return this.sc}fe(){mw(this,this.Rc)}}var GA=0;class HA extends Bw{constructor(a){super(a);this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb();mat4.translate(this.na,[-this.slideWidth()/2,this.slideHeight()/2,0]);Aw(this)}pF(){if(void 0!==IA)return IA;this.kl();return IA=this.Qj}kl(){void 0===this.F&&super.kl()}W(a){this.F.uniform1f(this.Tc,a);uw(this,this.Rc,this.F.TRIANGLE_STRIP)}wb(){this.Qc=Wx(10,35,this.slideWidth(),this.slideHeight());this.Ub=Yx(10,35);this.Rc=new Wv;var a=pw(this,ew(this.Qc),3);this.Rc.Uc=a;a=pw(this,
fw(this.Qc),2);this.Rc.$c=a;a=qw(this,this.Ub);this.Rc.Lc=a}fe(){mw(this,this.Rc)}oe(){xw(this);this.sc=ww(this,"uSampler");this.Tc=ww(this,"uPhase");const a=ww(this,"uSlideWidth");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(a,this.slideWidth())}ge(){}rf(){return this.sc}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.3;\n\t\tconst float DIFFUSE_INTENSITY = 0.7;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * abs(dot(normalize(vNormal), LIGHT_DIRECTION));\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec3 aVertexNormal;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\t\tuniform mat3 uNMatrix;\n\n\t\tuniform float uPhase;\n\t\tuniform float uSlideHeight;\n\t\tuniform float uSlideWidth;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tconst float START_EFFECT_TIME = 0.0;\n\t\tconst float START_FLY_EFFECT_TIME = 0.4;\n\t\tconst float STOP_FLY_EFFECT_TIME = 0.8;\n\t\tconst float START_TOP_CENTER = 0.0;\n\t\tconst float START_TOP_CORNERS_TIME = 0.1;\n\t\tconst float START_BOTTOM_CORNERS_TIME = 0.0;\n\n\t\tconst float HORIZONTAL_WAVES_COUNT = 3.0;\n\t\tfloat HORIZONTAL_MAX_AMPLITUDE;\n\t\tconst float HORIZONTAL_WAVE_RUNNING_START_TIME = 0.0;\n\n\t\tconst float MAX_FLEX_DELAY = 0.1;\n\n\t\tfloat MAX_STRETCHING_Z;\n\t\tfloat MAX_STRETCHING_Y;\n\t\tfloat HORIZONTAL_TOP_STRETCHING;\n\t\tfloat VERTICAL_TOP_STRETCHING;\n\n\t\tconst float PI = 3.141592654;\n\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t\t{\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t\t}\n\t\tvec2 getMirrorPoint(vec2 a, vec2 b, vec2 p)\n\t\t{\n\t\t\treturn a + reflect(a - p, b - a);\n\t\t}\n\t\tfloat calcCenterWave(float x, float phase, float A, float F, float dx, float dy)\n\t\t{\n\t\t\tfloat CENTER_LINE_POS = uSlideWidth * 0.5;\n\t\t\tfloat startX = CENTER_LINE_POS;\n\t\t\tif (x < startX)\n\t\t\t{\n\t\t\t\tx = getMirrorPoint(vec2(CENTER_LINE_POS, 0), vec2(CENTER_LINE_POS , uSlideHeight), vec2(x, 0)).x;\n\t\t\t}\n\t\t\tfloat s = linearInterpolation(phase, 0.0, startX, 1.0, uSlideWidth);\n\t\t\tif ((x < startX) || (x < s))\n\t\t\t{\n\t\t\t\treturn 0.0;\n\t\t\t}\n\t\t\tfloat x0 = - linearInterpolation(phase, 0.0, 2.0 * PI * startX / uSlideWidth * HORIZONTAL_WAVES_COUNT, 1.0, PI * 2.0 * HORIZONTAL_WAVES_COUNT);\n\t\t\treturn A + A * sin(F * x +-PI / 2.0 + x0);\n\t\t}\n\t\tfloat getColWaveDelay(float phase, vec3 pos)\n\t\t{\n\t\t\tphase = linearInterpolation(phase, HORIZONTAL_WAVE_RUNNING_START_TIME, 0.0, 1.0, 1.0);\n\t\t\tfloat MAX_AMPLITUDE = linearInterpolation(phase, 0.0, 0.0, 1.0, HORIZONTAL_MAX_AMPLITUDE);\n\t\t\tfloat A = linearInterpolation(pos.y, 0.0, 0.0, uSlideHeight, MAX_AMPLITUDE);\n\t\t\tfloat F = (PI * 2.0 / uSlideWidth) * HORIZONTAL_WAVES_COUNT;\n\t\t\treturn calcCenterWave(pos.x, phase, A, F, 0.0, 0.0);\n\t\t}\n\t\tvec3 getVertexPosition(float phase, vec3 pos)\n\t\t{\n\t\t\tfloat CENTER = uSlideWidth * 0.5;\n\t\t\tphase = pow(phase, 4.0);\n\t\t\tfloat modifiedPhase = phase;\n\n\t\t\tfloat deltaZVertical = linearInterpolation(abs(pos.y), 0.0, 1.0, uSlideHeight / 2.0, 0.0);\n\t\t\tif (abs(pos.y) > uSlideHeight * 0.5)\n\t\t\t{\n\t\t\t\tdeltaZVertical = 0.0;\n\t\t\t}\n\t\t\tbool isLeft = (pos.x < CENTER);\n\t\t\tfloat stretch;\n\t\t\tfloat yDelay;\n\t\t\tvec3 delta = vec3(0, 0, 0);\n\t\t\tif (modifiedPhase > START_TOP_CENTER)\n\t\t\t{\n\t\t\t\tif (isLeft)\n\t\t\t\t{\n\t\t\t\t\tyDelay = linearInterpolation(pos.x, 0.0, MAX_FLEX_DELAY, CENTER, 0.0);\n\t\t\t\t\tstretch = linearInterpolation(pos.x, 0.0, 0.0, CENTER, 1.0);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tyDelay = linearInterpolation(pos.x, CENTER, 0.0, uSlideWidth, MAX_FLEX_DELAY);\n\t\t\t\t\tstretch = linearInterpolation(pos.x, CENTER, 1.0, uSlideWidth, 0.0);\n\t\t\t\t}\n\t\t\t\tfloat deltaZHorizontal = pow(stretch, 3.0);\n\t\t\t\tmodifiedPhase = linearInterpolation(modifiedPhase, START_TOP_CENTER, 0.0, 1.0, 1.0);\n\t\t\t\tif (modifiedPhase >= yDelay)\n\t\t\t\t{\n\t\t\t\t\tdelta.y = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Y * deltaZHorizontal * deltaZVertical);\n\t\t\t\t\tdelta.z = linearInterpolation(modifiedPhase, yDelay, 0.0, 1.0, MAX_STRETCHING_Z * deltaZHorizontal * deltaZVertical);\n\t\t\t\t}\n\t\t\t\tdelta.y = -delta.y;\n\t\t\t}\n\t\t\tif (phase > HORIZONTAL_WAVE_RUNNING_START_TIME)\n\t\t\t{\n\t\t\t\tdelta.z += getColWaveDelay(phase, pos);\n\t\t\t}\n\t\t\treturn pos - delta;\n\t\t}\n\t\tfloat getPower(float h1, float h2, float v1, float v2, vec2 pos, float max2)\n\t\t{\n\t\t  float a1 = min(max(linearInterpolation(pos.x, h1, 1.0, h2, 0.0), 0.0), 1.0);\n\t\t  float a2 = linearInterpolation(pos.y, v1, 1.0, v2, max2);\n\t\t  return a1 * a2;\n\t\t}\n\t\tvec3 updateVertex(float phase, vec3 translation)\n\t\t{\n\t\t\tfloat pPhase = phase;\n\t\t\tvec3 delta = vec3(0, 0, 0);\n\t\t\tvec3 v0 = getVertexPosition(phase, aVertexPosition);\n\n\t\t\tif (phase > START_TOP_CORNERS_TIME)\n\t\t\t{\n\t\t\t\tpPhase = linearInterpolation(phase, START_TOP_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\t\t\tpPhase = pow(pPhase, 4.0);\n\n\t\t\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\t\t\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.5, 0.0, uSlideHeight, v0.xy, 2.0);\n\n\t\t\t\tdelta += vec3(p2 - p1, -p1 - p2, 0) * vec3(HORIZONTAL_TOP_STRETCHING, VERTICAL_TOP_STRETCHING, 0)  * vec3(pPhase, pPhase, 0);\n\t\t\t}\n\t\t\tif (phase > START_BOTTOM_CORNERS_TIME)\n\t\t\t{\n\t\t\t\tpPhase = linearInterpolation(phase, START_BOTTOM_CORNERS_TIME, 0.0, 1.0, 1.0);\n\t\t\t\tpPhase = pow(pPhase, 4.0);\n\n\t\t\t\tfloat p1 = getPower(0.0, uSlideWidth * 0.25, uSlideHeight, 0.0, v0.xy, 0.0);\n\t\t\t\tfloat p2 = getPower(uSlideWidth, uSlideWidth * 0.75, uSlideHeight, 0.0, v0.xy, 0.0);\n\n\t\t\t\tdelta += vec3(0.5, 1, 0.25) * vec3(p2 - p1, p2, p2) * vec3(uSlideWidth, uSlideHeight, uSlideHeight) * vec3(pPhase, pPhase, pPhase);\n\t\t\t}\n\t\t\tdelta.y = -min(uSlideHeight * 0.75, abs(delta.y));\n\t\t\treturn (translation + v0 + delta);\n\t\t}\n\t\tvec3 getPosition(float phase, vec3 pos)\n\t\t{\n\t\t\tfloat maxSide = sqrt(uSlideHeight * uSlideHeight + (uSlideWidth * 0.5) *  (uSlideWidth * 0.5)) * 2.0;\n\t\t\tvec3 translation = vec3(0.0);\n\t\t\tif ((phase >= START_FLY_EFFECT_TIME) && (phase <= STOP_FLY_EFFECT_TIME))\n\t\t\t{\n\t\t\t\tfloat modifiedPhase = linearInterpolation(phase, START_FLY_EFFECT_TIME, 0.0, STOP_FLY_EFFECT_TIME, 1.0);\n\t\t\t\tmodifiedPhase = pow(modifiedPhase, 4.0);\n\t\t\t\ttranslation = vec3(0.0, modifiedPhase * maxSide, 0.0);\n\t\t\t}\n\t\t\telse if (phase > STOP_FLY_EFFECT_TIME)\n\t\t\t{\n\t\t\t\ttranslation = vec3(0.0, maxSide, 0.0);\n\t\t\t}\n\t\t\tif (phase >= START_EFFECT_TIME)\n\t\t\t{\n\t\t\t\tfloat modifiedPhase = linearInterpolation(phase, START_EFFECT_TIME, 0.0, 1.0, 1.0);\n\t\t\t\treturn updateVertex(modifiedPhase, translation);\n\t\t\t}\n\t\t\treturn updateVertex(0.0, translation);\n\t\t}\n\n\t\tvec3 getVertexNormal(float phase, vec3 pos)\n\t\t{\n\t\t\tfloat deltaWidth = (pos.x == uSlideWidth) ? -1.0 : 1.0;\n\t\t\tfloat deltaHeight = 1.0;\n\n\t\t\tvec3 right = getVertexPosition(phase, vec3(pos.x + deltaWidth, pos.y, pos.z));\n\t\t\tvec3 down = getVertexPosition(phase, vec3(pos.x, pos.y + deltaHeight, pos.z));\n\t\t\tvec3 p = getVertexPosition(phase, vec3(pos.x, pos.y, pos.z));\n\n\t\t\tvec3 v1 = right - p;\n\t\t\tvec3 v2 = down - p;\n\n\t\t\tvec3 n = (pos.x == uSlideWidth) ? cross(v1, v2) : cross(v2, v1);\n\t\t\tn = normalize(n);\n\n\t\t\treturn n;\n\t\t}\n\t\tvoid main()\n\t\t{\n\t\t\tMAX_STRETCHING_Z = 0.74 * uSlideHeight;\n\t\t\tMAX_STRETCHING_Y = 0.74 * uSlideHeight;\n\t\t\tHORIZONTAL_TOP_STRETCHING = 0.42 * uSlideWidth;\n\t\t\tVERTICAL_TOP_STRETCHING = 0.05 * uSlideHeight;\n\t\t\tHORIZONTAL_MAX_AMPLITUDE = 0.93 * uSlideHeight;\n\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tvec3 vertex = vec3(aVertexPosition.x, -aVertexPosition.y, aVertexPosition.z);\n\t\t\tvec4 p = vec4(getPosition(uPhase, vertex), 1.0);\n\t\t\tgl_Position = uPMVMatrix * p;\n\n\t\t\tvec3 transformedNormal = uNMatrix * getVertexNormal(uPhase, vertex);\n\t\t\tvNormal = transformedNormal;\n\t\t}"}}
var IA=void 0;class JA extends kw{constructor(a,b){super(a);this.G=b;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);const a=Y(this.slideWidth(),this.slideHeight());E(a,"position","absolute");this.P().appendChild(a);this.qw=a}W(a){const b=this.slideWidth(),c=this.slideHeight(),d=b*Uv(0,b,Math.floor(a*b));a=c*Uv(0,c,Math.floor(a*c));const e=this.qw.getContext("2d");e.clearRect(0,0,b,c);switch(this.G){case KA:e.drawImage(this.qa,0,a-c);e.drawImage(this.V,0,a);break;case LA:e.drawImage(this.qa,b-d,0);e.drawImage(this.V,
-d,0);break;case MA:e.drawImage(this.qa,d-b,0);e.drawImage(this.V,d,0);break;case NA:e.drawImage(this.qa,0,c-a),e.drawImage(this.V,0,-a)}}}var KA=0,LA=1,MA=2,NA=3;class OA extends kw{constructor(a,b){super(a);this.MF=b;this.fa(!1,!0);this.Jp=[];a=this.slideWidth();switch(this.MF){case PA:a=this.slideHeight();break;case QA:a=this.slideWidth()}this.Km=Math.floor(a/7);a=[];for(b=0;b<this.Km;b++)a.push({index:b,ny:Math.random()});a.sort(function(c,d){return c.ny<d.ny?-1:c.ny>d.ny?1:0});for(b=0;b<this.Km;b++){let c=a[b].index;c=c==this.Km-1?1:c/this.Km;this.Jp.push(new RA(c,.8*b/(this.Km-1)))}}initialize(){this.ma().hd();W(this,!1);X(this,!0);this.fi=Y(this.slideWidth(),
this.slideHeight());this.P().appendChild(this.fi);this.nf=this.fi.getContext("2d")}W(a){var b=this.slideWidth(),c=this.slideHeight(),d=this.V;const e=this.nf;e.clearRect(0,0,b,c);e.drawImage(d,0,0);d=a;this.M()&&(d=1-a);e.save();e.globalCompositeOperation="destination-out";a=this.M()?"#FFF":"rgba(255,255,255,0)";const f=this.M()?"rgba(255,255,255,0)":"#FFF";b=this.MF==PA?e.createLinearGradient(b/2,0,b/2,c):e.createLinearGradient(0,c/2,b,c/2);for(c=0;c<this.Km;c++){const h=this.Jp[c].Fj;let g=Math.min((d-
this.Jp[c].getStartTime())/.2,1);this.M()&&(g=1-g);g=Rn(g);d>=this.Jp[c].getStartTime()+.2?b.addColorStop(h,f):d>=this.Jp[c].getStartTime()?b.addColorStop(h,"rgba(255,255,255,"+g+")"):b.addColorStop(h,a)}e.fillStyle=b;e.beginPath();e.rect(0,0,this.slideWidth(),this.slideHeight());e.fill();e.restore()}}var PA=0,QA=1;class RA{constructor(a,b){this.Fj=a;this.zf=b}getStartTime(){return this.zf}};class SA extends kw{constructor(a,b){super(a);this.G=b;this.uc=!1;this.fa(!1,!1,!0,!0,!1,!1)}initialize(){W(this,!1);X(this,!1);var a=this.P(),b=this.ma().background();a.appendChild(b);a=this.P();b=this.Pa().background();a.appendChild(b);this.Wt=Y(this.slideWidth(),this.slideHeight());E(this.Wt,"position","absolute");this.P().appendChild(this.Wt);this.fz=Y(this.slideWidth(),this.slideHeight());E(this.fz,"position","absolute");this.P().appendChild(this.fz)}W(a){var b=this.slideWidth(),c=this.slideHeight(),
d=this.Wt.getContext("2d");d.clearRect(0,0,b,c);var e=.5>a?this.G==TA||this.G==UA?S(0,-b,.5,b):S(0,b,.5,-b):this.G==TA||this.G==UA?S(.5,b,1,-b):S(.5,-b,1,b);e=d.createLinearGradient(e(a),0,e(a)+b,0);this.G==TA||this.G==UA?(e.addColorStop(0,"rgba(0, 0, 0, 1)"),e.addColorStop(1,"rgba(0, 0, 0, 0)")):(e.addColorStop(0,"rgba(0, 0, 0, 0)"),e.addColorStop(1,"rgba(0, 0, 0, 1)"));this.G==VA||this.G==UA?(I(this.Pa().background(),1-a),.5>a?d.drawImage(this.Aj,0,0):d.drawImage(this.Uh,0,0),d.save(),d.globalCompositeOperation=
"destination-out",d.fillStyle=e,d.fillRect(0,0,this.slideWidth(),this.slideHeight()),d.restore()):(.5>a?(I(this.Pa().background(),1),d.drawImage(this.Aj,0,0)):(I(this.Pa().background(),0),d.drawImage(this.Uh,0,0)),d=this.fz.getContext("2d"),d.clearRect(0,0,b,c),d.fillStyle=e,d.fillRect(0,0,this.slideWidth(),this.slideHeight()));.5>a?(b=S(0,0,.5,WA),c=S(0,0,.5,XA),d=S(0,1,.5,1+YA)):(b=S(.5,-WA,1,0),c=S(.5,XA,1,0),d=S(.5,1+YA,1,1));a="scale("+d(a)+") translate("+b(a)+"px,"+c(a)+"px)";J(this.Wt,a)}}
var WA=-30,XA=-20,YA=.1,VA=0,UA=1,TA=2;class ZA extends kw{constructor(a,b){super(a);this.Y=b;this.uc=!1;this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);const a=this.slideWidth(),b=this.slideHeight();this.WL=Math.sqrt(a*a+b*b)*(this.Y==$A?.5:1);this.to=a/2;this.uo=b/2;switch(this.Y){case aB:this.to=a;this.uo=b;break;case bB:this.to=a;this.uo=0;break;case cB:this.to=0;this.uo=b;break;case dB:this.uo=this.to=0}this.fi=Y(a,b);E(this.fi,"position","relative");this.P().appendChild(this.fi);this.hB=this.fi.getContext("2d")}W(a){this.hB.drawImage(this.V,
0,0);var b=this.hB,c=this.to,d=this.uo,e=this.WL;b.save();b.globalCompositeOperation="destination-in";c=b.createRadialGradient(c,d,0,c,d,e);d=1.2*a;e=1;var f=d,h=0,g=d-.2;.2>d?(h=1-d/.2,g=0):1<=d&&(e=1-(d-1)/.2,f=1);c.addColorStop(g,"rgba(0,0,0,"+Rn(h)+")");c.addColorStop(f,"rgba(0,0,0,"+Rn(e)+")");b.fillStyle=c;b.fillRect(0,0,this.slideWidth(),this.slideHeight());b.restore();b=.8-.2;c=this.hB;e=0;for(d=[1];;){f=2*a-.03125*e;if(0>=f)break;else 1>f&&d.push(f);++e}d.push(0);e=this.to;f=this.uo;e=c.createRadialGradient(e,
f,0,e,f,this.WL);f=d.length;for(--f;0<=f;--f){h=d[f];g=a;g*=2;g=1-Uv(g-.2,g,h);var k=a;k*=2;g=.3*(.5*Math.cos(8*Math.PI*(h-2*a))+.5)*g*Uv(k-.2-b-.2,k-.2-b,h);g*=1-.5*h;e.addColorStop(h,"rgba(0,0,0,alpha)".replace("alpha",Rn(g).toString()))}c.fillStyle=e;c.fillRect(0,0,this.slideWidth(),this.slideHeight())}}var $A=0,cB=1,aB=2,bB=3,dB=4;class eB extends Bw{constructor(a,b){super(a);this.G=b;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);lw(this,this.V);this.wb();mat4.translate(this.na,[-this.slideWidth()/2,this.slideHeight()/2,0]);Aw(this)}wb(){this.Qc=Wx(50,50,this.slideWidth(),this.slideHeight());this.Ub=Yx(50,50);this.mg=new Wv;var a=pw(this,ew(this.Qc),3);this.mg.Uc=a;a=pw(this,fw(this.Qc),2);this.mg.$c=a;a=qw(this,this.Ub);this.mg.Lc=a}fe(){mw(this,this.mg);this.F.deleteTexture(this.Fr)}oe(){xw(this);this.qr=ww(this,"uSampler1");
this.rr=ww(this,"uSampler2");this.Tc=ww(this,"uPhase");const a=ww(this,"uSlideSize"),b=ww(this,"uWaveCenter"),c=ww(this,"uWaveRadius"),d=this.slideWidth(),e=this.slideHeight();let f;switch(this.G){case $A:f=new T(d/2,e/2);break;case bB:f=new T(d,0);break;case dB:f=new T(0,0);break;case cB:f=new T(0,e);break;case aB:f=new T(d,e);break;default:throw Error("Unknown direction");}let h=Math.sqrt(d*d+e*e);this.G==$A&&(h=Math.sqrt(f.x()*f.x()+f.y()*f.y()));this.F.uniform2fv(a,[d,e]);this.F.uniform2fv(b,
[f.x(),f.y()]);this.F.uniform1f(c,h)}ge(){}W(a){this.F.uniform1f(this.Tc,a);uw(this,this.mg,this.F.TRIANGLE_STRIP)}je(){return"precision mediump float;\n\n\t\tattribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\t\tuniform mat3 uNMatrix;\n\n\t\tconst float FREQUENCY = 12.566371; // 4.0 * PI\n\t\tconst float SHADOW = 0.3;\n\n\t\tuniform float uPhase;\n\t\tuniform vec2 uSlideSize;\n\t\tuniform vec2 uWaveCenter;\n\t\tuniform float uWaveRadius;\n\n\t\tvarying mediump vec2 vTextureCoord;\n\t\tvarying mediump float vShadow;\n\t\tvarying mediump float vAlpha;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec2 texCoord = aTextureCoord;\n\t\t\tvec2 screenCoord = texCoord * uSlideSize;\n\t\t\tvec2 centerToPoint = screenCoord - uWaveCenter;\n\n\t\t\tfloat angle = atan(centerToPoint.y, centerToPoint.x);\n\t\t\tfloat radius = length(centerToPoint);\n\n\t\t\tfloat phaseOffset = radius / uWaveRadius;\n\t\t\tfloat phaseOffsetFixed = (uPhase + uPhase) - phaseOffset;\n\t\t\tfloat offset = sin(phaseOffsetFixed * FREQUENCY) * smoothstep(1.0, 0.85, phaseOffsetFixed)  *  smoothstep(0.0, 0.15, phaseOffsetFixed) * (phaseOffset);\n\n\t\t\tfloat AMPLITUDE = min(uSlideSize.x, uSlideSize.y) / 15.0;\n\t\t\tradius = radius + offset * AMPLITUDE;\n\t\t\tcenterToPoint = vec2(radius * cos(angle), radius * sin(angle));\n\n\t\t\ttexCoord =(uWaveCenter + centerToPoint) / uSlideSize;\n\t\t\tfloat alpha = smoothstep(0.0, 1.0, phaseOffsetFixed);\n\t\t\tfloat shadow = (1.0 - SHADOW * abs(offset));\n\n\t\t\tvTextureCoord = texCoord;\n\t\t\tvShadow = shadow;\n\t\t\tvAlpha = alpha;\n\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t}"}ie(){return"precision mediump float;\n\n\t\tvarying mediump vec2 vTextureCoord;\n\t\tvarying mediump float vShadow;\n\t\tvarying mediump float vAlpha;\n\n\t\tuniform sampler2D uSampler1;\n\t\tuniform sampler2D uSampler2;\n\n\t\tvoid main(void)  \n\t\t{ \n\t\t\tif (vTextureCoord.x < 0.0 || vTextureCoord.x > 1.0 || vTextureCoord.y < 0.0 || vTextureCoord.y > 1.0) \n\t\t\t{ \n\t\t\t\tgl_FragColor = mix(vec4(0.0), vec4(0.0), 0.0);\n\t\t\t\treturn;\n\t\t\t} \n\t\t\tvec4 color1 = texture2D(uSampler1, vTextureCoord);\n\t\t\tvec4 color2 = texture2D(uSampler2, vTextureCoord);\n\t\t\tvec4 mixedColor = mix(color1, color2, vAlpha);\n\t\t\tgl_FragColor = vec4(vShadow * mixedColor.rgb, mixedColor.a);\n\t\t}"}nq(){this.Er=
nw(this,this.F.TEXTURE0,this.qr,0,this.V);this.Fr=nw(this,this.F.TEXTURE1,this.rr,1,this.qa)}};class fB extends kw{constructor(a){super(a);this.fa(!1,!0)}initialize(){W(this,!1);this.fi=Y(this.slideWidth(),this.slideHeight());this.P().appendChild(this.fi);this.nf=this.fi.getContext("2d")}W(a){const b=this.slideWidth(),c=this.slideHeight();var d=this.V;const e=this.nf;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();d=a*Math.max(b,c);e.globalCompositeOperation="destination-out";const f=e.createRadialGradient(b/2,c/2,a*d,b/2,c/2,d);f.addColorStop(0,"#FFFFFF");f.addColorStop(.15,"rgba(255,255,255,128)");
f.addColorStop(1,"rgba(255,255,255,0)");e.fillStyle=f;e.beginPath();e.arc(b/2,c/2,d,0,2*Math.PI,!0);e.fill();e.restore();this.M()&&0>=a&&X(this,!1)}};function gB(a,b,c,d,e,f,h,g){const k=a.xQ;a=a.slideHeight()>a.slideWidth()?k.createLinearGradient(b,c,(g?-b:b)*f*2+d,e):k.createLinearGradient(b,c,d,(h?-c:c)*f*2+e);a.addColorStop(0,"rgba(255,255,255,0)");a.addColorStop(.2<f?f-.2:0,"rgba(255,255,255,0)");a.addColorStop(f,"rgba(255,255,255,128)");a.addColorStop(.8>f?f+.2:1,"#FFFFFF");a.addColorStop(1,"#FFFFFF");return a}
class hB extends kw{constructor(a){super(a);this.fa(!0,!1)}initialize(){X(this,!1);W(this,!0);this.uI=Y(this.slideWidth(),this.slideHeight());this.P().appendChild(this.uI);this.xQ=this.qa.getContext("2d");this.yQ=this.uI.getContext("2d")}W(a){if(0!=a||this.M()){var b=this.slideWidth(),c=this.slideHeight(),d=this.qa,e=this.yQ;e.clearRect(0,0,b,c);e.drawImage(d,0,0);e.save();e.globalCompositeOperation="destination-out";d=gB(this,b/2,c/2,b/2+b*a,c/2+c*a,a,!1,!1);var f=b/2,h=c/2,g=b/2,k=c/2;e.fillStyle=
d;e.beginPath();e.rect(f,h,g,k);e.fill();d=gB(this,b/2,c/2,b/2+b*a,-a*c+c/2,a,!0,!1);f=b/2;h=b/2;g=c/2;e.fillStyle=d;e.beginPath();e.rect(f,0,h,g);e.fill();d=gB(this,b/2,c/2,-a*b+b/2,c/2+c*a,a,!1,!0);f=c/2;h=b/2;g=c/2;e.fillStyle=d;e.beginPath();e.rect(0,f,h,g);e.fill();a=gB(this,b/2,c/2,-a*b+b/2,-a*c+c/2,a,!0,!0);b/=2;c/=2;e.fillStyle=a;e.beginPath();e.rect(0,0,b,c);e.fill();e.restore()}}};class iB extends kw{constructor(a){super(a);this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);this.$a=Y(this.slideWidth(),this.slideHeight());this.P().appendChild(this.$a)}W(a){var b=(this.slideWidth()/2+50)*(1-a),c=b-50,d=(this.slideHeight()/2+50)*(1-a);let e=d-50;const f=this.$a.getContext("2d");f.clearRect(0,0,this.slideWidth(),this.slideHeight());f.drawImage(this.V,0,0);f.save();f.globalCompositeOperation="destination-out";d=f.createLinearGradient(0,d,0,e);d.addColorStop(0,"rgba(255, 255, 255, 1)");
d.addColorStop(1,"rgba(255, 255, 255, 0)");b=f.createLinearGradient(b,0,c,0);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");c=this.slideWidth()/2+(this.slideWidth()/2+50)*a;c=f.createLinearGradient(c-50,0,c,0);c.addColorStop(0,"rgba(255, 255, 255, 1)");c.addColorStop(1,"rgba(255, 255, 255, 0)");e=this.slideHeight()/2+(this.slideHeight()/2+50)*a;a=f.createLinearGradient(0,e-50,0,e);a.addColorStop(0,"rgba(255, 255, 255, 1)");a.addColorStop(1,"rgba(255, 255, 255, 0)");
f.fillStyle=d;f.fillRect(0,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=b;f.fillRect(0,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=a;f.fillRect(0,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=b;f.fillRect(0,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=d;f.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=c;f.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=
a;f.fillRect(this.slideWidth()/2,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.fillStyle=c;f.fillRect(this.slideWidth()/2,this.slideHeight()/2,this.slideWidth()/2,this.slideHeight()/2);f.restore()}};function jB(){var a=Array(2);kB(a,0,0);return a}function kB(a,b,c){a[0]=b;a[1]=c};function lB(a){function b(G,Q,L,M){if(void 0!=G){var R=G.Ls,C=G.yk;G=Math.max(R[0]-1,0);R=Math.max(R[1]-1,0);var ha=Math.min(C[0]+1,c)-G;C=Math.min(C[1]+1,d)-R;L=L.canvas.getContext("2d");M=M.canvas.getContext("2d");L.drawImage(F,G,R,ha,C,G-Q,R,ha,C);M.drawImage(D,G,R,ha,C,G-Q,R,ha,C)}}const c=a.slideWidth(),d=a.slideHeight();var e=.675*d,f=.125*d,h=.034*c,g=.018*c,k=(.02-.009)*c,l=.009*c;const m=[];m.push({Is:void 0,Fi:void 0,jp:void 0});var p=0,r=0,t=!0;for(let G=0;G<c;G+=p){let Q=0,L=0;const M=
m[r];t?(L=d,Q=k*Math.random()+l):(L=e*Math.random()+f,Q=h*Math.random()+g);if(0==r&&t){var v=jB();kB(v,G,0);var z=jB();kB(z,G+Q,L)}G+Q>c&&(Q=c-G);if(!t&&G+Q>=c)if(Q>.5*h+g)Q=g;else{M.jp=void 0;v=jB();kB(v,M.Fi.x,0);z=jB();kB(z,G+Q,L);M.Fi.yk.x+=Q;M.Fi.yk.y=d;continue}t?(v=jB(),kB(v,G,0),z=jB(),kB(z,G+Q,L),M.Fi={Ls:v,yk:z}):(v=jB(),kB(v,G,L),z=jB(),kB(z,G+Q,d),M.jp={Ls:v,yk:z},m.push({Is:void 0,Fi:void 0,jp:void 0}),p=m[++r],v=jB(),kB(v,G,0),z=jB(),kB(z,G+Q,L),p.Is={Ls:v,yk:z});p=Q;t=!t}const F=a.M()?
a.qa:a.V,D=a.M()?a.V:a.qa;e=.5>Math.random()?-1:1;for(f=0;f<m.length;++f)k=mB+Math.random()*(nB-mB),l=Math.floor((oB*Math.random()+pB)*e),h=m[f],g=h.Fi.Ls[0],r=h.Fi.yk[0],void 0!=h.Is&&(g=h.Is.Ls[0]),void 0!=h.jp&&(r=h.jp.yk[0]),t=r-g,r=a.Um(a.jB,t,d,k,l,e),k=a.Um(a.hv,t,d,k,l,e),vg(r.canvas,g,0),vg(k.canvas,g,0),b(h.Is,g,r,k),b(h.Fi,g,r,k),b(h.jp,g,r,k),a.mv[f]=r,a.gv[f]=k,e=-e}
class qB extends kw{constructor(a,b){super(a);this.Y=b;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);this.mz=this.iL=!1;this.gv=[];this.mv=[];var a=this.slideWidth(),b=this.slideHeight();this.TA=Math.max(a,b);var c=this.Kh(this.P(),a,b,!0);kh(c,this.TA+"px");this.Z=this.Kh(c,a,b,!0);this.jB=this.Kh(this.Z,a,b,!0);this.hv=this.Kh(this.Z,a,b,!0);E(this.hv,"visibility","hidden");if(this.Y==rB||this.Y==sB){b=df?4:8;c=this.M()?this.qa:this.V;const p=this.M()?this.V:this.qa;var d=this.slideWidth(),
e=this.slideHeight(),f=b/2-1;for(a=0;a<b;a++){var h=mB+Math.random()*(nB-mB),g=a<=f?-1:1,k=Math.floor((oB*Math.random()+pB)*(.5>Math.random()?-1:1));this.mv[a]=this.Um(this.jB,d,e,h,k,g);this.gv[a]=this.Um(this.hv,d,e,h,k,g)}d/=tB;e/=uB;f=0;g=[];for(a=0;a<tB;++a){h=0;k=Math.round((a+1)*d)-f;const r=f;for(let t=0;t<uB;++t){if(0==g.length)for(var l=0;l<b;++l)g[l]=l;l=Math.round((t+1)*e)-h;const v=h;var m=Math.floor(g.length*Math.random());const z=g[m];g.splice(m,1);m=this.gv[z].canvas;this.mv[z].canvas.getContext("2d").drawImage(c,
r,v,k,l,r,v,k,l);m.getContext("2d").drawImage(p,r,v,k,l,r,v,k,l);h+=l}f+=k}}else lB(this)}Kh(a,b,c,d){const e=vd("DIV");E(e,"position","absolute");Cg(e,b,c);a.appendChild(e);d&&jh(e,"preserve-3d");return e}Um(a,b,c,d,e,f){b=Y(b,c);E(b,"position","absolute");a.appendChild(b);return new vB(b,d,e,f)}XA(a){const b=this.M(),c=this.Y==sB||this.Y==wB;c&&!this.mz&&(!b&&a>=xB||b&&a<=xB)&&(this.mz=!0);var d=yB+zB,e=AB+zB;a>=yB&&a<d?(d=S(yB,0,d,1),a=d(a)):a>=AB&&a<e?(d=S(AB,1,e,0),a=d(a)):a=1;e=a;a=-this.TA*
e/2;d=-BB*e;e=CB*e*(this.mz?-1:1);c&&b&&(e=-e);J(this.Z,"translateZ("+a+"px) rotateY("+e+"deg) rotateX("+d+"deg)")}W(a){if(1!=a||!this.M()){this.XA(a);const f=2*this.TA;var b=this.M();let h=this.mv;if(b&&a<=DB||!b&&a>=DB)h=this.gv,this.iL||(this.iL=!0,E(this.hv,"visibility","visible"),E(this.jB,"visibility","hidden"));b=h.length;for(let g=0;g<b;++g){const k=h[g];var c=a;var d=EB+2*FB+GB+HB,e=d+EB;c<EB?(d=S(0,0,EB,1),c=d(c)):c>=d&&c<e?(d=S(d,1,e,0),c=d(c)):c=c>=EB&&c<d?1:0;c*=k.TU;{d=a;e=EB+FB;const l=
e+GB,m=l+HB;d>=e&&d<l?(e=S(e,0,l,1),d=e(d)):d>=l&&d<m?(e=S(l,1,m,0),d=e(d)):d=0}J(k.canvas,"translateZ("+(d*f*k.direction+c)+"px)")}}}}var zB=.4,yB=0,AB=.6,xB=.47,EB=.4,FB=.001,GB=.06,HB=.06,mB=.05,nB=.1,pB=50,oB=200,DB=.47,BB=15,CB=30,tB=128,uB=96;class vB{constructor(a,b,c,d){this.canvas=a;this.startTime=b;this.TU=c;this.direction=d}}var wB=1,rB=2,sB=3;class IB extends kw{constructor(a,b){super(a);this.fa(!1,!0);this.G=b}initialize(){W(this,!1);X(this,!0);this.$a=Y(this.slideWidth(),this.slideHeight());this.P().appendChild(this.$a)}W(a){var b=0;let c=0,d=0,e=0;var f=0;let h=0,g=0,k=0;switch(this.G){case JB:e=(this.slideHeight()/2+200)*a;c=e-200;g=this.slideHeight()-a*(this.slideHeight()/2+200);k=g+200;break;case KB:c=(this.slideHeight()/2+200)*(1-a);e=c-200;k=this.slideHeight()-(1-a)*(this.slideHeight()/2+200);g=k+200;break;case LB:d=(this.slideWidth()/
2+200)*a;b=d-200;f=this.slideWidth()-a*(this.slideWidth()/2+200);h=f+200;break;case MB:b=(this.slideWidth()/2+200)*(1-a),d=b-200,h=this.slideWidth()-(1-a)*(this.slideWidth()/2+200),f=h+200}a=this.$a.getContext("2d");a.clearRect(0,0,this.slideWidth(),this.slideHeight());a.drawImage(this.V,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;this.G==LB||this.G==
MB?a.fillRect(0,0,this.slideWidth()/2,this.slideHeight()):a.fillRect(0,0,this.slideWidth(),this.slideHeight()/2);f=a.createLinearGradient(f,g,h,k);f.addColorStop(0,"rgba(255, 255, 255, 0)");f.addColorStop(1,"rgba(255, 255, 255, 1)");a.fillStyle=f;this.G==LB||this.G==MB?a.fillRect(this.slideWidth()/2,0,this.slideWidth()/2,this.slideHeight()):a.fillRect(0,this.slideHeight()/2,this.slideWidth(),this.slideHeight()/2);a.restore()}}var LB=0,MB=1,JB=2,KB=3;class NB extends kw{constructor(a,b){super(a);this.fa(!1,!0);this.G=b}initialize(){W(this,!1);X(this,!0);this.$a=Y(this.slideWidth(),this.slideHeight());E(this.$a,"position","relative");this.P().appendChild(this.$a)}W(a){var b=0;let c=0,d=0,e=0;switch(this.G){case OB:e=(this.slideHeight()+400)*a;c=e-200;b=(this.slideWidth()+400)*(1-a);d=b-200;break;case PB:c=(this.slideHeight()+400)*(1-a);e=c-200;b=(this.slideWidth()+400)*(1-a);d=b-200;break;case QB:e=(this.slideHeight()+400)*a;c=e-200;d=(this.slideWidth()+
400)*a;b=d-200;break;case RB:d=(this.slideWidth()+400)*a,b=d-200,c=(this.slideHeight()+400)*(1-a),e=c-200}a=this.$a.getContext("2d");a.clearRect(0,0,this.slideWidth(),this.slideHeight());a.drawImage(this.V,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;a.fillRect(0,0,this.slideWidth(),this.slideHeight());a.restore()}}var OB=0,PB=1,QB=2,RB=3;function SB(a,b,c){var d=a.slideHeight()/2;const e=.25*(1-Math.cos(2*b*Math.PI));d=(c?-(d+a.Kg):a.slideHeight()+d+a.Kg)*e;b=-(c?1+b:2-b)*Math.max(a.slideWidth(),a.slideHeight());J(c?a.Id:a.Hd,"translateY("+d+"px) translateZ("+b+"px)")}
class TB extends kw{constructor(a,b,c){super(a);this.Kg=20;this.Ly=30;this.bO=20;this.aO=30;this.G=b;this.sq=c;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.ic=this.Na(a,b);this.P().appendChild(this.ic);var c=Y(a,b),d=Y(a,b);this.Ya=this.Na(a,b);this.Id=this.Na(a,b);this.Hd=this.Na(a,b);this.sq||(this.Vh=Y(a,b));this.Id.appendChild(c);this.Hd.appendChild(d);this.ic.appendChild(this.Ya);this.Ya.appendChild(this.Hd);this.Ya.appendChild(this.Id);
this.sq||(E(this.Vh,"position","absolute"),this.Ya.appendChild(this.Vh));c=c.getContext("2d");d=d.getContext("2d");c.drawImage(this.V,0,0);d.drawImage(this.qa,0,0);this.sq||(this.Vh.getContext("2d").drawImage(this.qa,0,0),this.M()||I(this.Vh,0));this.Ou=!1;this.sq&&(kh(this.ic,Math.max(a,b)+"px"),lh(this.ic,this.slideWidth()/2+"px "+this.slideHeight()/2+"px"),jh(this.Ya,"preserve-3d"))}Na(a,b){const c=w("DIV");Dg(c,a);Eg(c,b);E(c,"position","absolute");return c}W(a){const b=this.G==UB?-1:1;if(this.sq){var c=
.25*(1-Math.cos(2*a*Math.PI));var d=Math.max(this.slideHeight(),this.slideWidth()),e=this.aO,f=this.bO,h=this.Ly,g=-b*c*this.slideWidth()/2,k=c*this.slideHeight()*1.5;J(this.Ya,"translateZ("+d+"px) translateY("+k+"px) translateX("+g+"px) rotateX("+-e*c+"deg) rotateY("+-b*f*c+"deg) rotateZ("+b*h*c+"deg)");SB(this,a,!1);SB(this,a,!0)}else e=this.slideHeight()/2,c=.25*(1-Math.cos(2*a*Math.PI)),d=-e*c,e=(this.slideHeight()+e)*c,vg(this.Id,0,d),vg(this.Hd,0,e),vg(this.Vh,0,e),e=new nl,d=new nl,e.rotate(this.Ly*
Math.PI/180*b*c,0,0),d.rotate(this.Ly*Math.PI/180*b*c,0,0),Jn(this.Id,e),Jn(this.Hd,d),Jn(this.Vh,d),c=Math.max(1-a,.8),e.scale(c,c),Jn(this.Id,e),c=this.M()?Math.max(a,.8):Math.max(.5>a?1-a:a,.8),d.scale(c,c),Jn(this.Hd,d),Jn(this.Vh,d),.5<=a&&!this.Ou&&!this.M()?(this.Ou=!0,I(this.Vh,1)):.5>=a&&!this.Ou&&this.M()&&(this.Ou=!0,I(this.Vh,0))}}var UB=1;class VB extends kw{constructor(a,b,c){super(a);this.Xa=c;this.fa(!0,!0);this.li=b==UB}initialize(){W(this,!1);X(this,!1);const a=this.slideWidth(),b=this.slideHeight();this.hx=this.Na(a,b);this.P().appendChild(this.hx);this.gj=this.Na(a,b);this.ud=this.Na(a,b);this.sd=this.Na(a,b);this.li?(this.ud.appendChild(this.qa),this.sd.appendChild(this.V)):(this.ud.appendChild(this.V),this.sd.appendChild(this.qa));this.hx.appendChild(this.gj);this.li?(this.gj.appendChild(this.ud),this.gj.appendChild(this.sd)):
(this.gj.appendChild(this.sd),this.gj.appendChild(this.ud));this.jx=!1;this.Xa&&(kh(this.hx,Math.max(a,b)+"px"),lh(this.hx,this.slideWidth()/2+"px "+this.slideHeight()/2+"px"),jh(this.gj,"preserve-3d"))}W(a){a=this.li?1-a:a;this.Xa?this.ZB(a):this.aA(a)}ZB(a){function b(h){const g=h?-1:1,k=h?this.ud:this.sd;h="translateZ("+(h?e:f).call(this,a)*d+"px)rotateY("+-30*g*c+"deg)translateX("+g*c*this.slideWidth()*1.05+"px)";J(k,h)}const c=.25*(1-Math.cos(2*a*Math.PI)),d=Math.max(this.slideWidth(),this.slideHeight()),
e=S(0,0,1,-.3),f=S(0,-.3,1,0);b.call(this,!0);b.call(this,!1)}aA(a){function b(d){const e=d?-1:1;d=d?this.ud:this.sd;const f=new nl;f.scale(1-.5*c,1-.5*c);f.translate(e*c*this.slideWidth()*1.05,0);Jn(d,f)}this.li?.5>a&&!this.jx&&(this.gj.appendChild(this.ud),this.jx=!0):.5<=a&&!this.jx&&(this.gj.appendChild(this.sd),this.jx=!0);const c=.25*(1-Math.cos(2*a*Math.PI));this.slideWidth();this.slideHeight();b.call(this,!0);b.call(this,!1)}Na(a,b){const c=w("DIV");Dg(c,a);Eg(c,b);E(c,"position","absolute");
return c}};function WB(a,b){const c=Y(a,b),d=c.getContext("2d");d.fillStyle="#ffffff";d.fillRect(0,0,a,b);return c}
class XB extends kw{constructor(a,b){super(a);this.G=b;this.fa(!0,!0);this.vk()}vk(){var a=this.slideWidth(),b=this.slideHeight(),c=YB!=a||ZB!=b;if(!($B&&aC&&bC&&cC&&dC)||c){YB=a;ZB=b;$B=[];aC=[];bC=[];cC=[];dC=[];a=this.slideWidth();b=this.slideHeight();c=$B;const h=aC,g=bC;for(var d=0;d<eC;++d)c[d]=WB(a,b),h[d]=WB(a,b),g[d]=WB(a,b);d=fC/gC;const k=hC/gC,l=[],m=a/fC,p=b/hC;let r=0,t;for(let v=0;v<fC;++v){t=0;const z=Math.round((v+1)*m)-r,F=r;for(let D=0;D<hC;++D){const G=Math.round((D+1)*p)-t,Q=
t;if(0==l.length)for(var e=0;e<eC;++e)l[e]=e;e=Math.floor(l.length*Math.random());var f=l[e];l.splice(e,1);e=c[f].getContext("2d");const L=h[f].getContext("2d");f=g[f].getContext("2d");const M=a-(F+z),R=b-(Q+G),C=z+1,ha=G+1;e.clearRect(F,Q,C,ha);L.clearRect(M,Q,C,ha);f.clearRect(F,R,C,ha);0==F&&0==D%k&&dC.push(Q);0==Q&&0==v%d&&cC.push(F);t+=G}r+=z}}}Kh(a,b,c,d,e,f){const h=vd("DIV");E(h,"position","absolute");vg(h,b,c);Cg(h,d,e);a.appendChild(h);f&&jh(h,"preserve-3d");return h}Um(a,b,c,d,e,f,h,g,
k,l){a=this.Kh(a,b,c,d,e,!0);const m=Y(d,e);E(m,"position","absolute");a.appendChild(m);const p=Y(d,e);E(p,"position","absolute");a.appendChild(p);return new iC(a,m,p,b,c,k?d:e,f,h,g,this.gl,k,l)}initialize(){const a=this.G==jC||this.G==kC;W(this,!1);X(this,!1);const b=this.slideWidth(),c=this.slideHeight();this.Vq=Math.max(b,c);this.gl=ah();bh(this.gl,b/2,c/2,this.Vq,0);var d=this.Kh(this.P(),0,0,b,c,!0);kh(d,this.Vq+"px");this.Z=this.Kh(d,0,0,b,c,!0);this.Ot=Y(b,c);E(this.Ot,"position","absolute");
this.Z.appendChild(this.Ot);d=this.M()?this.qa:this.V;this.Ot.getContext("2d").drawImage(d,0,0);this.jC=[];d=cC;const e=dC;for(let z=0;z<gC;++z){var f=z+1==gC,h=0,g=0,k=b,l=c;a?(h=d[z],k=f?b-h:d[z+1]-h):(g=e[z],l=f?c-g:e[z+1]-g);f=h;h=this.G==kC||this.G==lC;const F=this.G==jC||this.G==kC;var m=this.slideWidth(),p=this.slideHeight();const D=this.Kh(this.Z,0,0,m,p,!0);var r=this.jC.length,t=h?r:gC-(r+1),v=.2/gC;r=v*t;t=v*(t+1);v=new mC(D,r+.1,F);p=F?m:p;m=p/(eC-1);p/=2;for(let G=0;G<eC;++G){const Q=
this.Um(D,f,g,k,l,r,t,p-G*m,F,h);v.RM.push(Q)}this.jC[z]=v}}W(a){const b=cC,c=dC,d=this.G==jC||this.G==kC,e=this.slideWidth(),f=this.slideHeight(),h=e/2,g=f/2,k=this.jC,l=k.length;for(let M=0;M<l;++M){const R=k[M];var m=M+1==l;let C=0,ha=0,Jb=e,pb=f;d?(C=b[M],Jb=m?e-C:b[M+1]-C):(ha=c[M],pb=m?f-ha:c[M+1]-ha);R.uF(a);const rd=R.RM,Xa=rd.length;for(let sc=0;sc<Xa;++sc){const Pa=rd[sc];if(!Pa.PM){var p=this.M()?a<=Pa.hN+.2:a>=Pa.vE;m=Pa;var r=sc,t=p;p=C;var v=ha,z=Jb,F=pb;const Ei=this.G==jC||this.G==
kC,Fi=this.M();var D=this.slideWidth(),G=this.slideHeight();const Op=this.Ot.getContext("2d"),Al=$B;var Q=aC,L=bC;const Pp=this.V,Bl=this.qa;t&&(t=Al[r],r=(Ei?Q:L)[r],Q=m.QD.getContext("2d"),L=m.qD.getContext("2d"),D-=p+z,G-=v+F,Q.drawImage(t,p,v,z,F,0,0,z,F),L.drawImage(r,D,G,z,F,0,0,z,F),Q.save(),Q.globalCompositeOperation="source-out",Q.drawImage(Pp,p,v,z,F,0,0,z,F),Q.restore(),L.save(),L.globalCompositeOperation="source-out",L.drawImage(Bl,D,G,z,F,0,0,z,F),L.restore(),Op.clearRect(Fi&&Ei?D:p,
Fi&&!Ei?G:v,z,F),m.PM=!0)}Pa.uF(a,h,g,R.IU)}}}}var $B,aC,bC,cC,dC,YB,ZB,nC=uf&&mf,oC=yf&&(We||Xe)||nC,fC=oC?32:128,hC=oC?24:96,gC=oC?4:8,eC=oC?4:8,pC=1-.2*1.5;class mC{constructor(a,b,c){this.SR=a;this.RM=[];this.wS=b;this.Qu=c}uF(a){const b=this.Qu;a=(a-this.wS)/pC;a=Math.min(Math.max(a,0),1);a=Math.PI*a*(b?1:-1);J(this.SR,(b?"rotateY":"rotateX")+"("+a+"rad)");this.IU=a}}function qC(a,b){const c=b?a.QD:a.qD,d=b?a.qD:a.QD;a.Lu=b;E(c,"visibility","visible");E(d,"visibility","hidden")}
function rC(a,b,c,d){return a>=b&&a<=b+.2?d*(a-b)/.2:a>=c?Math.max(d-d*(a-c)/.2,0):a>=b?d:0}
class iC{constructor(a,b,c,d,e,f,h,g,k,l,m,p){this.QD=b;this.qD=c;J(c,(m?"rotateY":"rotateX")+"(180deg)");this.Zb=f;this.Sa=a;this.rg=d;this.sg=e;this.gl=l;this.vE=h;this.rJ=h+(g-h)/2;this.QR=.8+this.vE-.2;this.hN=.8+this.rJ-.2;this.nP=0>k?-1:1;this.kQ=Math.abs(k);this.AQ=p;this.Qu=m;this.PM=!1;qC(this,!0)}uF(a,b,c,d){var e=this.Sa,f=this.kQ,h=this.Zb,g=rC(a,this.vE,this.QR,f);a=rC(a,this.rJ,this.hN,f);f=this.Qu;var k=this.AQ,l=this.nP,m=k?-l:l;f&&(m=k?l:-l);k=k?Math.max(g,a):Math.min(g,a);h=Math.atan2(g-
a,h)*m;g>a?ih(e,"0% 0%"):ih(e,"100% 100%");k*=l;J(e,"translateZ("+k+"px)"+((f?"rotateY":"rotateX")+"("+h+"rad)"));f=k;e=this.rg;g=this.sg;l=this.Zb;m=this.Qu;a=Array(16);a[0]=0;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=0;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=0;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=0;a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;m?(b-=(e-l)/2,eh(a,b,0,0),gh(a,d),eh(a,-b,0,0),eh(a,0,0,f),gh(a,h)):(b=c-(g-l)/2,eh(a,0,b,0),fh(a,
d),eh(a,0,-b,0),eh(a,0,0,f),fh(a,h));b=ah();bh(b,e,g,0,1);dh(a,b,b);d=ah();bh(d,b[0],b[1],b[2],0);ch(d,this.gl,d);b=ah();bh(b,e,g,1,0);c=ah();bh(c,e,g,0,0);ch(b,c,b);dh(a,b,b);d=Zg(b,d);this.Lu?0<=d&&qC(this,!1):0>=d&&qC(this,!0)}}var jC=0,kC=2,lC=3;class sC extends Bw{constructor(a,b){super(a);this.G=b;this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);lw(this,this.V);this.wb();mat4.translate(this.na,[-this.slideWidth()/2,this.slideHeight()/2,0]);Aw(this)}oe(){xw(this);this.yG=vw(this,"aDelay");this.fI=vw(this,"aMaxDistance");this.qr=ww(this,"uSampler1");this.rr=ww(this,"uSampler2");this.Tc=ww(this,"uPhase");const a=ww(this,"uSlideWidth"),b=ww(this,"uHorizontal");this.F.uniform1f(ww(this,"uSlideHeight"),this.slideHeight());this.F.uniform1f(a,
this.slideWidth());this.F.uniform1i(b,this.G==jC||this.G==kC?1:0)}ge(){yw(this,this.yG);yw(this,this.fI)}$y(){const a=this.F;a.bindBuffer(a.ARRAY_BUFFER,this.Lz);a.vertexAttribPointer(this.yG,this.Lz.Uo,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.Oz);a.vertexAttribPointer(this.fI,this.Oz.Uo,a.FLOAT,!1,0,0)}wb(){var a=this.slideWidth();const b=this.slideHeight();var c=uf&&mf,d=df&&mf||c;c=d?26:50;d=d?20:45;const e=a/c,f=b/d;this.mb=new tC;for(let k=0;k<d;++k)for(let l=0;l<c;++l){var h=new uC(l*
e,k*f,e,f,a,b,this.G),g=this.mb;g.QB=g.QB.concat(h.HE());g.Mz=g.Mz.concat(h.CD());g.Pz=g.Pz.concat(h.ED());g.GC=g.GC.concat(h.rF());const m=4*g.oG;for(let p=0;p<h.Kf().length;p++)g.Ed.push(h.Kf()[p]+m);g.oG++}this.mg=new Wv;a=pw(this,this.mb.HE(),3);this.mg.Uc=a;a=pw(this,this.mb.rF(),2);this.mg.$c=a;a=qw(this,this.mb.Kf());this.mg.Lc=a;this.Lz=pw(this,this.mb.CD(),1);this.Oz=pw(this,this.mb.ED(),1)}fe(){mw(this,this.mg);this.F.deleteBuffer(this.Lz);this.F.deleteBuffer(this.Oz);this.F.deleteTexture(this.Fr)}W(a){this.F.uniform1f(this.Tc,
a);uw(this,this.mg)}nq(){this.Er=nw(this,this.F.TEXTURE0,this.qr,0,this.V);this.Fr=nw(this,this.F.TEXTURE1,this.rr,1,this.qa,this.dA.bind(this))}dA(a,b,c,d){this.G==jC||this.G==kC?(a.translate(c,0),a.scale(-1,1)):(a.translate(0,d),a.scale(1,-1));a.drawImage(b,0,0,c,d)}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler1;\n\t\tuniform sampler2D uSampler2;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tvec3 n = normalize(vNormal);\n\t\t\tvec3 lightingDirection = vec3(0.0, 0.0, 1.0);\n\t\t\tfloat directionalLightWeighting = abs(dot(n, lightingDirection));\n\t\t\tfloat intentsity = 0.4 + 0.6 * directionalLightWeighting;\n\t\t\tvec4 textureColor;\n\t\t\tif(gl_FrontFacing)\n\t\t\t{\n\t\t\t\ttextureColor = texture2D(uSampler2, vTextureCoord);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ttextureColor = texture2D(uSampler1, vTextureCoord);\n\t\t\t}\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec2 aTextureCoord;\n\t\tattribute float aDelay;\n\t\tattribute float aMaxDistance;\n\n\t\tuniform mat4 uPMVMatrix;\n\n\t\tuniform mat3 uNMatrix;\n\n\t\tuniform float uPhase;\n\t\tuniform float uSlideHeight;\n\t\tuniform float uSlideWidth;\n\t\tuniform bool uHorizontal;\n\n\t\tconst float MAX_DELAY = 0.5;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tfloat linearInterpolation(float x, float x0, float fx0, float x1, float fx1)\n\t\t{\n\t\t\treturn mix(fx0, fx1, (x - x0) / (x1 - x0));\n\t\t}\n\t\tmat4 rotationXmatrix(float angle)\n\t\t{\n\t\t  float ang = radians(angle);\n\t\t  float cosA = cos(ang);\n\t\t  float sinA = sin(ang); \n\n\t\t  mat4 m; \n\t\t  m[0] = vec4(1, 0, 0, 0);\n\t\t  m[1] = vec4(0, cosA, sinA, 0);\n\t\t  m[2] = vec4(0, -sinA, cosA, 0);\n\t\t  m[3] = vec4(0, 0, 0, 1);\n\t\t  return m;\n\t\t}\n\t\tmat4 rotationYmatrix(float angle)\n\t\t{\n\t\t  float ang = radians(angle);\n\t\t  float cosA = cos(ang);\n\t\t  float sinA = sin(ang); \n\n\t\t  mat4 m; \n\t\t  m[0] = vec4(cosA, 0, -sinA, 0);\n\t\t  m[1] = vec4(0, 1, 0, 0);\n\t\t  m[2] = vec4(sinA, 0, cosA, 0);\n\t\t  m[3] = vec4(0, 0, 0, 1);\n\t\t  return m;\n\t\t}\n\t\tmat4 translationMatrix(float x, float y, float z)\n\t\t{\n\t\t  mat4 t = mat4(1.0);\n\t\t  t[3] = vec4(x, y, z, 1.0);\n\t\t  return t;\n\t\t}\n\n\t\tmat4 positionMatrix()\n\t\t{\n\t\t\tfloat endTime = linearInterpolation(aDelay, 0.0, 1.0 - MAX_DELAY, MAX_DELAY, 1.0);\n\t\t\tfloat pPhase = linearInterpolation(uPhase, aDelay, 0.0, endTime, 1.0);\n\t\t\tif (uPhase < aDelay)\n\t\t\t{\n\t\t\t\tpPhase = 0.0;\n\t\t\t}\n\t\t\telse if (uPhase > endTime)\n\t\t\t{\n\t\t\t\tpPhase = 1.0;\n\t\t\t}\n\t\t\tfloat z =  4.0 * aMaxDistance * pPhase * (pPhase - 1.0);\n\t\t\tfloat rotation = 180.0 * pPhase;\n\n\t\t\tmat4 m = mat4(1.0);\n\n\t\t\tvec3 pivotPoint = vec3(- uSlideWidth / 2.0, uSlideHeight / 2.0, 0.0);\n\t\t\tm = m * translationMatrix(-pivotPoint.x, -pivotPoint.y, -pivotPoint.z);\n\t\t\tif (uHorizontal)\n\t\t\t{\n\t\t\t   m = m * rotationYmatrix(rotation);//left right\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\tm = m * rotationXmatrix(rotation);//top bottom\n\t\t\t}\n\t\t\tm = m * translationMatrix(pivotPoint.x, pivotPoint.y, pivotPoint.z);\n\t\t\tm = m * translationMatrix(0.0, 0.0, z);\n\n\t\t\treturn m;\n\t\t}\n\n\t\tvec3 getVertexPosition() \n\t\t{ \n\t\t\tmat4 m = positionMatrix();\n\t\t\tvec4 v = m * vec4(aVertexPosition, 1.0);\n\t\t\treturn v.xyz;\n\t\t} \n\t\tvec3 getNormal() \n\t\t{\n\t\t\tmat4 m = positionMatrix();\n\t\t\tvec4 v = m * vec4(0 ,0, 1, 0.0);\n\t\t\treturn v.xyz;\n\t\t}\n\t\tvoid main(void)\n\t\t{\n\t\t\tvTextureCoord = aTextureCoord;\n\n\t\t\tvec3 pos = getVertexPosition();\n\t\t\tvec3 n = getNormal();\n\t\t\tn = normalize(n);\n\t\t\tgl_Position = uPMVMatrix * vec4(pos, 1.0); \n\t\t\tvNormal = uNMatrix * n;\n\t\t}"}}
class tC{constructor(){this.oG=0;this.QB=[];this.Mz=[];this.Pz=[];this.GC=[];this.Ed=[]}HE(){return this.QB}CD(){return this.Mz}ED(){return this.Pz}rF(){return this.GC}Kf(){return this.Ed}}
class uC{constructor(a,b,c,d,e,f,h){this.Fa=a;this.Ga=b;this.Ci=0;this.la=c;this.ha=d;this.wL=e;this.vL=f;this.Vu=(.5<Math.random()?-1:1)*Math.random()*2*Math.max(e,f);switch(h){case jC:this.nd=S(0,.5,e,0)(a);break;case kC:this.nd=S(0,0,e,.5)(a);break;case 1:this.nd=S(0,.5,f,0)(b);break;case lC:this.nd=S(0,0,f,.5)(b)}}HE(){const a=this.Fa,b=-this.Ga,c=this.Ci,d=this.la,e=-this.ha;return[a,b,c,a+d,b,c,a,b+e,c,a+d,b+e,c]}rF(){const a=this.Fa/this.wL,b=this.Ga/this.vL,c=this.la/this.wL,d=this.ha/this.vL;
return[a,b,a+c,b,a,b+d,a+c,b+d]}Kf(){return[0,1,3,0,3,2]}CD(){return[this.nd,this.nd,this.nd,this.nd]}ED(){return[this.Vu,this.Vu,this.Vu,this.Vu]}};function vC(a,b,c,d,e){const f=a.slideWidth()/2*(1-c);a=a.slideHeight()/2*(1-c);d.save();d.translate(f,a);d.scale(c,c);d.globalAlpha=2*b;d.drawImage(e,0,0);d.restore()}function wC(a,b,c,d,e){const f=-c*a.slideWidth()*b/2;a=-c*a.slideHeight()*b/2;c=1+c*b;d.save();d.translate(f,a);d.scale(c,c);b=Math.min(1-2*b,1);b=Math.max(b,0);d.globalAlpha=b;d.drawImage(e,0,0);d.restore()}
class xC extends kw{constructor(a,b,c,d){super(a);this.Y=b;this.Ha=c;this.QP=d;this.Ha?this.fa(!1,!1,!0,!0,!0,!0):this.fa(!0,!0)}initialize(){W(this,!1);X(this,!1);const a=this.slideWidth(),b=this.slideHeight();if(this.Ha){var c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.fv,0,0);this.sl=c;c=Y(a,b);E(c,"position","absolute");this.P().appendChild(c);c.getContext("2d").drawImage(this.lv,0,0);this.vl=c}this.vC=Y(a,b);E(this.vC,"position","absolute");this.P().appendChild(this.vC);
this.nf=this.vC.getContext("2d")}W(a){var b=this.slideWidth(),c=this.slideHeight();this.Ha&&(I(this.vl,1-a),I(this.sl,a));const d=this.Ha?this.Aj:this.V,e=this.Ha?this.Uh:this.qa,f=this.nf;f.clearRect(0,0,b,c);b=this.Y==yC?1:-1;a=Uv(0,1,a);c=S(0,6,1,1);c=this.QP?Vv(4,.8,4,a):this.Y==yC?2-a:c(a);c=this.Y==yC?1/c:c;this.Y==yC?(vC(this,a,c,f,e),wC(this,2*a,b,f,d)):(wC(this,.5*a,b,f,d),vC(this,a,c,f,e))}}var yC=0;class zC extends kw{constructor(a){super(a);this.fa(!0,!1)}initialize(){var a=this.slideWidth(),b=this.slideHeight();X(this,!1);const c=Y(a,b);this.Sq=c.getContext("2d");this.$a=Y(a,b);this.Nc=this.$a.getContext("2d");a*=.5;b*=.5;this.xd=Math.sqrt(a*a+b*b);E(c,"position","absolute");this.P().appendChild(c)}W(a){var b=this.slideWidth(),c=this.slideHeight(),d=this.Nc;d.clearRect(0,0,b,c);b=(1.5+1.08*a)*Math.PI;a=b-.08*Math.PI;this.Qz(a,b);b=.5*this.slideWidth();c=.5*this.slideHeight();a>=1.5*Math.PI&&
(d.beginPath(),d.moveTo(b,c),d.arc(b,c,this.xd,3*Math.PI-a,a,!1),d.lineTo(b,c),d.fillStyle="#000",d.fill());d=this.Sq;d.drawImage(this.qa,0,0);d.save();d.globalCompositeOperation="destination-in";d.drawImage(this.$a,0,0);d.restore()}ku(a,b,c,d,e,f,h){const g=this.Nc;g.fillStyle="rgba(0,0,0,"+h.toString()+")";g.beginPath();g.moveTo(a,b);g.lineTo(c,d);g.lineTo(e,f);g.fill()}Qz(a,b){const c=.5*this.slideWidth(),d=.5*this.slideHeight();let e=AC;b-=a;var f=a;f<1.5*Math.PI&&(e=(1.5*Math.PI-a)/b,f=1.5*Math.PI);
let h=c+this.xd*Math.cos(f),g=d+this.xd*Math.sin(f),k=c+this.xd*Math.cos(3*Math.PI-f);for(f=d+this.xd*Math.sin(3*Math.PI-f);1>=e;){let l=a+e*b;l>2.5*Math.PI&&(l=2.5*Math.PI);const m=c+this.xd*Math.cos(l),p=d+this.xd*Math.sin(l);this.ku(c,d,h,g,m,p,1-e);const r=c+this.xd*Math.cos(3*Math.PI-l),t=d+this.xd*Math.sin(3*Math.PI-l);this.ku(c,d,k,f,r,t,1-e);e+=AC;h=m;g=p;k=r;f=t;if(l==2.5*Math.PI)break}}}var AC=1/15;class BC extends kw{constructor(a,b){super(a);this.ki=!1;0>b&&(b=-b,this.ki=!0);this.xC=b;this.fa(!0,!1)}initialize(){var a=this.slideWidth();const b=this.slideHeight();X(this,!1);const c=Y(a,b);this.Sq=c.getContext("2d");this.$a=Y(a,b);this.Nc=this.$a.getContext("2d");this.Nc.scale(1,b/a);a*=.5;this.xd=Math.sqrt(2*a*a);E(c,"position","absolute");this.P().appendChild(c)}W(a){var b=this.slideWidth();this.slideHeight();const c=this.Nc;let d=2/this.xC,e=.2/this.xC;this.ki&&(d=-d,e=-e);c.clearRect(0,
0,b,b);for(b=0;b<this.xC;++b){var f=(1.5+b*d)*Math.PI,h=f+a*(e+d)*Math.PI,g=h-e*Math.PI;this.Qz(g,h,f,f+d*Math.PI);h=c;const k=.5*this.slideWidth();if(this.ki&&g<=f||!this.ki&&g>=f)h.beginPath(),h.moveTo(k,k),this.ki?h.arc(k,k,this.xd,f,g,!0):h.arc(k,k,this.xd,f,g,!1),h.lineTo(k,k),h.fillStyle="#000",h.fill()}a=this.Sq;a.drawImage(this.qa,0,0);a.save();a.globalCompositeOperation="destination-in";a.drawImage(this.$a,0,0);a.restore()}ku(a,b,c,d,e,f,h){const g=this.Nc;g.fillStyle="rgba(0,0,0,"+Rn(h).toString()+
")";g.beginPath();g.moveTo(a,b);g.lineTo(c,d);g.lineTo(e,f);g.fill()}Qz(a,b,c,d){const e=.5*this.slideWidth();let f=CC;b-=a;var h=a;if(this.ki&&h>c||!this.ki&&h<c)f=(c-a)/b,h=c;c=e+this.xd*Math.cos(h);for(h=e+this.xd*Math.sin(h);1>=f;){let g=a+f*b;if(this.ki&&g<d||!this.ki&&g>d)g=d;const k=e+this.xd*Math.cos(g),l=e+this.xd*Math.sin(g);this.ku(e,e,c,h,k,l,1-f);f+=CC;c=k;h=l;if(g==d)break}}}var CC=1/15;function DC(a,b,c){let d=1;for(let e=1;e<=b;e++)d*=(a-(b-e))/e;return d*Math.pow(c,b)*Math.pow(1-c,a-b)}function EC(a,b,c,d){let e=a.Rg(b,c,0);const f=b.toString()+c.toString();let h;void 0===a.Xq[f]?(h=[a.Jd[e+0],a.Jd[e+1],a.Jd[e+2]],a.Xq[f]=[h[0],h[1],h[2]]):h=[a.Xq[f][0],a.Xq[f][1],a.Xq[f][2]];mat4.multiplyVec3(d,h,h);a.Jd[e+0]=h[0];a.Jd[e+1]=h[1];a.Jd[e+2]=h[2];e=a.Rg(b,c,1);a.Jd[e+0]=h[0];a.Jd[e+1]=h[1];a.Jd[e+2]=h[2]}
function FC(a,b,c){var d=Math.sqrt(a.slideWidth()*a.slideWidth()+a.slideHeight()*a.slideHeight()),e=a.G==GC?new U(a.slideWidth(),a.slideHeight(),0):new U(-a.slideWidth(),a.slideHeight(),0);e.normalize();d=2*Math.PI/(.25*d);e.Fa*=d;e.Ga*=d;e.Ci*=d;d=b.position().x()/a.slideWidth();a.G!=GC&&(d=1-d);a=25*d;var f=b.position();b=10*Math.PI;d=Math;var h=d.cos;e=Wg(Ug(),e.x(),e.y(),e.z());f=Wg(Ug(),f.x(),f.y(),f.z());return a*h.call(d,Zg(e,f)-b*c)}
function HC(a,b,c,d,e){const f=mat4.create();b=Math.min(1,Math.max(0,b(e)));c=S(0,c,1,d);mat4.identity(f);mat4.translate(f,[0,0,c(b)]);EC(a,a.G==GC?0:3,0,f)}
function IC(a,b){var c=S(.1,0,.4,1),d=S(.2,0,.9,1);const e=S(.4,0,.6,1),f=S(.6,0,1,1),h=mat4.create(),g=Math.min(1,Math.max(0,c(b)));c=a.G==GC?3:0;let k=a.G==GC?-1:1;mat4.identity(h);mat4.translate(h,[.02*k*a.slideWidth()*Math.sin(2*Math.PI*g),0,0]);EC(a,c,0,h);mat4.identity(h);mat4.translate(h,[.015*k*a.slideWidth()*Math.sin(4*Math.PI*g),0,0]);EC(a,c,2,h);mat4.identity(h);mat4.translate(h,[.2*k*a.slideWidth()*Math.max(0,g-.1),0,-.2*a.slideHeight()*Math.max(0,g-.1)]);EC(a,c,3,h);d=Math.min(1,Math.max(0,
d(b)));c=a.G==GC?1:2;k=a.G==GC?1:-1;mat4.identity(h);mat4.translate(h,[.5*k*a.slideWidth()*d,0,.5*a.slideHeight()*d]);EC(a,c,2,h);EC(a,c,1,h);EC(a,c,0,h);.4<=b&&.6>b&&HC(a,e,0,.2*a.slideHeight(),b);.6<=b&&HC(a,f,.2*a.slideHeight(),-.7*a.slideHeight(),b);mat4.identity(h);mat4.translate(h,[0,0,-.3*a.slideHeight()*Math.sin(1.5*Math.PI*d)]);c=a.G==GC?0:3;EC(a,c,0,h)}
function JC(a,b){for(var c=0;c<a.Sc.length();c++){var d=a.Sc.oa[c];d=a.G==GC?d.position().x()>.2*a.slideWidth()?FC(a,d,b):0:d.position().x()<.8*a.slideWidth()?FC(a,d,b):0;var e=a.$j.oa[c],f=a,h=a.PL[c];let g;const k=new U;for(let l=0;4>l;l++){const m=new U;for(let p=0;4>p;p++){const r=new U;for(let t=0;2>t;t++){const v=f.Rg(l,p,t);g=h[2][t];Xv(r,new U(f.Jd[v+0]*g,f.Jd[v+1]*g,f.Jd[v+2]*g))}g=h[1][p];Xv(m,new U(r.x()*g,r.y()*g,r.z()*g))}g=h[0][l];Xv(k,new U(m.x()*g,m.y()*g,m.z()*g))}$v(e,k.add(new U(0,
0,d)));aw(a.$j.oa[c],new U)}a.lz();for(b=0;b<a.Ur.length;b++)c=a.Ur[b],aw(c.Hk,c.Hk.Lb.add(c.n)),aw(c.yp,c.yp.Lb.add(c.n)),aw(c.zp,c.zp.Lb.add(c.n))}function KC(a,b){var c=S(.3,0,.9,1);const d=S(.05,0,.3,1);mat4.set(a.Nr,a.na);c=Math.min(1,Math.max(0,c(b)));mat4.translate(a.na,[(a.G==GC?1:-1)*a.slideWidth()*Math.pow(c,2),.7*a.slideHeight()*Math.pow(c,2),0]);b=Math.min(1,Math.max(0,d(b)));mat4.translate(a.na,[0,-1*b*a.slideHeight()*-.02,0])}
class LC extends Bw{constructor(a,b){super(a);this.G=b;this.fa(!1,!0)}initialize(){W(this,!1);X(this,!0);lw(this,this.V);this.wb();this.F.enable(this.F.DEPTH_TEST);mat4.translate(this.na,[-this.slideWidth()/2,this.slideHeight()/2,0]);this.Nr=mat4.create();mat4.set(this.na,this.Nr)}wb(){this.Sc=Wx(20,20,this.slideWidth(),this.slideHeight());for(var a=this.G==GC?Zx(20,20):Yx(20,20),b=[],c=0,d=a.length;c+2<d;){var e=a[c++];if(!(0>e)){var f=a[c++];if(!(0>f))for(var h=!0;c<d;){var g=a[c++];if(0>g)break;
e!=f&&e!=g&&f!=g&&b.push(e,f,g);h?e=g:f=g;h=!h}}}this.Ub=b;this.$j=new hw;for(a=0;a<this.Sc.length();a++)cw(this.$j,this.Sc.oa[a].clone());this.Ur=[];for(a=0;a<this.Ub.length;a+=3)this.Ur.push(new Ix(this.$j.oa[this.Ub[a]],this.$j.oa[this.Ub[a+1]],this.$j.oa[this.Ub[a+2]]));this.Ge=new Wv;a=pw(this,ew(this.Sc),3);this.Ge.Uc=a;a=pw(this,gw(this.Sc),3);this.Ge.Yh=a;a=pw(this,fw(this.Sc),2);this.Ge.$c=a;a=qw(this,this.Ub);this.Ge.Lc=a;a=[0,-1*this.slideHeight(),0];b=[this.slideWidth(),0,1E-11];this.Ny=
Wg(Vg(),b[0]-a[0],0,0);this.Oy=Wg(Vg(),0,b[1]-a[1],0);this.Py=Wg(Vg(),0,0,b[2]-a[2]);this.PL=[];c=$g(this.Oy,this.Py,Vg());d=$g(this.Ny,this.Py,Vg());e=$g(this.Ny,this.Oy,Vg());f=Zg(c,this.Ny);h=Zg(d,this.Oy);g=Zg(e,this.Py);for(var k=0;k<this.Sc.length();k++){var l=this.Sc.oa[k],m=Wg(Vg(),l.position().x(),l.position().y(),l.position().z());Xg(m,Wg(Vg(),a[0],a[1],a[2]),m);l=Zg(c,Yg(m,1/f));var p=Zg(d,Yg(m,1/h));const r=Zg(e,Yg(m,1/g)),t=[];t.push([],[],[]);for(m=0;4>m;m++)t[0].push(DC(3,m,l));for(m=
0;4>m;m++)t[1].push(DC(3,m,p));for(m=0;2>m;m++)t[2].push(DC(1,m,r));this.PL.push(t)}this.Jd=[];for(c=0;4>c;c++)for(d=0;4>d;d++)for(e=0;2>e;e++)f=this.Rg(c,d,e),h=a,g=b,k=d,l=e,p=[0,0,0],p[0]=h[0]+c/3*(g[0]-h[0]),p[1]=h[1]+k/3*(g[1]-h[1]),p[2]=h[2]+l/1*(g[2]-h[2]),h=p,this.Jd[f]=h[0],this.Jd[f+1]=h[1],this.Jd[f+2]=h[2];this.Xq={}}Rg(a,b,c){return 3*(a+4*b+16*c)}fe(){mw(this,this.Ge)}ge(){yw(this,this.wg)}ie(){return"precision mediump float;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tuniform sampler2D uSampler;\n\n\t\tconst vec3 LIGHT_DIRECTION = vec3(0.0, 0.0, 1.0);\n\t\tconst float AMBIENT_INTENSITY = 0.4;\n\t\tconst float DIFFUSE_INTENSITY = 0.6;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tfloat diffuseFactor = dot(normalize(vNormal), LIGHT_DIRECTION);\n\t\t\tfloat intentsity = AMBIENT_INTENSITY + DIFFUSE_INTENSITY * diffuseFactor * diffuseFactor;\n\t\t\tvec4 textureColor = texture2D(uSampler, vTextureCoord);\n\t\t\tgl_FragColor = vec4(textureColor.rgb * intentsity, textureColor.a);\n\t\t}"}je(){return"attribute vec3 aVertexPosition;\n\t\tattribute vec3 aVertexNormal;\n\t\tattribute vec2 aTextureCoord;\n\n\t\tuniform mat4 uPMVMatrix;\n\n\t\tuniform mat3 uNMatrix;\n\n\t\tvarying vec2 vTextureCoord;\n\t\tvarying vec3 vNormal;\n\n\t\tvoid main(void)\n\t\t{\n\t\t\tgl_Position = uPMVMatrix * vec4(aVertexPosition, 1.0);\n\t\t\tvTextureCoord = aTextureCoord;\n\t\t\tvNormal = uNMatrix * normalize(aVertexNormal);\n\t\t}"}oe(){xw(this);
this.wg=vw(this,"aVertexNormal");this.sc=ww(this,"uSampler")}rf(){return this.sc}Zp(){return this.wg}lz(){for(let a=0;a<this.Ur.length;a++){const b=this.Ur[a];b.n=Yv(b.Hk.position().gf(b.yp.position()),b.Hk.position().gf(b.zp.position()));b.n.normalize()}}W(a){IC(this,a);JC(this,a);KC(this,a);Aw(this);uw(this,this.Ge,this.F.TRIANGLES,function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(ew(this.$j)))}.bind(this),function(){this.F.bufferSubData(this.F.ARRAY_BUFFER,0,new Float32Array(gw(this.$j)))}.bind(this))}}
var GC=0;class MC extends kw{constructor(a,b){super(a);this.fa(!1,!0);this.G=b}initialize(){this.ma().hd();W(this,!1);X(this,!0);this.$a=Y(this.slideWidth(),this.slideHeight());this.P().appendChild(this.$a)}W(a){var b=0;let c=0,d=0,e=0;switch(this.G){case NC:e=(this.slideHeight()+400)*a;c=e-200;break;case OC:c=(this.slideHeight()+400)*(1-a);e=c-200;break;case PC:b=(this.slideWidth()+400)*(1-a);d=b-200;break;case QC:d=(this.slideWidth()+400)*a,b=d-200}a=this.$a.getContext("2d");a.clearRect(0,0,this.slideWidth(),
this.slideHeight());a.drawImage(this.V,0,0);a.save();a.globalCompositeOperation="destination-out";b=a.createLinearGradient(b,c,d,e);b.addColorStop(0,"rgba(255, 255, 255, 1)");b.addColorStop(1,"rgba(255, 255, 255, 0)");a.fillStyle=b;a.fillRect(0,0,this.slideWidth(),this.slideHeight());a.restore()}}var OC=0,NC=1,PC=2,QC=3;function RC(a,b){function c(F){F.rotate(g,0,0);F.translate(v,z);F.scale(r,t)}var d=a.slideWidth(),e=a.slideHeight();const f=d/2,h=e/2,g=S(0,0,1,-a.nI)(b),k=a.zc.width/d,l=a.zc.height/e;var m=S(0,a.zc.left,1,0)(b),p=S(0,a.zc.top,1,0)(b);d=S(0,a.zc.left+a.zc.width,1,d)(b);e=S(0,a.zc.top+a.zc.height,1,e)(b);const r=(d-m)/a.zc.width,t=(e-p)/a.zc.height,v=b*(f-(a.zc.left+.5*a.zc.width))/k,z=b*(h-(a.zc.top+.5*a.zc.height))/l;m=new nl;c(m);(function(F){F.translate(a.zc.left,a.zc.top);F.translate(-f,-h);
F.scale(k,l);F.translate(f,h);F.rotate(a.nI,0,0)})(m);p=new nl;c(p);a.Xf.Dh()&&(e=.5<b?1:S(0,0,.5,1)(b),I(a.gk,e));a.iH&&(b=.5<b?0:S(0,1,.5,0)(b),I(a.iH,b));Jn(a.gk,m);Jn(a.Lm,p)}
class SC extends kw{constructor(a){super(a);this.uc=!1;a=a.Bp();this.Xf=a.effect();this.Fl=a.Si();this.Uu=a.jE();this.zc=this.Xf.ia();this.nI=this.Xf.rotation();a=this.slideWidth();const b=this.slideHeight();var c=this.Pa().slide();this.jH=[];this.iH=null;if(!this.Fl){const d=this.Xf.Dh()?[]:[this.Xf.sp()];this.jH=Nr(d,c);c=!this.Xf.Dh();this.fa(!0,!0,c,!1,c,!1)}this.Hq=vd("DIV");this.Hq.setAttribute("id","mainbg");this.Lm=vd("DIV");this.Lm.setAttribute("id","source");this.gk=vd("DIV");this.gk.setAttribute("id",
"destination");Cg(this.gk,a,b);Cg(this.Lm,a,b);Cg(this.Hq,a,b);this.P().appendChild(this.Hq);this.P().appendChild(this.Lm);this.P().appendChild(this.gk)}WI(){Or(this.jH)}initialize(){W(this,!1);X(this,!1);this.Fl?(this.Uu&&this.Hq.appendChild(this.Uu),I(this.Lm,0),I(this.gk,0)):(this.Lm.appendChild(this.V),this.Xf.Dh()?this.gk.appendChild(this.qa):this.gk.appendChild(this.Uh))}W(a){a=Tv(a);if(this.Fl){var b=a,c=this.slideWidth(),d=this.slideHeight();a=c/2;const h=d/2,g=new nl,k=this.Xf.ia(),l=this.Fl.ia();
var e=c/l.width,f=d/l.height;const m=S(0,this.Fl.rotation(),1,this.Xf.rotation())(b);d/=k.height;c=S(0,e,1,c/k.width)(b);f=S(0,f,1,d)(b);e=S(0,l.left,1,k.left)(b);b=S(0,l.top,1,k.top)(b);g.rotate(-m,0,0);g.translate(-a,-h);g.scale(c,f);g.translate(a,h);g.translate(-e,-b);Jn(this.Hq,g)}else RC(this,a)}};class TC{constructor(a){const b=xh(),c=Fb&&11>=parseFloat(Ub)?!1:xh(),d=yh();if(!Ys){const e={"null":function(g){return new Zs(g)},Cut:function(g){return new ay(g)},CutThroughBlack:function(g){return new by(g)}};c?(e.BlindsHorizontal=function(g){return new Jw(g,1)},e.BlindsVertical=function(g){return new Jw(g,Iw)}):(e.BlindsHorizontal=function(g){return new Nw(g,1)},e.BlindsVertical=function(g){return new Nw(g,Ow)});e.CheckerboardAcross=function(g){return new bx(g,ax)};e.CheckerboardDown=function(g){return new bx(g,
$w)};e.Dissolve=function(g){return new cy(g)};e.FadeThroughBlack=function(g){return new oy(g)};b&&2013>a&&2007!=a?(e.CoverLeft=function(g){return new sx(g,xx,!1)},e.CoverUp=function(g){return new sx(g,ux,!1)},e.CoverRight=function(g){return new sx(g,yx,!1)},e.CoverDown=function(g){return new sx(g,wx,!1)},e.CoverLeftUp=function(g){return new sx(g,Ax,!1)},e.CoverRightUp=function(g){return new sx(g,Cx,!1)},e.CoverLeftDown=function(g){return new sx(g,zx,!1)},e.CoverRightDown=function(g){return new sx(g,
Bx,!1)},e.UncoverLeft=function(g){return new sx(g,xx,!0)},e.UncoverUp=function(g){return new sx(g,ux,!0)},e.UncoverRight=function(g){return new sx(g,yx,!0)},e.UncoverDown=function(g){return new sx(g,wx,!0)},e.UncoverLeftUp=function(g){return new sx(g,Ax,!0)},e.UncoverRightUp=function(g){return new sx(g,Cx,!0)},e.UncoverLeftDown=function(g){return new sx(g,zx,!0)},e.UncoverRightDown=function(g){return new sx(g,Bx,!0)}):(e.CoverLeft=function(g){return new Hx(g,xx,!1)},e.CoverUp=function(g){return new Hx(g,
ux,!1)},e.CoverRight=function(g){return new Hx(g,yx,!1)},e.CoverDown=function(g){return new Hx(g,wx,!1)},e.CoverLeftUp=function(g){return new Hx(g,Ax,!1)},e.CoverRightUp=function(g){return new Hx(g,Cx,!1)},e.CoverLeftDown=function(g){return new Hx(g,zx,!1)},e.CoverRightDown=function(g){return new Hx(g,Bx,!1)},e.UncoverLeft=function(g){return new Hx(g,xx,!0)},e.UncoverUp=function(g){return new Hx(g,ux,!0)},e.UncoverRight=function(g){return new Hx(g,yx,!0)},e.UncoverDown=function(g){return new Hx(g,
wx,!0)},e.UncoverLeftUp=function(g){return new Hx(g,Ax,!0)},e.UncoverRightUp=function(g){return new Hx(g,Cx,!0)},e.UncoverLeftDown=function(g){return new Hx(g,zx,!0)},e.UncoverRightDown=function(g){return new Hx(g,Bx,!0)});e.RandomBarsHorizontal=function(g){return new OA(g,PA)};e.RandomBarsVertical=function(g){return new OA(g,QA)};e.StripsLeftUp=function(g){return new NB(g,PB)};e.StripsRightUp=function(g){return new NB(g,RB)};e.StripsLeftDown=function(g){return new NB(g,OB)};e.StripsRightDown=function(g){return new NB(g,
QB)};e.WipeLeft=function(g){return new MC(g,PC)};e.WipeUp=function(g){return new MC(g,OC)};e.WipeRight=function(g){return new MC(g,QC)};e.WipeDown=function(g){return new MC(g,NC)};e.BoxOut=function(g){return new Sw(g,Tw)};e.BoxIn=function(g){return new Sw(g,Uw)};e.SplitHorizontalOut=function(g){return new IB(g,KB)};e.SplitHorizontalIn=function(g){return new IB(g,JB)};e.SplitVerticalOut=function(g){return new IB(g,MB)};e.SplitVerticalIn=function(g){return new IB(g,LB)};e.ShapeCircle=function(g){return new fB(g)};
e.ShapeDiamond=function(g){return new hB(g)};e.CombHorizontal=function(g){return new jx(g,kx)};e.CombVertical=function(g){return new jx(g,1)};e.FadeSmoothly=function(g){return new ny(g)};e.Newsflash=function(g){return new Mz(g)};e.ShapePlus=function(g){return new iB(g)};e.PushDown=function(g){return new JA(g,KA)};e.PushLeft=function(g){return new JA(g,LA)};e.PushRight=function(g){return new JA(g,MA)};e.PushUp=function(g){return new JA(g,NA)};e.Wedge=function(g){return new zC(g)};e.Wheel1Spoke=function(g){return new BC(g,
1)};e.Wheel2Spokes=function(g){return new BC(g,2)};e.Wheel3Spokes=function(g){return new BC(g,3)};e.Wheel4Spokes=function(g){return new BC(g,4)};e.Wheel8Spokes=function(g){return new BC(g,8)};e.WheelReverse1Spoke=function(g){return new BC(g,-1)};e.MorphByObject=function(g){return new Lz(g)};e.MorphByWord=function(g){return new Lz(g)};e.MorphByChar=function(g){return new Lz(g)};b?d?(e.VortexLeft=function(g){return new sC(g,jC)},e.VortexUp=function(g){return new sC(g,1)},e.VortexRight=function(g){return new sC(g,
kC)},e.VortexDown=function(g){return new sC(g,lC)}):(e.VortexLeft=function(g){return new XB(g,jC)},e.VortexUp=function(g){return new XB(g,1)},e.VortexRight=function(g){return new XB(g,kC)},e.VortexDown=function(g){return new XB(g,lC)}):(e.VortexLeft=function(g){return new cy(g)},e.VortexUp=function(g){return new cy(g)},e.VortexRight=function(g){return new cy(g)},e.VortexDown=function(g){return new cy(g)});!d||df||uf?(e.RippleCenter=function(g){return new ZA(g,$A)},e.RippleRightUp=function(g){return new ZA(g,
cB)},e.RippleLeftUp=function(g){return new ZA(g,aB)},e.RippleLeftDown=function(g){return new ZA(g,bB)},e.RippleRightDown=function(g){return new ZA(g,dB)}):(e.RippleCenter=function(g){return new eB(g,$A)},e.RippleRightUp=function(g){return new eB(g,cB)},e.RippleLeftUp=function(g){return new eB(g,aB)},e.RippleLeftDown=function(g){return new eB(g,bB)},e.RippleRightDown=function(g){return new eB(g,dB)});e.GlitterDiamondLeft=function(g){return new My(g,Oy,Ly)};e.GlitterDiamondUp=function(g){return new My(g,
Oy,Jy)};e.GlitterDiamondRight=function(g){return new My(g,Oy,Ny)};e.GlitterDiamondDown=function(g){return new My(g,Oy,Ky)};e.GlitterHexagonLeft=function(g){return new My(g,1,Ly)};e.GlitterHexagonUp=function(g){return new My(g,1,Jy)};e.GlitterHexagonRight=function(g){return new My(g,1,Ny)};e.GlitterHexagonDown=function(g){return new My(g,1,Ky)};b?(e.GalleryLeft=function(g){return new By(g,Cy,!1)},e.GalleryRight=function(g){return new By(g,Dy,!1)}):(e.GalleryLeft=function(g){return new JA(g,LA)},e.GalleryRight=
function(g){return new JA(g,MA)});b?(e.ConveyorLeft=function(g){return new By(g,Cy,!0)},e.ConveyorRight=function(g){return new By(g,Dy,!0)}):(e.ConveyorLeft=function(g){return new BA(g,DA,!0)},e.ConveyorRight=function(g){return new BA(g,CA,!0)});e.DoorsVertical=function(g){return new iy(g,jy,!1,!0)};e.DoorsHorizontal=function(g){return new iy(g,ky,!1,!0)};e.WindowVertical=function(g){return new iy(g,jy,!0,2013>a)};e.WindowHorizontal=function(g){return new iy(g,ky,!0,2013>a)};e.WarpIn=function(g){return new xC(g,
yC,!1,!1)};e.WarpOut=function(g){return new xC(g,1,!1,!1)};e.FlyThroughIn=function(g){return new xC(g,yC,!0,!1)};e.FlyThroughOut=function(g){return new xC(g,1,!0,!1)};e.FlyThroughInBounce=function(g){return new xC(g,yC,!0,!0)};e.FlyThroughOutBounce=function(g){return new xC(g,1,!0,!0)};e.RevealSmoothLeft=function(g){return new SA(g,VA)};e.RevealSmoothRight=function(g){return new SA(g,UA)};e.RevealBlackLeft=function(g){return new SA(g,TA)};e.RevealBlackRight=function(g){return new SA(g,3)};e.Honeycomb=
function(g){return new Yy(g)};b?(e.FerrisWheelLeft=function(g){return new ry(g,0)},e.FerrisWheelRight=function(g){return new ry(g,sy)}):(e.FerrisWheelLeft=function(g){return new BA(g,EA,!0)},e.FerrisWheelRight=function(g){return new BA(g,EA,!0)});const f=2013<=a?VB:TB,h=2013<=a?xy:vy;e.SwitchLeft=function(g){return new f(g,0,c)};e.SwitchRight=function(g){return new f(g,UB,c)};e.FlipLeft=function(g){return new h(g,0,c)};e.FlipRight=function(g){return new h(g,wy,c)};e.Flashbulb=function(g){return new uy(g)};
c?(e.ShredStripsIn=function(g){return new qB(g,0)},e.ShredStripsOut=function(g){return new qB(g,wB)},e.ShredRectangleIn=function(g){return new qB(g,rB)},e.ShredRectangleOut=function(g){return new qB(g,sB)}):(e.ShredStripsIn=function(g){return new cy(g)},e.ShredStripsOut=function(g){return new cy(g)},e.ShredRectangleIn=function(g){return new cy(g)},e.ShredRectangleOut=function(g){return new cy(g)});e.CubeLeft=function(g){return new Rx(g,Ux,!1,c)};e.CubeUp=function(g){return new Rx(g,Tx,!1,c)};e.CubeRight=
function(g){return new Rx(g,Vx,!1,c)};e.CubeDown=function(g){return new Rx(g,Sx,!1,c)};e.RotateLeft=function(g){return new Rx(g,Ux,!0,c)};e.RotateUp=function(g){return new Rx(g,Tx,!0,c)};e.RotateRight=function(g){return new Rx(g,Vx,!0,c)};e.RotateDown=function(g){return new Rx(g,Sx,!0,c)};c?(e.BoxLeft=function(g){return new Vw(g,Yw,!1)},e.BoxUp=function(g){return new Vw(g,0,!1)},e.BoxRight=function(g){return new Vw(g,Ww,!1)},e.BoxDown=function(g){return new Vw(g,Xw,!1)},e.OrbitLeft=function(g){return new Vw(g,
Yw,!0)},e.OrbitUp=function(g){return new Vw(g,0,!0)},e.OrbitRight=function(g){return new Vw(g,Ww,!0)},e.OrbitDown=function(g){return new Vw(g,Xw,!0)}):(e.BoxLeft=function(g){return new JA(g,LA)},e.BoxUp=function(g){return new JA(g,NA)},e.BoxRight=function(g){return new JA(g,MA)},e.BoxDown=function(g){return new JA(g,KA)},e.OrbitLeft=function(g){return new BA(g,DA,!0)},e.OrbitUp=function(g){return new BA(g,3,!0)},e.OrbitRight=function(g){return new BA(g,CA,!0)},e.OrbitDown=function(g){return new BA(g,
EA,!0)});e.PanLeft=function(g){return new BA(g,DA,2013>a)};e.PanUp=function(g){return new BA(g,3,2013>a)};e.PanRight=function(g){return new BA(g,CA,2013>a)};e.PanDown=function(g){return new BA(g,EA,2013>a)};d?(e.AirplaneLeft=function(g){return new Fw(g,Gw)},e.AirplaneRight=function(g){return new Fw(g,1)},e.OrigamiLeft=function(g){return new Wz(g,Yz)},e.OrigamiRight=function(g){return new Wz(g,$z)},e.DrapeLeft=function(g){return new ly(g,my)},e.DrapeRight=function(g){return new ly(g,1)},e.FallOverLeft=
function(g){return new py(g,qy)},e.FallOverRight=function(g){return new py(g,1)},e.Curtains=function(g){const k=new $x(g);return k.pF()?k:new ny(g)},e.Fracture=function(g){return new zy(g)},e.Crush=function(g){return new Ox(g)},e.WindRight=function(g){return new LC(g,GC)},e.WindLeft=function(g){return new LC(g,1)},e.PeelOffLeft=function(g){return new FA(g,GA)},e.PeelOffRight=function(g){return new FA(g,1)},e.Prestige=function(g){const k=new HA(g);return k.pF()?k:new ny(g)},e.PageCurlDoubleLeft=function(g){return new AA(g,
bA)},e.PageCurlDoubleRight=function(g){return new AA(g,cA)},e.PageCurlSingleLeft=function(g){return new AA(g,yA)},e.PageCurlSingleRight=function(g){return new AA(g,zA)}):(e.AirplaneLeft=function(g){return new ny(g)},e.AirplaneRight=function(g){return new ny(g)},e.OrigamiLeft=function(g){return new ny(g)},e.OrigamiRight=function(g){return new ny(g)},e.DrapeLeft=function(g){return new ny(g)},e.DrapeRight=function(g){return new ny(g)},e.FallOverLeft=function(g){return new ny(g)},e.FallOverRight=function(g){return new ny(g)},
e.Curtains=function(g){return new ny(g)},e.Fracture=function(g){return new ny(g)},e.Crush=function(g){return new ny(g)},e.WindRight=function(g){return new ny(g)},e.WindLeft=function(g){return new ny(g)},e.PeelOffLeft=function(g){return new ny(g)},e.PeelOffRight=function(g){return new ny(g)},e.Prestige=function(g){return new ny(g)},e.PageCurlDoubleLeft=function(g){return new ny(g)},e.PageCurlDoubleRight=function(g){return new ny(g)},e.PageCurlSingleLeft=function(g){return new ny(g)},e.PageCurlSingleRight=
function(g){return new ny(g)});e.Zoom=function(g){return new SC(g)};Ys=e}}}
var Ys,Xs=[["PushUp","PushLeft","PushRight","PushDown"],["ShapePlus","ShapeCircle","ShapeDiamond"],["BlindsVertical","BlindsHorizontal"],["BoxIn","BoxOut"],["CheckerboardAcross","CheckerboardDown"],["Flashbulb"],["WipeDown","WipeUp","WipeLeft","WipeRight"],["RandomBarsVertical","RandomBarsHorizontal"],["FadeSmoothly","FadeThroughBlack"],["null"],["Cut","CutThroughBlack"],["CombHorizontal","CombVertical"],["Dissolve"],["FlyThroughIn","FlyThroughOut","FlyThroughInBounce","FlyThroughOutBounce"],["WarpIn",
"WarpOut"],["Newsflash"],["BoxLeft","BoxUp","BoxRight","BoxDown"],["OrbitUp","OrbitDown","OrbitLeft","OrbitRight"],["WindowHorizontal","WindowVertical"],["DoorsHorizontal","DoorsVertical"],["FerrisWheelLeft","FerrisWheelRight"],["SwitchLeft","SwitchRight"],["GalleryLeft","GalleryRight"],["RippleCenter","RippleRightUp","RippleLeftUp","RippleLeftDown","RippleRightDown"],["VortexLeft","VortexRight","VortexUp","VortexDown"],["ShredStripsIn","ShredStripsOut","ShredRectangleIn","ShredRectangleOut"],["FlipLeft",
"FlipRight"],"CoverLeft CoverUp CoverRight CoverDown CoverLeftUp CoverRightUp CoverLeftDown CoverRightDown".split(" "),"UncoverDown UncoverLeft UncoverLeftDown UncoverLeftUp UncoverRight UncoverRightDown UncoverRightUp UncoverUp".split(" "),["StripsLeftDown","StripsLeftUp","StripsRightDown","StripsRightUp"],["Honeycomb"],["SplitVerticalIn","SplitVerticalOut","SplitHorizontalIn","SplitHorizontalOut"],"Wedge Wheel1Spoke Wheel2Spokes Wheel3Spokes Wheel4Spokes Wheel8Spokes WheelReverse1Spoke".split(" "),
["RevealSmoothLeft","RevealSmoothRight","RevealBlackLeft","RevealBlackRight"],["CubeLeft","CubeUp","CubeRight","CubeDown"],["RotateLeft","RotateUp","RotateRight","RotateDown"],"GlitterDiamondDown GlitterDiamondUp GlitterDiamondLeft GlitterDiamondRight GlitterHexagonDown GlitterHexagonUp GlitterHexagonLeft GlitterHexagonRight".split(" "),["ConveyorLeft","ConveyorRight"],["PanLeft","PanUp","PanRight","PanDown"],["AirplaneLeft","AirplaneRight"],["OrigamiLeft","OrigamiRight"],["DrapeLeft","DrapeRight"],
["FallOverLeft","FallOverRight"],["Curtains"],["Fracture"],["Crush"],["WindRight","WindLeft"],["PeelOffLeft","PeelOffRight"],["Prestige"],["PageCurlDoubleLeft","PageCurlDoubleRight","PageCurlSingleLeft","PageCurlSingleRight"]];class UC{constructor(a){this.zi=a;a=w("img");a.src=this.zi.src();I(a,this.zi.opacity());E(a,"z-index","1");this.zi.url()&&(E(a,"cursor","pointer"),me(a,"click",this.OR,!1,this));this.BG=a}ia(){return this.zi.ia()}displayObject(){return this.BG}OR(a){a.stopPropagation();sh(this.zi.url(),this.zi.target())}};function VC(a,b){b=a.dS.create(b);Ke(a,b);y(a,b.jw,a.rR,a);return b}function WC(a){"normal"==a.ya&&Fu(a.Hh,a.xb);Gu(a.Hh,b=>{if(b instanceof UC){const c="normal"==a.ya?"":"none";b.displayObject().style.display=c}})}
class XC extends Vh{constructor(a,b,c){super();this.oc=a;this.I=b;this.El=c;this.ya="normal";this.Kd=new B;this.xb=this.Na();this.pg=this.Na("slidesBackground");this.$b=this.Na();this.kc=new Yn(this);this.Nl=this.Na();this.Kc=this.Na("frontLayers");this.xb.appendChild(this.pg);this.xb.appendChild(this.$b);a=this.kc.displayObject();this.xb.appendChild(a);this.$b.appendChild(this.Nl);this.$b.appendChild(this.Kc);this.$b.style.display="none";this.Va=YC(this.oc.ip(),{jF:this.Nl,width:this.I.slideWidth(),
height:this.I.slideHeight(),OV:Number.MAX_VALUE,backgroundColor:"#000000",xF:this.ya});a=new Rv;this.fc=new Qv(this.I,this.Va,a,this.I.slideWidth(),this.I.slideHeight(),this.Kc);c=new Li;var d=new Ov(this.Va,this.I.slides(),c,this.El);this.C=new Ts(this.I,this.Va,this.oc.ip().tc,d,c,this.oc,this.fc,a,this.El);y(this,this.C.slideChangeEvent(),this.uf,this);y(this,this.C.Em,this.Sy,this);a=this.C;this.oc.rA.oo.addHandler(a.TQ,a);y(this,this.C.Zy,this.GQ,this);y(this,this.C.Em,this.EQ,this);this.Lj=
new P(this.C,this.I);this.dS=new vv({presentation:this.I,kW:this.oc,Rx:this.xb,By:this.pg,Vi:this.$b,pk:this.kc,P:this.Kc,xy:this.Nl,playbackController:this.C,mX:this.fc,op:this.Va});this.xf=VC(this,"normal");b=b.fonts();a=Ve||Fb;c=[];for(d=0;d<b.length;++d){const f=b[d];var e=zp(f.name());const h=f.urls(),g=[];0!=h.length||!f.localName()||(e.bold()||e.italic())&&a||g.push(new Nt("local",f.localName()));for(e=0;e<h.length;++e)g.push(new Nt("url",h[e]));c.push(Mt(f.name(),g))}uo(c.join("\n"));this.Hh=
new Hu(this);this.aK=this.Rt=void 0;b=this.I.slideWidth();this.I.slideHeight();a=this.I.ns();c=this.I.wt();if(a||c)c&&(c=new UC(c),Cu(this.Hh,c)),a&&(Ff&&(this.aK=new wv(a,b)),this.Rt=new Bu(a,b),a=new Gt(this.I.settings().jb()),b=this.Rt.displayObject(),a=`${a.jd("PB_ACCESSIBLE_WATERMARK_SKIN_CREATED_WITH")}.`,Et(b,"label",a),Dt(b,"banner"),b.setAttribute("tabindex",0),Cu(this.Hh,this.Rt));Eu(this.Hh)}resizeEvent(){return this.Kd}playbackController(){return this.C}Ti(){return this.Lj}soundController(){return this.oc.soundController()}displayObject(){return this.xb}Vi(){return this.$b}Jx(){this.xf.Jx(this.Hh)}op(){return this.Va}width(){return this.xf.width()}height(){return this.xf.height()}scale(){return this.xf.scale()}resize(a,
b){this.xf.resize(a,b)}pk(){return this.kc}Am(){return this.oc.Am()}Nx(){return this.xf.Nx()}setOverlayDisplayed(a){this.xf.setOverlayDisplayed(a)}Bh(a){if(this.ya!=a){this.ya=a;this.C.pause();Le(this,this.xf);this.xf=VC(this,a);this.Va.Bh(a);this.oc.mediaController().Bh(a);for(a=0;a<this.I.slides().count();++a){var b=this.C.getSlidePlaybackController(a,!1);b&&null!=b.ka&&(b.AD({NU:!0}),b.deactivate())}for(a=0;a<this.I.slides().count();++a)if(b=this.C.getSlidePlaybackController(a,!1)){b=b.view();
var c=this.Va.ub[a].ng,d=this.Va.ya;b.sa!=c&&(b.sa=c,b.mI=d,b.HK())}a=this.C.currentSlideIndex();-1!=a&&(this.Va.ub[a].zk(),this.C.gotoSlide(a,!1));this.Tl();-1!=this.C.currentSlideIndex()&&(Rs(this.C),Qs(this.C),this.C.Qb().mx());-1!=this.C.currentSlideIndex()&&(this.C.Qb().slide().pf=!0);a=this.C.currentSlideIndex();-1!=a&&(a="normal"==this.ya?this.I.slides().getSlide(a).Kp:null,ZC(this.oc.mediaController(),a));a="normal"==this.ya;$C(this.oc.Li(),a);WC(this)}}Na(a){const b=w("DIV");a&&(b.id=a);
return b}GQ(){Hn(document.body,"slide-transiting")}EQ(){In(document.body,"slide-transiting")}rR(a,b,c,d){this.Kd.D(a,b,c,d)}uf(){this.xf.eN(this.Rt)}Sy(){this.xf.gM(this.aK)}Tl(){this.xf.Tl()}}XC.prototype.resize=XC.prototype.resize;XC.prototype.height=XC.prototype.height;XC.prototype.width=XC.prototype.width;XC.prototype.slidesContainer=XC.prototype.Vi;XC.prototype.displayObject=XC.prototype.displayObject;XC.prototype.soundController=XC.prototype.soundController;
XC.prototype.restrictedPlaybackController=XC.prototype.Ti;XC.prototype.playbackController=XC.prototype.playbackController;XC.prototype.resizeEvent=XC.prototype.resizeEvent;function aD(a){var b=document.getElementById(a.fn.containerId());const c=a.Ja.scale(),d=Mn(b);if(d){var e=d.Hb;b=d.Ib}else e=parseFloat(tg(b,"left")),b=parseFloat(tg(b,"top"));a=qd(a.gn.Qd);vg(a,e*c,b*c)}function bD(a){const b=a.Ja.scale(),c=a.fn;a.gn.setSize(c.width()*b,c.height()*b)}function cD(a){if(a.su)return a.su;a.su=qd(document,a.fn.containerId());return a.su}
class dD{constructor(a,b,c){this.gn=this.su=null;this.Ec=this.TG=!1;this.fn=a;this.Mb=b;this.Ja=c}show(){if(!this.Ec)if(this.Ec=!0,this.TG){var a=this.fn.url(),b=hc();b&&b.createScriptURL(a);this.gn={};aD(this);this.gn.z1(this.Ja.displayObject());bD(this);this.Ja.resizeEvent().addHandler(this.JI,this)}else if(b=cD(this)){a=this.fn.width();const d=this.fn.height();var c=eD();Hn(b,c);c=w("div");b.appendChild(c);Cg(b,a,d);Cg(c,a,d);b=d/fD.height;(1>a/fD.width||1>b)&&E(c,"backgroundSize","contain")}}Ki(){if(this.Ec)if(this.Ec=
!1,this.TG){this.Ja.resizeEvent().removeHandler(this.JI,this);var a;null==(a=this.gn)||a.ze();this.gn=null}else{const b=cD(this);b&&(a=eD(),In(b,a),zd(b))}}JI(){aD(this);bD(this)}}var gD,fD=new bd(74,89);
function eD(){if(void 0!==gD)return gD;const a="_sf"+kd();gD=a;uo("."+a+" {background: #A42222;}."+a+" div {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABZCAYAAACZkrJEAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTAw9HKhAAAFA0lEQVR4Xu3c21MTVxwHcP/B+iwyPimoT46WPulY6INDR3mwdhTojJeOgC1MMZHhoha85EJIMCg1CTXQJEsokJCEJJgbyc/fiW5nJ2NjCL/dPecYZ74zIYa9fPZ7zh4Y3SNHWn9aAi0BYoGZM2dhGuMd/OW/bHgW4a+RESDelVibc/T0QPDRI0hHo1CpVP43UY/n64Kabj8By9iWnUCgLkwt2lcD5er5ARIHxNFiSQ9l7/oO8ru7B2rP54ag1FBbOK/Um3cO8ndSQoVwcj4IQiOflQrKicMs+4W7VyMoUg89/+AgtqisW6Iet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GQTluCNwkdRFX2E2CXklHFZi5eFHsJukNFV/xw/CxY3IgMaw8Noo67tu36wKN4rNRnPjkQzUz+NCa3/E9FvUCPsDXLFz8+PIRKoFQNIlhi0ZPnWr45BTNU54dCBfRfO0ZHgE7vscPVAqRDplYwA/TTcxFWhiGwnBUmElsmU0WqLXnz5oCUjFqG8Te/7OvD9yfwJbxIYAcNWoHG9V41j0LMHvlCskJ1DaKofw99wxUoDBPD2CvhxQL+GDt+RzYf7oOlnPnSHC0DdFCqcPsKT7MhoV9jiuosZMngWW0JtxUvnUgLQGpBD4AN9FCi/luT4wAAAAASUVORK5CYII=) no-repeat;background-position: center;}");return a}
;function hD(a,b,c){b=b.Tz;for(let h=0;h<b.count();++h){var d=b,e=h;if(0>e||e>=d.count())throw Error("index is out of range");d=d.Xp[e];e=a;var f=d;const g=ma(f)+"";g in e.cA||(e.cA[g]=new dD(f,e.Mb,e.Ja));e=e.cA[g];c>=d.timeOffset()?e.show():e.Ki()}}
class iD{constructor(a,b,c,d){this.H=-1;this.Mb=a;this.Ja=b;this.J=c;this.K=d;this.cA=[];c.pb().addHandler(this.Oa,this)}Oa(){var a=this.J.timestamp(),b=a.slideIndex();if(b!=this.H){if(0<=this.H){var c=this.K.getSlide(this.H);c instanceof on&&hD(this,c,-1)}this.H=b}if(0<=b&&(c=this.K.getSlide(b),c instanceof on)){b=c;const d=a.stepIndex();a=0>d?-1:b.va().Za(d).startTime()+a.timeOffset();hD(this,c,a)}}};class jD{constructor(){this.kG=!1}};function kD(a,b){b=b.getAttribute("id");a.sA.D(b);a.qA.D()}function lD(a,b){const c=new jD;a.NG.D(b,c);return c.kG}
class mD{constructor(){this.ja=this.C=null;this.Ra=!0;this.qA=new B;this.sA=new B;this.NG=new B;this.oo=new B}ft(a){this.C=a}sy(a){this.ja=a}gotoSlide(a,b){this.Ra&&(kD(this,b),this.C.gotoSlide(a,void 0,!1))}oV(a){this.Ra&&(kD(this,a),this.C.Oo())}rk(a){this.Ra&&(kD(this,a),this.C.rk())}sk(a){this.Ra&&(kD(this,a),this.C.sk())}gotoNextSlide(a){this.Ra&&(kD(this,a),a=this.C,a.Ba.reset(),a.gotoSlide(ws(a),void 0,!1))}gotoPreviousSlide(a){this.Ra&&(kD(this,a),a=this.C,a.Ba.reset(),a.gotoSlide(Bs(a),void 0,
!1))}qV(a,b,c){this.Ra&&(kD(this,c),lD(this,a)||Rg(a,{target:b}))}pV(a){return this.Ra?(kD(this,a),lD(this,a.href)?!1:tf&&a instanceof window.SVGAElement?(Rg(a.href.baseVal,{target:a.target.baseVal}),!1):!0):!1}aX(a,b,c){this.Ra&&(kD(this,a),this.C.lF(b,c))}mt(a,b){this.Ra&&(kD(this,a),this.C.mt(b))}YU(a){this.Ra&&(kD(this,a),this.C.FD())}iW(a,b){this.Ra&&(kD(this,b),0<=this.C.currentSlideIndex()&&(a=kj(this.C.U().sb(),a))&&Nq(this.ja,a,0))}cX(a){this.Ra&&(kD(this,a),Pq(this.ja))}uW(a){a&&a.qt&&this.oo.D(a.qt)}}
mD.prototype.processTriggerEffect=mD.prototype.uW;mD.prototype.stopHyperlinkSound=mD.prototype.cX;mD.prototype.playHyperlinkSound=mD.prototype.iW;mD.prototype.endSlideshow=mD.prototype.YU;mD.prototype.startZoom=mD.prototype.mt;mD.prototype.startSlideshow=mD.prototype.aX;mD.prototype.gotoLink=mD.prototype.pV;mD.prototype.gotoURL=mD.prototype.qV;mD.prototype.gotoPreviousSlide=mD.prototype.gotoPreviousSlide;mD.prototype.gotoNextSlide=mD.prototype.gotoNextSlide;mD.prototype.gotoLastSlide=mD.prototype.sk;
mD.prototype.gotoFirstSlide=mD.prototype.rk;mD.prototype.gotoLastViewedSlide=mD.prototype.oV;mD.prototype.gotoSlide=mD.prototype.gotoSlide;class nD{constructor(a){Hf&&a.NG.addHandler(this.QQ,this)}QQ(a,b){"string"!==typeof a&&(a=a.baseVal);this.AB(a)&&(b.kG=!0)}AB(a){return(new Qg("openWindow",[a])).Ho()}};class oD{displayObject(){}resize(){}width(){}height(){}vF(){}}q("IVideoNarrationView$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$narration$video$IVideoNarrationView",oD);oD.prototype.height=oD.prototype.height;oD.prototype.width=oD.prototype.width;oD.prototype.resize=oD.prototype.resize;oD.prototype.displayObject=oD.prototype.displayObject;const pD={mZ:"gotoPreviousPresentationSlide",kZ:"gotoNextPresentationSlide"};q("InteractionPlayerControllerActionType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$player$InteractionPlayerControllerActionType",pD);q("GOTO_PREVIOUS_PRESENTATION_SLIDE","gotoPreviousPresentationSlide",pD);q("GOTO_NEXT_PRESENTATION_SLIDE","gotoNextPresentationSlide",pD);class qD{constructor(a,b){this.uj=this.Gu=null;this.C=a;this.Ld=b;this.oq=[];this.MP=new B;this.JP=new B;a.iF().addHandler(this.uf,this);b.Us().addHandler(this.FL,this)}uf(){if(this.uj){const b=this;Ja(this.oq,c=>{c.playbackStateChangedEvent().removeHandler(b.oB,b)});this.oq=[];this.uj.audioStartedEvent().removeHandler(this.EI,this);this.uj.videoStartedEvent().removeHandler(this.FI,this);this.Gu=this.uj=null}const a=this.C.quizPlayer()||this.C.scenarioPlayer()||this.C.interactionPlayer();a&&(this.uj=
a.mediaController())&&(this.uj.audioStartedEvent().addHandler(this.EI,this),this.uj.videoStartedEvent().addHandler(this.FI,this),this.Gu=a.soundController(),this.FL())}EI(a){a.ready()||a.readyEvent().addHandler(this.DI,this)}DI(a){a.readyEvent().removeHandler(this.DI,this);this.JP.D()}FI(a){Qa(this.oq,a)||(this.oq.push(a),a.playbackStateChangedEvent().addHandler(this.oB,this),this.MP.D())}oB(a){a.playing()||(a.playbackStateChangedEvent().removeHandler(this.oB,this),Ta(this.oq,a))}FL(){this.Gu&&this.Gu.setVolume(this.Ld.Ts())}}
;function $C(a,b){a.KA!=b&&((a.KA=b)&&a.wq.enabled()?(me(document,"keydown",a.GI,!1,a),me(document,"keyup",a.II,!1,a)):(ue(document,"keydown",a.GI,!1,a),ue(document,"keyup",a.II,!1,a)))}
function rD(a,b){const c=a.C;if(!(0>c.currentSlideIndex())){var d=c.clock(),e=a.K;0>a.Ir&&(a.Ir=Date.now(),a.Jn=d.Td(),c.pause());a=(1+(Date.now()-a.Ir)/1E3)*(b?1:-1);d=d.timestamp();b=e.Ii(d,!1,!0);e=e.Ao(Tc(b+a,0,e.SN()),!1,!0);a=c.Qb();e.slideIndex()>d.slideIndex()?1==a.kN()?c.gotoNextSlide(!1):Yj(a):e.slideIndex()<d.slideIndex()?0<a.CE()?Zj(a):c.gotoPreviousSlide(!1):c.uk(e.slideIndex(),e.stepIndex(),e.timeOffset(),!1)}}
class sD extends Vh{constructor(a,b,c,d){super();this.wq=a;this.K=b;this.Ld=c;this.$G=d;this.C=null;this.QH=K(this);this.KA=!1;this.Ir=-1;this.Jn=!1;$C(this,!mf)}ft(a){this.C=a}GI(a){a:{var b=this.wq.actions();for(let c=0;c<b.count();++c){const d=Pj(b,c),e=d.wm();for(let f=0;f<e.length;++f){const h=e[f];if(h.key()==a.keyCode&&h.xx()==a.ctrlKey&&h.shift()==a.shiftKey){b="toggleFullscreen"==d.type();break a}}}b=!1}b?this.HI(a):qh(this.HI.bind(this,a),this)}HI(a){var b=a.Rd;if(!(b&&b.defaultPrevented||
"slide"!=this.C.U().type())&&(b=Od(),"INPUT"!=b.nodeName)){var c=a.keyCode,d=a.ctrlKey,e=a.shiftKey,f=this.wq.actions();for(let h=0;h<f.count();++h){const g=Pj(f,h),k=g.wm();for(let l=0;l<k.length;++l){const m=k[l];if(m.key()==c&&m.xx()==d&&m.shift()==e){c=g;if(e=this.C){d=e.Qb();c=c.type();switch(c){case "playPause":e.clock().Td()?e.pause():e.play();break;case "nextSlide":e.gotoNextSlide();break;case "previousSlide":e.gotoPreviousSlide();break;case "nextStep":e.tk();break;case "previousStep":e.Po();
break;case "firstSlide":e.rk();break;case "lastSlide":e.sk();break;case "lastViewedSlide":e.Oo();break;case "slideStart":Zj(d);break;case "slideEnd":Yj(d);break;case "seekForward":rD(this,!0);break;case "seekBackward":rD(this,!1);break;case "volumeUp":this.Ld.setVolume(Math.min(1,this.Ld.volume()+.1));break;case "volumeDown":this.Ld.setVolume(Math.max(0,this.Ld.volume()-.1));break;case "toggleFullscreen":Bh()?(d=nd().Qd,d.exitFullscreen?d.exitFullscreen():d.webkitCancelFullScreen?d.webkitCancelFullScreen():
d.mozCancelFullScreen?d.mozCancelFullScreen():d.msExitFullscreen&&d.msExitFullscreen()):(d=document.body,d.mozRequestFullScreenWithKeys?d.mozRequestFullScreenWithKeys():d.requestFullscreen?d.requestFullscreen(void 0):d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.msRequestFullscreen&&d.msRequestFullscreen())}this.QH.D(c)}b&&b.blur&&b.blur();a.preventDefault();return}}}}}II(){0<this.Ir&&(this.Ir=-1,this.Jn&&this.C.play())}};function tD(a){a.nl.pM()?(a.B.activate(),a.B.xk(0)):a.$g=null}
class uD extends Vh{constructor(a,b,c,d){super();this.$g=null;this.B=b;this.Ld=c;this.nl=d;this.Qp=0;this.wa=!1;this.Yg=new B;y(this,this.B.ob(),this.Al,this);this.ZE(a);y(this,c.Us(),this.lh,this);y(this,c.wJ,this.Hv,this);this.lh()}ZE(a){this.$g!=a&&(this.Qp=0,a?(this.B.jf(a.Zl()[0].sources()),this.nl.TE(!1),this.B.wa?this.B.xk(0):this.wa&&tD(this)):(this.B.pause(),this.B.jf(rh())),this.$g=a)}activate(){this.wa=!0;tD(this)}Al(a){"ended"==a.state()&&(++this.Qp,this.Qp<this.$g.Zl().length?(this.B.jf(this.$g.Zl()[this.Qp].sources()),
a.xk(0)):this.$g.loop()?(this.Qp=0,this.B.jf(this.$g.Zl()[0].sources()),a.xk(0)):(this.Yg.D(this),this.nl.TE(!0)))}lh(){this.B.setVolume(this.Ld.Ts())}Hv(){this.B.pause()}};function ct(a){a=Wa(a.Aa);for(let b=0;b<a.length;++b)a[b].stop()}function vD(a,b,c,d,e){const f=a.Aa.length;for(let g=0;g<f;++g){const k=a.Aa[g];if(e||!b.si||Ji(b,k)){var h=ma(k)+"";h=a.JJ[h];(d&&h.hW||!d&&c&&h.Xx||!d&&!c)&&k.EN()}else k.FN()}}function wD(a,b){a=a.I.slides().getSlide(b.slideIndex());if(0>b.stepIndex())return!1;a=a.va().Za(b.stepIndex());return b.timeOffset()>=a.duration()}function xD(a,b){a=a.I.slides().getSlide(b.slideIndex());return b.stepIndex()==a.va().count()-1}
class yD{constructor(a){this.Vt=null;this.rz=!1;this.ga=null;this.I=a;this.Aa=[];this.JJ={}}$E(a,b){this.ga=b;this.rz=a.Td();a.ob().addHandler(this.Dn,this)}add(a,b){b=b||zD;if(!Qa(this.Aa,a)){this.Aa.push(a);const c=ma(a)+"";this.JJ[c]=b;a.Qi().addHandler(this.rB,this);a.ld.addHandler(this.pB,this)}}remove(a){Ta(this.Aa,a);Xh(this.ga,!1,a);const b=a.Qi();b.ZD(this.rB,this)&&b.removeHandler(this.rB,this);a=a.ld;a.ZD(this.pB,this)&&a.removeHandler(this.pB,this)}contains(a){return Qa(this.Aa,a)}Dn(a){a.Td();
this.rz=a.Td();const b=()=>{let c=!1,d=!1;a.pb().removeHandler(this.Oa,this);a.Td()||(d=(c=wD(this,a.timestamp()))&&xD(this,a.timestamp()),this.Vt=a.timestamp(),a.pb().addHandler(this.Oa,this));vD(this,a,c,d,!1)};this.rz?b():setTimeout(b,0)}Oa(a){var b=a.timestamp(),c;(c=!this.Vt)||(c=this.Vt,c=!(c.slideIndex()==b.slideIndex()&&c.stepIndex()==b.stepIndex()&&0>=Math.abs(c.timeOffset()-b.timeOffset())));c&&(this.Vt=b,c=(b=wD(this,a.timestamp()))&&xD(this,a.timestamp()),vD(this,a,b,c,!0))}rB(a){this.remove(a)}pB(a){Xh(this.ga,
a.buffering(),a)}}class AD{constructor(a){this.Xx=!1;this.hW=a}}var zD=new AD(!1),BD=new AD(!0),CD=new AD(!0);class DD extends si{constructor(a){super(a);df&&ti.addHandler(this.eR,this)}videoWidth(){return li(this)?this.mediaElement().videoWidth:0}videoHeight(){return li(this)?this.mediaElement().videoHeight:0}eR(a){this.playing()&&a instanceof ui&&this.play()}};w("CANVAS").getContext("2d");const ED=Ve?{snapToLines:!1,line:83,lineAlign:"end"}:{snapToLines:!0,line:-4,lineAlign:"end"},FD=(a,b)=>{b?a.mode="showing":"showing"===a.mode&&(a.mode="hidden")},GD=a=>{for(let b=0;b<a.length;++b)if("showing"===a[b].mode)return b;return null},HD=(a,b)=>{a.snapToLines=b.snapToLines;a.line=b.line;a.lineAlign=b.lineAlign},ID=a=>{if(a&&a.cues){const b=[];for(let c=0;c<a.cues.length;++c){const d=a.cues[c];if("auto"===d.line){const e={};HD(e,d);b.push({cue:d,xW:e});HD(d,ED)}}return b}return[]};
function JD(a){if(a.Zj){for(const b of a.Zj)HD(b.cue,b.xW);a.Zj=null}}function KD(a){return null!==a.Ll&&a.Ll<a.Se.length?a.Se[a.Ll]:null}function LD(a){const b=[];for(let c=0;c<a.Se.length;++c)b.push(a.Se[c].label||a.Se[c].language);return b}
class MD{constructor(a){this.Se=a;this.Ll=GD(a);this.Zj=null;this.gG=new Ot;this.fG=new Ot;this.Se.onchange=()=>{this.select(GD(this.Se));this.gG.D(this)};a=()=>{this.select(GD(this.Se));this.fG.D(this)};this.Se.onaddtrack=a;this.Se.onremovetrack=a}select(a){this.Ll=null!==a&&a<this.Se.length?a:null;for(a=0;a<this.Se.length;++a)FD(this.Se[a],a===this.Ll);this.Zj&&(JD(this),this.Zj||(this.Zj=ID(KD(this))))}show(a){const b=KD(this);a&&!b?this.select(0):b&&FD(b,a)}isVisible(){const a=KD(this);return!!a&&
"showing"===a.mode}};function ND(a){a=yd(Hc(a));df&&a.setAttribute("playsinline","");!mf&&rf&&a.setAttribute("preload","metadata");If&&a.setAttribute("webkit-playsinline","");if(Ve&&1<a.children.length){const b=Jd(a,c=>c&&"SOURCE"==c.nodeName&&"video/mp4"==c.getAttribute("type"));b&&a.appendChild(b)}return new DD(a)}
function OD(a){if(!mf){const b=a.mediaElement().getAttribute("poster");a.mediaElement().removeAttribute("poster");if(b)return a=new O({O:"poster"}),ou(a,"background",`url(${b})`),ou(a,"background-size","100% 100%"),a}return null}function PD(a){return!mf&&(a=a.mediaElement(),la(a.textTracks)&&void 0!==a.textTracks.length)?new MD(a.textTracks):null};(function(){if(Nb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(tb()))?a[1]:"0"}return Mb?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(tb()))?a[0].replace(/_/g,"."):"10"):Pb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(tb()))?a[1]:""):Qb||Rb||Sb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(tb()))?a[1].replace(/_/g,"."):""):""})();function QD(a){return(a=a.exec(tb()))?a[1]:""}(function(){if(Ve)return QD(/Firefox\/([0-9.]+)/);if(Fb||Gb||Eb)return Ub;if(Ze){if(Bb()||ub("Macintosh")){var a=QD(/CriOS\/([0-9.]+)/);if(a)return a}return QD(/Chrome\/([0-9.]+)/)}if($e&&!Bb())return QD(/Version\/([0-9.]+)/);if(We||Xe){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(tb()))return a[1]+"."+a[2]}else if(Ye)return(a=QD(/Android\s+([0-9.]+)/))?a:QD(/Version\/([0-9.]+)/);return""})();function RD(a,b,c,d,e){Zu.call(this,b,c,d,e);this.element=a}va(RD,Zu);RD.prototype.wp=function(){};RD.prototype.tE=function(){this.wp();RD.xc.tE.call(this)};RD.prototype.Zo=function(){this.wp();RD.xc.Zo.call(this)};RD.prototype.Os=function(){this.wp();RD.xc.Os.call(this)};function SD(a,b,c,d,e){"number"===typeof b&&(b=[b]);"number"===typeof c&&(c=[c]);RD.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.Ox=TD}va(SD,RD);var UD=1/1024,TD=-1;n=SD.prototype;
n.wp=function(){var a=this.coords[0];Math.abs(a-this.Ox)>=UD&&(I(this.element,a),this.Ox=a)};n.Os=function(){this.Ox=TD;SD.xc.Os.call(this)};n.Zo=function(){this.Ox=TD;SD.xc.Zo.call(this)};n.show=function(){this.element.style.display=""};n.Ki=function(){this.element.style.display="none"};class VD extends RD{constructor(a,b,c){super(null,[b],[c],200);this.L=a}wp(){this.L.Nf(this.coords[0])}};class WD extends O{constructor({Ob:a,O:b,AM:c,oN:d,iM:e,tabIndex:f,F1:h,toggle:g,xp:k}){super({Ob:a,O:b,AM:c,oN:d,iM:e,tabIndex:f,nh:"BUTTON",jU:!0,xp:k});h&&(a=h.top,b=h.right,c=h.bottom,h=h.left,this.ve=new O,pu(this,this.ve),ou(this.ve,"position","absolute"),ou(this.ve,"top",a?`${-a}px`:0),ou(this.ve,"right",b?`${-b}px`:0),ou(this.ve,"bottom",c?`${-c}px`:0),ou(this.ve,"left",h?`${-h}px`:0));(this.vT=g)&&this.Ze(!1);this.Ht()}Ze(a){this.Gc("pressed",a)}selected(){return!1}tm(){}pressed(){return"true"==
Ft(this.L,"pressed")}Eb(a){super.Eb(a);this.ve&&this.ox(this.ve,0)}$s(a){super.$s(a);this.ve&&this.ox(this.ve,0)}};class XD extends O{constructor(a,b){super({O:"bookmark"});this.B=a;this.Lp=b;this.pa(!1);a.duration()?this.Eu():Ie(this,a.lI,this.Eu,this);x(this,this.displayObject(),gq,this.cR,this,!1)}Eu(){ou(this,"left",`${this.Lp.time()/this.B.duration()*100}%`);this.pa(!0)}cR(a){a.stopPropagation();this.B.seek(this.Lp.time());return Qn(this.displayObject().parentNode)}};function YD(a,b){null!==b&&0>b&&(b=null);null!==a.Nj&&a.mb[a.Nj].tm(!1);a.Nj=b;null!==b&&a.mb[b].tm(!0);if(null!==a.Nj){var c=a.mb[a.Nj];b=c.displayObject().offsetTop;c=b+c.displayObject().offsetHeight;tu(a,b,c)}}function ZD(a,b){b=a.Bv.indexOf(b);YD(a,0<=b?b:null)}class $D extends O{constructor({O:a,xp:b,options:c}){super({O:a,xp:b});this.zh("listbox");ou(this,"position","absolute");this.Bv=c.slice();Object.freeze(this.Bv);this.mb=[];this.Nj=null;this.mC=K(this)}options(){return this.Bv}};class aE extends $D{constructor({O:a,options:b,uM:c}){super({O:a,options:b});for(const d of b){const e=c(d);e.zh("option");e.tm(!1);qu(e,ru(this,"item"));pu(this,e);this.mb.push(e);y(this,e.ta,()=>{YD(this,this.mb.indexOf(e));this.mC.D()})}}Ef(a,b){super.Ef(a,b);this.mb.forEach(c=>su(c))}};const bE=[{value:.75,toString:()=>"0.75x"},{value:1,toString:()=>"1x"},{value:1.25,toString:()=>"1.25x"},{value:1.5,toString:()=>"1.5x"},{value:2,toString:()=>"2x"}];function cE(a){const b=bE.find(c=>("number"===typeof a.Nj?a.Bv[a.Nj]:null)==c.toString());return b?b.value:null}function dE(a,b){const c=bE.find(d=>d.value==b);ZD(a,c?c.toString():null)}
class eE extends aE{constructor(a){super({O:"playback-rate-menu",options:bE.map(c=>c.toString()),uM:c=>{const d=new O({uN:!0});d.Eb(c);return d}});const b=new O({Ob:ru(this,"caption")});b.Eb(a.jd("PB_PLAYBACK_RATE_MENU_CAPTION",{},"Rate"));pu(this,b,0)}};class fE extends aE{constructor(a,b){super({O:"subtitles-list",options:[b.jd("PB_SUBTITLES_OFF",{},"Off"),...a],uM:c=>{const d=new O({uN:!0});d.Eb(c);return d}});a=new O({Ob:ru(this,"caption")});a.Eb(b.jd("PB_SUBTITLES_MENU_CAPTION",{},"Subtitles"));pu(this,a,0)}};function gE(a,b){void 0===b&&(b=a.B.muted()?0:a.B.volume());ou(a.vG,"height",`${100*(1-b)}%`);return Qn(a.displayObject())}
class hE extends O{constructor(a){super({O:"volume_popup"});this.B=a;this.$r=new O({O:"volume"});pu(this,this.$r);this.vG=new O({O:"back"});pu(this.$r,this.vG);gE(this,this.B.volume());y(this,this.B.YA,()=>gE(this));y(this,this.B.fD,()=>gE(this));x(this,this.$r.displayObject(),gq,this.NR,this)}NR(a){x(this,document,iq,this.yv,this);x(this,document,hq,this.gJ,this);this.yv(a);this.B.Ni(!1)}yv(a){this.visible()&&(a=Ag(a,this.$r.displayObject()).y,a=Math.min(1,a/this.$r.height()),a=Math.max(0,a),a=1-
a,this.B.setVolume(a),gE(this,a))}gJ(a){Fe(this,document,iq,this.yv,this);Fe(this,document,hq,this.gJ,this);this.yv(a)}};function iE(a){const b=new WD({O:"play",toggle:!0});b.Ck(!0);y(a,b.ta,()=>a.B.playing()?a.B.pause():a.B.play());return b}
function jE(a,b){const c=new O({O:"progress"}),d=new O({O:"loading"});pu(c,d);const e=new O({O:"playing"});pu(c,e);const f=new O({O:"tooltip"});f.pa(!1);pu(c,f);if(b)for(let h=0;h<b.count();++h)pu(c,new XD(a.B,Ui(b,h)));y(a,a.B.WH,()=>{ou(d,"width",100*a.B.Qx()+"%")});y(a,a.B.Ac,()=>{ou(e,"width",a.B.currentTime()/a.B.duration()*100+"%")});x(a,c,"mouseover",()=>{f.pa(!0)});x(a,c,"mouseout",()=>{f.pa(!1)});x(a,c,iq,h=>{h=kE(a,h);ou(f,"left",`${100*h}%`);f.Eb(lE(h*a.B.duration()))},a);x(a,c,gq,a.lR,
a);return{nW:e,vW:c}}
function mE(a){if(a.ro){const b=new WD({O:"rate",toggle:!0});b.Ck(!0);b.Sf("subtitle-button-next",nE(a));const c=new eE(a.Ca);c.pa(!1);c.Sf("subtitle-button-next",nE(a));dE(c,a.B.playbackRate());y(a,b.ta,()=>{if(c.visible()){const d=new SD(c.displayObject(),1,0,150);d.play();Ee(a,d,"finish",()=>{c.pa(!1);b.Ze(!1);fq(b.displayObject(),"selected")})}else oE(a,{button:b,Qs:c,fN:()=>{b.Ze(!1);fq(b.displayObject(),"selected")}}),b.Ze(!0),eq(b.displayObject(),"selected")});y(a,c.mC,()=>{a.B.Ah(cE(c));c.pa(!1)});
return{lN:b,mN:c}}return{lN:null,mN:null}}function pE(a){const b=new WD({O:"mute",toggle:!0});b.Ck(!0);const c=new hE(a.B);c.pa(!1);y(a,b.ta,()=>{const d=!a.B.muted();a.B.Ni(d);b.Ze(d);d?eq(b.displayObject(),"selected"):fq(b.displayObject(),"selected")});y(a,a.B.YA,()=>{const d=a.B.muted();b.Ze(d);d?eq(b.displayObject(),"selected"):fq(b.displayObject(),"selected")});x(a,b.displayObject(),"mouseover",()=>{c.visible()||oE(a,{button:b,Qs:c})});return{TV:b,tX:c}}
function qE(a){const b=new WD({O:"toggle_fullscreen",toggle:!0});b.Ck(!0);y(a,b.ta,()=>a.sL.D());return b}function kE(a,b){var c=a.WR.displayObject(),d=a.UB.width()-2;a=Ag(b,c).x/a.$B*a.ua;d=Math.min(1,a/d);return d=Math.max(0,d)}function lE(a){function b(e){e=e.toString();1==e.length&&(e="0"+e);return e}a=Math.round(a);const c=Math.floor(a/3600);a%=3600;const d=Math.floor(a/60);a%=60;return b(c)+":"+b(d)+":"+b(a)}function nE(a){return!!a.ra&&!!LD(a.ra).length}
function oE(a,{button:b,Qs:c,fN:d}){c.pa(!0);let e=new SD(c.displayObject(),0,1,150);e.play();let f=!1;x(a,document,iq,h=>{h=rE({button:b,Qs:c,aV:h});if(h==f){const g=parseFloat(tg(c.displayObject(),"opacity"));e.stop();h?(f=!1,e=new SD(c.displayObject(),g,1,150),e.play()):(f=!0,e=new SD(c.displayObject(),g,0,150),e.play(),Ee(a,e,"finish",()=>{c.pa(!1);d&&d()}))}})}
function sE(a){const b=new WD({O:"subtitles",toggle:!0});b.Ck(!0);y(a,b.ta,()=>{a.Bf&&a.ue&&!a.Bf.visible()&&(oE(a,{button:a.ue,Qs:a.Bf,fN:()=>{a.ue&&(a.ue.Ze(!1),fq(a.ue.displayObject(),"selected"))}}),a.ue.Ze(!0),eq(a.ue.displayObject(),"selected"))});a.ue=b;a.za(b)}function tE(a,b){b=new fE(b,a.Ca);b.pa(!1);y(a,b.mC,()=>{if(a.ra&&a.Bf){var c=(c=a.Bf.Nj)?c-1:null;"number"===typeof c?a.ra.select(c):a.ra.show(!1);a.Bf.pa(!1)}});a.Bf=b;a.za(b)}
function rE({button:a,Qs:b,aV:c}){const d=Ag(c,b.displayObject());if(0>d.x||d.x>b.width()||0>d.y)return!1;b=Ag(c,a.displayObject());return 0>=b.y||0<=b.x&&b.x<=a.width()&&b.y<=a.height()}
class uE extends O{constructor({Ad:a,wc:b,jb:c,Hf:d,vt:e}){super({O:"controls",dV:!0});this.B=a;this.ra=b;this.Ca=c;this.ro=e;this.Nv=iE(this);pu(this,this.Nv);const {nW:f,vW:h}=jE(this,d);this.WR=f;this.UB=h;pu(this,this.UB);const {lN:g,mN:k}=mE(this);(this.Qv=g)&&pu(this,this.Qv);(this.Rv=k)&&pu(this,this.Rv);this.Bf=this.ue=null;this.ra&&(this.IL(),y(this,this.ra.fG,this.IL,this),y(this,this.ra.gG,this.KL,this));const {TV:l,tX:m}=pE(this);this.uQ=l;pu(this,this.uQ);this.UT=m;pu(this,this.UT);this.yP=
qE(this);pu(this,this.yP);this.sL=new B;this.aI=new B;this.vj=this.Jn=!1;this.$B=this.ua=1;y(this,this.B.ob(),this.Al,this);y(this,this.B.hi,this.gR,this);ih(this.displayObject(),"left bottom")}locked(){return this.vj}IL(){this.Bf&&(this.removeChild(this.Bf),this.Bf=null);nE(this)&&(this.ue||sE(this),tE(this,LD(this.ra)));this.KL()}KL(){var a=nE(this);this.ue&&this.ue.pa(a);if(this.Bf){const b=this.ra;a=a&&b.isVisible()?b.Ll:null;YD(this.Bf,null==a?0:a+1)}}lR(a){this.vj=!0;x(this,document,iq,this.tv,
this);x(this,document,hq,this.QI,this);this.B.playing()&&(this.B.pause(),this.Jn=!0);this.tv(a);a.preventDefault()}tv(a){this.B.seek(kE(this,a)*this.B.duration())}QI(a){Fe(this,document,iq,this.tv,this);Fe(this,document,hq,this.QI,this);this.tv(a);this.Jn&&(this.B.play(),this.Jn=!1);this.vj=!1;this.aI.D()}Al(){const a=this.B.playing();this.Nv.Ze(a);a?eq(this.Nv.displayObject(),"selected"):fq(this.Nv.displayObject(),"selected")}gR(){this.Rv&&dE(this.Rv,this.B.playbackRate())}};function tr(a,b){a.Hn=b;var c=a.Ia.displayObject();b.appendChild(c);mf&&vE(a,a.B.mediaElement().width,a.B.mediaElement().height);mf&&(Pf?void 0!==window.TouchEvent&&window.event instanceof window.TouchEvent||window.event instanceof MouseEvent:1)&&(a.B.play(),a.B.pause())}function xr(a){a.Hn=null;if(Bd(a.Ia.displayObject())&&mf){const b=a.B,c=ND(a.NT);a.Ia=new O({Ka:c.mediaElement()});wi(a,c);b.ze()}}
function nv(a,b){a.qf&&(b?a.Hu||(a.Hu=setInterval(()=>wE(a),100)):(clearInterval(a.Hu),a.Hu=void 0,a.kp(!1)))}function xE(a,b){const c=new uE({Ad:a.B,wc:a.ra,jb:a.Ca,Hf:b,vt:a.ro});c.resize(a.B.mediaElement().width);c.Nf(0);c.sL.addHandler(()=>{a.kp(!a.Nh);return Qn(c.displayObject())},a);c.aI.addHandler(()=>{a.VA||yE(a,!1)},a);me(a.Ia.displayObject(),"mouseenter",()=>{a.VA=!0;yE(a,!0)},!1,a);me(a.Ia.displayObject(),"mouseleave",()=>{a.VA=!1;c.locked()||yE(a,!1)},!1,a);return c}
function zE(a,b){if(a.rc){const c=wh()?"poster_frame_hide_video":"poster_frame";b?eq(a.Ia.displayObject(),c):fq(a.Ia.displayObject(),c);a.rc.Nf(b?1:0);!b&&a.Uv&&(AE(a,a.Uv),a.Uv=void 0)}}function AE(a,b){a.rc&&ou(a.rc,"background-image",`url(${b})`)}
function BE(a,b,c){a.rc||(a.rc=new O({O:"poster"}),ou(a.rc,"background-size","contain"),ou(a.rc,"background-position","center"),ou(a.rc,"background-repeat","no-repeat"),ou(a.rc,"position","absolute"),ou(a.rc,"top","0"),mf?a.Ia.displayObject().parentNode.appendChild(a.rc.displayObject()):a.Ia.za(a.rc),a.rc.resize(a.Ia.width(),a.Ia.height()));!c&&mf&&a.rc.opacity()?a.Uv=b:AE(a,b)}
function wE(a){var b=a.Ia.displayObject().parentNode;if(b&&"none"!=b.style.display){var c=Fg(a.Ia.displayObject());a.qf.resize(c.width);b=(b=Mn(b))?b.nb:1;b=a.Nh?b*a.SB:b;a=a.qf;b&&(a.$B=b,b=a.width())&&(a.ua=Math.max(a.$B,240/b),c=Math.round(11/a.ua),ou(a,"left",`${c}px`),ou(a,"bottom",`${c}px`),b=Math.round(b*a.ua)-22,Pn(a.displayObject(),1/a.ua),c=b-173,a.ue&&a.ue.visible()&&(c-=a.ue.width()),a.Qv&&(c-=a.Qv.width()),a.UB.resize(c),a.Fg(b))}}
function vE(a,b,c){const d=a.Nh?1:a.SB,e=new nl;e.scale(1/d,1/d);Jn(a.Ia.displayObject(),e);a.Ia.resize(b*d,c*d)}function yE(a,b){var c=b?1:0;(new VD(a.qf,a.qf.opacity(),c)).play();a.ra&&(b?(a=a.ra,a.Zj||(a.Zj=ID(KD(a)))):JD(a.ra))}
class CE extends yi{constructor(a,b,c,d=null){const e=ND(a);super(e);this.NT=a;this.Ca=new Gt(d||{});this.rc=OD(e);this.ra=PD(e);this.qf=null;this.Uv=void 0;this.VA=this.Nh=!1;this.SB=1;this.Tw=!1;this.Hu=void 0;this.Hn=null;this.ro=b;mf?this.Ia=new O({Ka:this.B.mediaElement()}):(a=this.If(),super.nk(!1),this.Ia=new O({O:"video_player"}),this.qf=xE(this,c),this.rc&&this.Ia.za(this.rc),this.Ia.za(this.B.mediaElement()),this.Ia.za(this.qf),this.Ia.resize(this.B.mediaElement().width,this.B.mediaElement().height),
this.nk(a));zE(this,!0);Bf&&this.B.ob().addHandler(f=>{"playing"==f.state()&&this.Hn&&(f=this.Hn.style.opacity,this.Hn.style.opacity="0.99",this.Hn.style.opacity=f)},this)}nk(a){this.qf?this.qf.pa(a):this.B.nk(a);a?this.Tw||(uf?x(this,this.Ia,"click",this.xv,this):y(this,this.Ia.ta,this.xv,this),x(this,this.Ia,"click",this.bL,this),this.Tw=!0):this.Tw&&(uf?Fe(this,this.Ia,"click",this.xv,this):He(this,this.Ia.ta,this.xv,this),Fe(this,this.Ia,"click",this.bL,this),this.Tw=!1)}If(){return this.qf?this.qf.visible():
super.If()}vD(){this.B&&this.B.vD()}OE(){this.B&&this.B.OE()}setScale(a){this.SB=a;vE(this,this.B.mediaElement().width,this.B.mediaElement().height)}videoWidth(){return this.B.videoWidth()}videoHeight(){return this.B.videoHeight()}resize(a,b){this.Ia&&(vE(this,a,b),this.qf&&wE(this));const c=this.B.mediaElement();c.width=a;c.height=b;this.rc&&this.rc.resize(this.Ia.width(),this.Ia.height())}width(){const a=this.B.mediaElement();return parseInt(a.width,10)}height(){const a=this.B.mediaElement();return parseInt(a.height,
10)}xv(){this.If()&&(this.B.playing()?this.B.pause():this.B.play())}bL(a){a.stopPropagation()}show(a){this.Ia.displayObject().style.display=a?"":"none"}kp(a){if(this.Nh!=a&&this.Ia.displayObject().parentNode){this.Nh=a;let b=this.Ia.displayObject().parentNode;for(;b&&!Gn(b,"slide");)a=b,this.Nh?Hn(a,"fullscreen"):In(a,"fullscreen"),b=b.parentNode;vE(this,this.B.mediaElement().width,this.B.mediaElement().height)}}Al(a,b){super.Al(a,b);this.playing&&this.ra&&this.ra.select(this.ra.Ll)}};function DE(a,b){const c=$i(fj(a.Vb,a.K),b);b=c?c.startTimestamp():b;if(mf&&a.B instanceof yi){const d=a.B.Ad(),e=d.src();d.jf(rh());d.play();setTimeout(()=>{d.jf(e);a.Pi(b,0,!0)},0)}else a.Pi(b,0,!0)}function EE(a,b){if(a.BC){var c=a.B,d=a.K;var e=a.hh||0;var f=a.Vb.duration();d=d.Ii(a.J.timestamp(),!0,!1)-d.Ii(a.vd,!0,!1);d+=e;const h=Math.floor(d/f);e=h;f=d-h*f;a.Ov=e;e=f-c.currentTime();c.playing()&&!b&&.01<e&&.5>e?a.Gw(f):c.seek(f)}}function FE(a){a.wa||a.B.deactivate()}
function GE(a){a.qg=void 0;a.J.pb().removeHandler(a.iG,a);a.J.ob().removeHandler(a.hG,a);a.lq=!1;a.LA="ended";if(a.Vb instanceof Tj){const b=a.B;a.Vb.my()&&b.stop();b.kp(!1);a.Vb.aE()&&b.show(!1)}a.ld.D(a);HE(a)}function HE(a){a.Cf&&(a.Cf=!1,Zh(a.J,!1,a))}
class IE{constructor(a,b,c,d){this.K=a;this.J=b;this.Vb=c;this.B=d;this.vd=null;this.Ov=0;this.hh=null;this.ug=this.Yb=!1;this.Yg=new B;this.ld=new B;this.BC=!1;this.qg=void 0;this.lq=this.wa=!1;this.LA="";this.Cf=!1;this.B.ob().addHandler(this.qv,this);this.B.vr.addHandler(this.iK,this)}activate(){this.wa=!0;this.B.wa||this.B.activate()}deactivate(){this.B.playing()||this.B.deactivate();this.wa=!1}Ad(){return this.B}playing(){return this.B.playing()}buffering(){return this.Yb&&(this.B.buffering()||
!this.B.qs())}play(a){this.Pi(this.J.timestamp(),void 0!==a?a:null,!1)}Pi(a,b,c){this.ir();this.J.pb().addHandler(this.Oa,this);this.B.ld.addHandler(this.Bj,this);this.B.hj.addHandler(this.Bj,this);this.B.qo.addHandler(this.dJ,this);this.Yb=!0;this.ug=!1;this.BC=c;this.vd=a;this.hh=null!=b?b:null;this.BC?(a=()=>{EE(this,!0);this.B.play();this.Bj()},sf&&!mf?this.Vb instanceof Tj?setTimeout(a,150):a():(uf&&this.B.jf(this.B.src()),a())):null!=b?this.B.xk(b):this.B.play()}pause(){this.Wg();this.B.pause();
FE(this)}stop(a){this.Wg();this.B.pause();const b=this.Vb instanceof Tj&&this.Vb.my();a=a||b?0:this.B.duration();this.B.seek(a);FE(this);GE(this)}ir(){this.J.pb().removeHandler(this.Oa,this);this.B.ld.removeHandler(this.Bj,this);this.B.hj.removeHandler(this.Bj,this);this.B.qo.removeHandler(this.dJ,this)}Oa(){if(this.vd){var a=this.vd;const d=this.J.timestamp();var b=d.slideIndex()-a.slideIndex(),c=0==b;a=c?d.stepIndex()-a.stepIndex():0;c=c&&0==a;0>b||0>a?b=!0:(a=this.Vb.wf,b=0>a?!c:b>a);b&&(this.Wg(),
this.B.pause(),FE(this))}}qv(){const a=this.B.state();if("ended"==a){++this.Ov;let c=!1;const d=this.Vb.fh;if("number"!==typeof d){var b=this.vd;const e=this.J.timestamp();b=b.slideIndex()!=e.slideIndex()||b.stepIndex()!=e.stepIndex();switch(d){case "untilNextClick":c=!b;break;case "untilNextSlide":c=!0}}else c=this.Ov<d;c?(this.lq=!0,this.B.seek(0),this.B.play()):(this.Wg(),GE(this),FE(this))}else"playing"!=a||"playing"==this.LA||this.lq||(this.iK(),void 0===this.qg&&this.rv());"buffering"!=a&&"paused"!=
a&&(this.LA=a)}Bj(){this.ld.D(this);this.buffering()||(this.playing()&&this.ug?this.B.pause():EE(this,!1))}iK(){this.lq?this.lq=!1:this.Ov=0}FN(){this.ug&&(this.ug=!1,this.B.play())}EN(){this.ug||(this.ug=!0,this.buffering()||this.B.pause())}Gw(a){this.Cf||this.buffering()||(this.Cf=!0,Zh(this.J,!0,this),this.B.Ac.addHandler(function c(){.1>a-this.B.currentTime()&&(this.B.Ac.removeHandler(c,this),HE(this))},this))}rv(){this.qg=this.J.timestamp();this.J.pb().addHandler(this.iG,this);this.J.ob().addHandler(this.hG,
this);if(this.Vb instanceof Tj){const a=this.B;a.show(!0);this.Vb.zE()&&a.kp(!0);zE(a,!1)}}hG(){var a;if(a=this.Yb)a:if(this.J.suspended()){a=this.J.timestamp();if(0<this.Vb.wf){var b=Zi(fj(this.Vb,this.K)).startTimestamp().slideIndex()+this.Vb.wf;if(b!=a.slideIndex()){a=!1;break a}}else b=a.slideIndex();b=this.K.getSlide(b).va();a=a.stepIndex()==b.count()-1}else a=!1;a&&GE(this)}iG(){const a=this.J.timestamp(),b=fj(this.Vb,this.K);0<this.Vb.wf?null==$i(b,a)&&GE(this):this.qg&&this.qg.slideIndex()!=
a.slideIndex()&&GE(this)}Wg(){this.Yb&&(this.Yb=!1,this.ir(),this.ld.D(this),this.Yg.D(this));HE(this)}dJ(){this.Wg();FE(this)}Qi(){return this.Yg}};class JE extends IE{constructor(a,b,c,d){super(a,b,c,d);this.Zc=c}Oa(){this.Zc.pn||super.Oa()}};class KE{constructor(a,b,c,d){this.Yb=this.ug=!1;this.vd=null;this.K=a;this.J=b;this.Zc=c;this.B=d;this.Yg=new B;this.ld=new B}playing(){return this.B.playing()}buffering(){return this.B.buffering()}play(a){this.Pi(this.J.timestamp(),a||0)}Pi(a,b){this.ir();this.B.ob().addHandler(this.qv,this);this.B.ld.addHandler(this.Bj,this);this.vd=a;this.ug=!1;this.Yb=!0;this.B.activate();var c=this.B,d=c.xk;const e=this.K;a=(e.Ii(this.J.timestamp(),!0,!1)-e.Ii(a,!0,!1)+b)%this.Zc.duration();d.call(c,a)}pause(){this.stop()}stop(){this.Yb&&
(this.Wg(),this.B.stop(),this.B.deactivate())}ir(){this.B.ob().removeHandler(this.qv,this);this.B.ld.removeHandler(this.Bj,this)}qv(){if("ended"==this.B.state()){let a=!0;if("untilNextSound"==this.Zc.fh){const b=this.vd.slideIndex();this.J.timestamp().slideIndex()>=b&&(this.B.seek(0),this.B.play(),a=!1)}a&&(this.Wg(),this.B.deactivate())}}Bj(){this.ld.D(this);!this.buffering()&&this.playing()&&this.ug&&this.B.pause()}FN(){this.ug=!1;this.B.play()}EN(){this.ug=!0;this.buffering()||this.B.pause()}Wg(){this.Yb&&
(this.Yb=!1,this.ir(),this.Yg.D(this))}Qi(){return this.Yg}};function Nq(a,b,c,d){var e=a.J.timestamp();c=null!=c?c:null;d=d||!1;const f=Oq(a,b);LE(a,b,f,d&&!b.pn);f.Pi(e,c,d)}function Pq(a){a.Vm&&(a.Vm.stop(),a.Vm=null)}function nr(a,b,c){ME(a,b)&&(b=or(a,b),b.stop(c),a.Og==b&&(a.Og=null))}function ZC(a,b){a.Mm?a.Mm.ZE(b):(a.Mm=new uD(b,a.vO,a.Wb,a.nl),a.wa&&a.Mm.activate())}function Oq(a,b){const c=ma(b)+"";if(!(c in a.tC)){const d=a.Wb.WD(b);a.tC[c]=new JE(a.I.slides(),a.J,b,d)}return a.tC[c]}function ME(a,b){b=ma(b)+"";return a.Gr.hasOwnProperty(b)}
function or(a,b){const c=ma(b)+"";if(!a.Gr.hasOwnProperty(c)){const d=a.Wb.rh(b);a.Gr[c]=new IE(a.I.slides(),a.J,b,d)}return a.Gr[c]}function NE(a){const b=a.J.timestamp().slideIndex();if(!a.FH[b]){var c=a.I.slides().getSlide(b).Fb();for(let d=0;d<c.count();++d){const e=jj(c,d),f=ma(e)+"",h=a.Wb.rh(e);a.Gr[f]=new IE(a.I.slides(),a.J,e,h)}a.FH[b]=!0}}function OE(a,b){const c=ma(b)+"";if(!(c in a.OC)){const d=a.Wb.WD(b);a.OC[c]=new KE(a.I.slides(),a.J,b,d)}return a.OC[c]}
function LE(a,b,c,d){a.Cu&&(a.Cu.stop(),a.Cu=null);b.pn&&(a.Vm&&a.Vm.stop(),a.Vm=c);d?a.Sh.add(c,0<b.wf?CD:zD):a.Sh.remove(c);"untilNextSound"==b.fh&&(a.Cu=c)}function mr(a,b,c,d,e){b=or(a,b);e?(mf&&a.Og&&a.Og.Yb&&a.Og.pause(),a.Sh.add(b,BD)):a.Sh.remove(b);Ta(a.Xr,b.Ad());!a.wa&&e||b.Pi(c,d,e);e?a.Og=b:(c=b.Ad(),a.IH.D(c))}function PE(a,b){b=a.I.slides().getSlide(b).sb().qb();Ja(b,c=>{Qa(a.Et,c)||(Oq(a,c).activate(),a.Et.push(c))},a);qh(a.kP,a)}
function bt(a,b,c,d){if(a.nl.qM()){var e=OE(a,b);LE(a,b,e,!0);e.Pi(c,d)}}function QE(a,b){return"accessible"==a.ya?null:a.I.slides().getSlide(b).Kp}
class RE{constructor(a,b,c){this.wa=!1;this.I=a;this.Wb=b;this.nl=c;this.J=null;this.Sh=new yD(a);this.Cu=this.Og=this.Vm=this.Mm=null;this.ya="normal";this.tC={};this.Gr={};this.OC={};this.H=-1;this.jo=ft(a.slides());this.Xr=[];this.IH=new B;this.FH={};this.Et=[];a=this.Wb;b=Nh();b=new SE(b);y(a,b.Fp,a.uv,a);this.vO=b}$E(a,b){this.J=a;this.Sh.$E(a,b);a.pb().addHandler(this.Oa,this)}Bh(a){this.ya=a;this.nl.Bh(a)}activate(){this.wa=!0;this.Og&&DE(this.Og,this.J.timestamp());this.Mm&&this.Mm.activate();
const a=this.J.timestamp().slideIndex();0<=a&&PE(this,a)}Oa(a){a=a.timestamp().slideIndex();a!=this.H&&this.uf(a)}kP(){const a=this.J.timestamp().slideIndex(),b=this.I.slides().getSlide(a).sb().qb();Ja(this.Et,c=>{Qa(b,c)||(Oq(this,c).deactivate(),Ta(this.Et,c))},this)}uf(a){NE(this);this.wa&&PE(this,a);const b=(f,h)=>{for(let g=0;g<f.length;++g){const k=f[g],l=this.Wb.rh(k);l&&h(k,l)}};var c=this.H;this.H=a;const d=this.Xr,e=ht(this.jo,c,a);c=ht(this.jo,a,c);b(e,(f,h)=>{h.qo.removeHandler(this.eJ,
this);Ta(d,h)});b(c,(f,h)=>{h.qo.addHandler(this.eJ,this)});this.Wb.GN();ZC(this,QE(this,a))}eJ(a,b){var c=this.Xr;Qa(c,a)||c.push(a);"play"==b&&this.IH.D(a)}};class SE extends zi{constructor(a){super(a);this.$g=null}ZE(a){this.$g!=a&&(a?this.jf(a.Zl()[0].sources()):this.B.jf(rh()),this.$g=a)}};class TE{constructor(){this.Aa={};this.RF={};this.ye=1}forEach(a){pc(this.Aa,a,this)}get(a){a=a.id();return this.Aa[a]}set(a,b,c){this.Aa[a.id()]=b;this.RF[a.id()]=c;b.setVolume(this.ye*c)}KD(a){return a.id()in this.Aa}setVolume(a){if(this.ye!=a){this.ye=a;for(const b in this.Aa)this.Aa.hasOwnProperty(b)&&this.Aa[b].setVolume(this.ye*this.RF[b])}}Wx(){for(const a in this.Aa)this.Aa.hasOwnProperty(a)&&this.Aa[a].pause()}};function uv(a,b){a.ua=b;a.Wl.forEach(c=>{c.setScale(b)})}function UE(a){const b=a.Zu?0:a.ye;b!=a.YB&&(a.YB=b,a.eK.D(),a.ko.setVolume(b),a.Wl.setVolume(b))}
class VE extends Vh{constructor(a){super();this.Xb=a;this.ko=new TE;this.Wl=new TE;this.ye=1;this.Zu=!1;this.YB=1;this.VL=K(this);this.eK=K(this);this.qI=K(this);this.wJ=K(this);this.VK=K(this);this.RT=K(this);this.ua=1;this.Ca=null;y(this,this.Xb.hi,this.GN,this)}WD(a){var b=a.asset();a=a.volume();a=void 0!==a?a:1;if(this.ko.KD(b))var c=this.ko.get(b);else c=null,b.ik()?c=qd(document,b.ik()):b.Ve()&&(c=yd(Hc(b.Ve()))),c=new zi(c),c.Ah(this.Xb.playbackRate()),y(this,c.Fp,this.uv,this),this.ko.set(b,
c,a);return c}rh(a){var b=a.asset(),c=a.volume();a=a.Hf();c=void 0!==c?c:1;this.Wl.KD(b)?a=this.Wl.get(b):(a=new CE(b.Ve(),this.Xb.vt(),a,this.Ca),y(this,a.Fp,this.ER,this),a.setScale(this.ua),a.Ah(this.Xb.playbackRate()),this.Wl.set(b,a,c));return a}GN(){const a=this.Xb.playbackRate();this.ko.forEach(b=>b.Ah(a));this.Wl.forEach(b=>b.Ah(a))}volume(){return this.ye}setVolume(a){if(0>a||1<a)throw Error("Sound volume is out of range");this.ye!=a&&(this.ye=a,UE(this),this.VL.D())}Ni(a){this.Zu!=a&&(this.Zu=
a,this.qI.D(),UE(this))}muted(){return this.Zu}Ts(){return this.YB}Wx(){this.ko.Wx();this.Wl.Wx();this.wJ.D()}TN(){return this.VL}Us(){return this.eK}UV(){return this.qI}uv(a,b){this.VK.D(a,b)}ER(a,b){this.RT.D(a,b)}VE(a){this.Ca=a}}VE.prototype.muteStateToggledEvent=VE.prototype.UV;VE.prototype.realVolumeChangedEvent=VE.prototype.Us;VE.prototype.volumeChangedEvent=VE.prototype.TN;VE.prototype.realVolume=VE.prototype.Ts;VE.prototype.muted=VE.prototype.muted;VE.prototype.mute=VE.prototype.Ni;
VE.prototype.setVolume=VE.prototype.setVolume;VE.prototype.volume=VE.prototype.volume;class WE{activate(){}};class XE{constructor(a,b,c){const d=c.duration();b=new Hi(b.index(),-1,0);const e=c.Ii(b,!0,!1);a="untilNextSound"==a.fh?d:Math.min(d,e+a.duration());c=c.Ao(a,!0,!1);this.Ke=new aj([new Yi(new Wi("play",b,0),b,c)])}uD(){return this.Ke}};function YE(a){const b=a.J.timestamp();a=a.Yu;for(let f=0,h=a.length;f<h;++f){var c=a[f],d=b;if(!c.mE()&&(c.IW||c.lE())){var e=$i(c.AE,d);e?0!=Gi(d,e.startTimestamp())&&c.kF(e.startTimestamp(),e.TO.Ce()||0):(d=0==c.AE.count()||0>=Gi(d,Zi(c.AE).startTimestamp()),c.nF(d))}}}
class ZE{constructor(a,b,c,d){this.aB=!1;this.K=a;this.ja=b;this.Yu=[];this.J=c;c.ob().addHandler(this.Dn,this,1);for(b=0;b<a.count();++b)c=a.getSlide(b),c.yd()&&this.yH(c);d.og.addHandler(this.yH,this)}yh(){this.J.Td()?YE(this):this.aB=!0}Dn(){this.J.Td()&&this.aB&&(YE(this),this.aB=!1)}yH(a){const b=this.K;for(var c=a.sb(),d=0;d<c.count();++d){var e=jj(c,d);e.pn||(e=new $E(e,fj(e,b),this.ja),this.Yu.push(e))}c=a.Fb();for(d=0;d<c.count();++d)e=jj(c,d),e=new aF(e,fj(e,b),this.ja),this.Yu.push(e);
if(d=(d=a.transition())?d.sound():null)a=(new XE(d,a,b)).uD(),this.Yu.push(new bF(d,a,this.ja))}}class cF{constructor(a,b){this.AE=a;this.IW=b}}class $E extends cF{constructor(a,b,c){super(b,!0);this.Zc=a;this.ja=c}lE(){return Oq(this.ja,this.Zc).Yb}mE(){var a=this.ja;const b=Oq(a,this.Zc);return b.Yb&&!a.Sh.contains(b)}nF(){Oq(this.ja,this.Zc).stop()}kF(a,b){var c=this.ja,d=this.Zc;const e=Oq(c,d);LE(c,d,e,!d.pn);e.Pi(a,b,!0)}}
class aF extends cF{constructor(a,b,c){super(b,!0);this.xi=a;this.ja=c}lE(){var a=this.ja;const b=or(a,this.xi);return b.Yb||Qa(a.Xr,b.Ad())}mE(){var a=this.ja;var b=this.xi;ME(a,b)?(b=or(a,b),a=b.Yb&&!a.Sh.contains(b)||Qa(a.Xr,b.Ad())):a=!1;return a}nF(a){nr(this.ja,this.xi,a)}kF(a,b){mr(this.ja,this.xi,a,b,!0)}}class bF extends cF{constructor(a,b,c){super(b,!1);this.Zc=a;this.ja=c}lE(){return OE(this.ja,this.Zc).Yb}mE(){return!1}nF(){OE(this.ja,this.Zc).stop()}kF(a,b){bt(this.ja,this.Zc,a,b)}};class dF{constructor(a){this.I=a;this.MG=new B}ft(a){a.slideChangeEvent().addHandler(this.uf,this)}uf(a){a=this.I.slides().getSlide(a).hm();for(let c=0;c<a.count();++c){var b=a.VD(c);this.MG.D(b)}}JD(){return this.MG}};class eF{constructor(a){this.I=a;this.XF=!1;a=this.I.hc();this.uO=this.yw(a.yg());this.PT=this.yw(a.Fh())}vk(a){this.J=a}pM(){return!0}qM(){return!(0<this.vu(this.uO,this.vd()).length||0<this.vu(this.PT,this.vd()).length)&&!(this.I.slides().getSlide(this.J.timestamp().slideIndex()).Kp&&!this.XF)}TE(a){this.XF=a}Bh(){}vd(){return this.J.timestamp()}vu(a,b){const c=[];for(let d=a.length-1;0<=d;--d){const e=a[d];if(0<=Gi(b,e.endTimestamp()))break;0<=Gi(b,e.startTimestamp())&&c.push(e)}return c}yw(a){const b=
[];for(let c=0;c<a.count();++c)b.push(a.Bs(c));bb(b,(c,d)=>Gi(c.startTimestamp(),d.startTimestamp()));return b}};class fF extends WE{constructor(a){super();this.Wy=new gF;this.Cv={};a.VK.addHandler(this.uv,this)}activate(){this.Wy.activate()}uv(a,b){if(b){b=ma(a)+"";var c=a.Ad();var d=this.Wy;var e=c.src();let f=null;0<d.Aa.length&&(f=d.Aa[0],f.jf(e),Ta(d.Aa,f));if(d=f)this.Cv[b]=c,wi(a,d)}else c=ma(a)+"",c in this.Cv&&(b=this.Cv[c],delete this.Cv[c],c=a.Ad(),this.Wy.release(c),wi(a,b))}}
class gF{constructor(){this.Aa=[];for(let a=0;20>a;++a){const b=new ui(w("audio"));this.Aa.push(b)}}activate(){Ja(this.Aa,a=>{a=a.mediaElement();a.play();a.pause()})}release(a){this.Aa.push(a)}};class hF extends Vh{constructor(){super();this.MB=1;this.ro=!1;this.hi=K(this)}playbackRate(){return this.MB}Ah(a){this.MB!=a&&(this.MB=a,this.hi.D())}vt(){return this.ro}};function iF(a){this.aH=a;this.nd=15E3}n=iF.prototype;n.uu=null;n.qL=0;n.Lw=!1;n.Ho=function(a){this.uu=Wa(arguments);this.Lw||(this.Lw=!0,this.qL=setTimeout(this.zR.bind(this),this.nd))};n.zR=function(){this.Lw=!1;this.aH.apply(null,this.uu);this.uu=null};n.bV=function(a){this.cancel();this.aH.apply(null,arguments)};n.cancel=function(){clearTimeout(this.qL);this.Lw=!1;this.uu=null};function jF(a){const b=new kF;b.ml=a.lastViewedSlide;b.xg=a.viewDuration;b.Sj=a.slideStates;const c=a.zoomState;c&&(b.mh=new Uj({Kf:c.indexes,Ct:c.zoomStates||[]}));if(a=a.slideTimelineStates)b.oi=rc(a,d=>new Fr(d.S,d.s,d.t)),b.Qr=!0;return b}function Us(a,b){return b in a.oi?a.oi[b]:null}function dt(a,b){a.xg!=b&&(a.xg=b,a.Af=!0,a.KH.Ho())}function Os(a,b){a.ml!=b&&(a.ml=b,a.Af=!0)}
class kF{constructor(){this.ml=null;this.xg=0;this.mh=null;this.Sj={};this.oi={};this.Af=!1;this.KH=new iF(this.NP.bind(this));this.Wj=new B;this.Qr=!1}gE(){return this.ml}Mo(a){return a in this.Sj?this.Sj[a]:null}SE(){const a={};a.lastViewedSlide=this.ml;a.viewDuration=this.xg;a.slideStates=Ac(this.Sj);this.mh&&(a.zoomState=this.mh.persistState());this.Qr&&(a.slideTimelineStates=rc(this.oi,b=>b.SE()));return a}xD(a){this.ml=a.ml;this.xg=a.xg;this.Sj=Ac(a.Sj);this.Qr=a.Qr;this.mh=a.mh?a.mh.xD():null;
this.oi=rc(a.oi,b=>b.clone());this.Af=!0}invalidate(){this.KH.bV()}NP(){this.Af&&(this.Af=!1,this.Wj.D())}stateChangedEvent(){return this.Wj}};class lF{constructor(a){this.zC=a;this.zb=0;this.Lg="gotoSlide";this.Yi=!1}slideIndex(){return this.zb}setSlideIndex(a){this.zb=a}action(){return this.Lg}setAction(a){this.Lg=a}Fc(){return this.Yi}qy(a){this.Yi=a}bX(){return this.zC}}lF.prototype.startupController=lF.prototype.bX;lF.prototype.setAutoStart=lF.prototype.qy;lF.prototype.autoStart=lF.prototype.Fc;lF.prototype.setAction=lF.prototype.setAction;lF.prototype.action=lF.prototype.action;lF.prototype.setSlideIndex=lF.prototype.setSlideIndex;
lF.prototype.slideIndex=lF.prototype.slideIndex;q("ispring.presenter.player.startup.PresentationStartup.Action",Ih);q("RESUME_PLAYBACK","resumePlayback",Ih);q("GOTO_SLIDE","gotoSlide",Ih);q("DELAY_STARTUP","delayStartup",Ih);const mF={$N:"gotoPreviousSlide",WN:"continuePresentation",XN:"finishAction",d0:"skipQuiz"};q("QuizPlayerControllerActionType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$quiz$player$QuizPlayerControllerActionType",mF);q("GOTO_PREVIOUS_SLIDE","gotoPreviousSlide",mF);q("CONTINUE_PRESENTATION","continuePresentation",mF);q("FINISH_ACTION","finishAction",mF);q("SKIP_QUIZ","skipQuiz",mF);const nF={WN:"continuePresentation",XN:"finishAction",e0:"skipScenario",$N:"gotoPreviousSlide",lZ:"gotoNextSlide"};q("ScenarioPlayerControllerActionType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$scenario$player$ScenarioPlayerControllerActionType",nF);q("CONTINUE_PRESENTATION","continuePresentation",nF);q("FINISH_ACTION","finishAction",nF);q("SKIP_SCENARIO","skipScenario",nF);q("GOTO_PREVIOUS_SLIDE","gotoPreviousSlide",nF);
q("GOTO_NEXT_SLIDE","gotoNextSlide",nF);const oF={pZ:"initializing",OX:"authorizating",sZ:"inProgress",cY:"completed"};q("ScenarioState$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$scenario$session$ScenarioState",oF);q("INITIALIZING","initializing",oF);q("IN_PROGRESS","inProgress",oF);q("COMPLETED","completed",oF);q("AUTHORIZATING","authorizating",oF);const pF=["initializing","authorizating","inProgress","completed"];function zr(a,b,c){a.Yb()&&a.iu(a.SS,b,c)&&(b=a.I.settings().Bm().wy(),c="quiz"==a.C.U().type(),b&&!c?b.open():a.C.U().hs()&&!Ff&&jv(a))}function jv(a){const b=a.Lj,c=b.clock(),d=a.I.settings().playback().uh(),e=b.BE()&&0>b.nextSlideIndex();c.started()||e?!d&&e?ct(a.ja.Sh):"bySlides"==a.I.settings().navigation().vh().zj?b.gotoNextSlide():b.tk():b.play()}
class qF{constructor(a,b){this.I=a;this.ja=b;this.Lj=this.C=null;this.SS=new B;this.US=new B;this.VS=new B;this.TS=new B}Yb(){return!!this.C&&0<=this.C.currentSlideIndex()}iu(a,b){const c=new Dh,d=$a(Wa(arguments),1);a.D(...d.concat(c));return!c.actionPrevented()}};class rF extends gi{constructor({track:a,ut:b,Hi:c,mm:d,$x:e}){super(a,b,a.video().sources(),c,e);this.Bb=b;this.Ln=d}ut(){return this.Bb}activate(a){super.activate(a);this.Ln&&BE(this.Bb,this.Ln,!0)}SC(){this.Ln&&(BE(this.Bb,this.Ln,!0),zE(this.Bb,!0),this.Bb.Ac.addHandler(function b(){0!=this.Bb.currentTime()&&(this.Bb.Ac.removeHandler(b,this),zE(this.Bb,!1))},this));super.SC()}};class sF{constructor(a){this.Xb=a}mk(a,b){const c=new CE("<video width='960px' height='540px'></video>",this.Xb.vt()),d=a.video().mm();d&&BE(c,d,!0);return new rF({track:a,ut:c,Hi:b,mm:a.video().mm(),$x:this.Xb})}};class tF{constructor(a){this.Bb=a;this.L=w("div");tr(a,this.L)}displayObject(){return this.L}resize(a,b){this.Bb.resize(a,b)}width(){return this.Bb.width()}height(){return this.Bb.height()}vF(a){a.resize(this.Bb.width(),this.Bb.height());xr(this.Bb);this.Bb=a;tr(a,this.L)}}tF.prototype.updatePlayer=tF.prototype.vF;tF.prototype.height=tF.prototype.height;tF.prototype.width=tF.prototype.width;tF.prototype.resize=tF.prototype.resize;tF.prototype.displayObject=tF.prototype.displayObject;class uF{constructor(a,b){this.Bb=a;this.Xb=b}mk(a,b){return new rF({track:a,ut:this.Bb,Hi:b,mm:a.video().mm(),$x:this.Xb})}};class vF extends Lj{constructor(a,b,c,d,e){const f=new CE(We&&10>xf?"<audio></audio>":"<video width='400px' height='300px'></video>",e.vt());super(a,b,c,mf?new uF(f,e):new sF(e));this.Bb=f;this.Z=new tF(f);this.Ld=d;this.Ld.Us().addHandler(this.lh,this);this.lh();this.LJ=new O;this.LJ.Nf(0);document.body.appendChild(this.LJ.displayObject())}activate(){if(Pf){const a=this.Bb.Ad().mediaElement();a.src=rh();a.play();a.pause()}super.activate()}view(){return this.Z}RB(a){super.RB(a);mf&&(clearTimeout(this.$R),
a.length&&(this.$R=qh(()=>{const b=a[0].video().mm();b&&BE(Fj(this,a[0]).ut(),b)},this,500)))}lh(){this.Bb.setVolume(this.Ld.Ts())}Ep(a){super.Ep(a);mf||(this.Bb=Fj(this,a).ut(),this.Z.vF(this.Bb),this.lh())}}vF.prototype.view=vF.prototype.view;class wF{constructor(a,b,c){this.Dd=!1;this.sa=null;this.Ai=b;this.PB=c;b.us()&&(this.Sa=w("DIV"),a.displayObject().appendChild(this.Sa),this.Sa.style.overflow="hidden",this.Sa.style.position="absolute",df&&(this.Sa.style["-webkit-overflow-scrolling"]="touch",this.Sa.style.overflow="auto"),a=w("IFRAME"),a.setAttribute("src",this.Ai.url()),a.style.border=0,a.style.backgroundColor="#ffffff",a.setAttribute("webkitallowfullscreen",""),a.setAttribute("mozallowfullscreen",""),a.setAttribute("allowfullscreen",
""),this.sa=a)}Xd(a){const b=this.Ai;if(this.sa&&this.Sa&&b.us()){var c=a.scale();const d=c*b.width();c*=b.height();a=a.position(b.id(),1);Cg(this.Sa,d,c);vg(this.Sa,a.x,a.y);Cg(this.sa,d,c)}}visible(){return this.Dd}vy(a){if(this.Dd!=a)if(this.Dd=a,this.Ai.us()){if(a){this.Sa.appendChild(this.sa);try{this.sa.contentWindow.ispringPresentationPlayer=this.PB}catch(b){}}else zd(this.Sa);Lg(this.Sa,a)}else if(a){if(!this.sa){a=this.Ai;const b={resizable:!0,statusbar:!1,toolbar:!1,location:!1,scrollbars:!1,
menubar:!1},c=this.Ai.width()||this.Ai.height();a.SD()?(b.width=screen.availWidth,b.height=screen.availHeight,b.top=0,b.left=0):c&&(b.width=Math.max(this.Ai.width(),100),b.height=Math.max(this.Ai.height(),100));this.sa=Hf?this.AB(a.url()):Rg(a.url(),b)}}else{if(this.sa)try{this.sa.close()}catch(b){}this.sa=null}}AB(a){(new Qg("openWindow",[a])).Ho();return null}};function xF(a,b,c){a.qC(b);yF(a,a.H,function(d){const e=d.Ai.timeout()<=c;e&&(d.visible()||d.Xd(a.Ja));d.vy(e)})}function yF(a,b,c){if(b=a.Bi(b)){var d=b.count();for(let h=0;h<d;h++){var e=b,f=h;if(e=0>f||f>=e.count()?null:e.Bi[f])e=a.B(e),c(e)}}}
class zF{constructor(a,b,c,d){this.H=-1;this.Aa={};this.PB=d;this.Ja=a;this.K=c;b.pb().addHandler(this.Oa,this);a.resizeEvent().addHandler(this.Oq,this)}Oa(a){a=a.timestamp();this.H!=a.slideIndex()&&xF(this,this.H,-1);this.H=a.slideIndex();-1!=a.stepIndex()&&(a=this.uC(a),xF(this,this.H,a))}B(a){const b=a.id();this.Aa[b]||(this.Aa[b]=new wF(this.Ja,a,this.PB));return this.Aa[b]}Oq(){const a=this;yF(this,this.H,function(b){b.Xd(a.Ja)})}Bi(a){return this.uw(a)&&(a=this.K.getSlide(a),a instanceof on)?
a.xt():null}qC(a){this.uw(a)&&this.K.getSlide(a).va().duration()}uC(a){const b=a.stepIndex(),c=a.slideIndex();return this.K.getSlide(c).va().Za(b).startTime()+a.timeOffset()}uw(a){return 0<=a&&a<this.K.count()}};function AF(a,b,c,d,e){if(a.cS)throw Error("presentation was already started");if(e){var f=a.B;const k=f.ka.pc;k.xD(e);dt(k,0);e=f.I.slides();for(f=0;f<e.count();++f){var h=k.Mo(f);if(h){var g=e.getSlide(f);g.Di(h,k.xg);h=k;g=g.persistState();h.Sj[f]=g;h.Af=!0}}k.invalidate()}b=Tc(b,0,a.B.presentation().slides().count()-1);a.B.ZK.D(d,b,c);d=a.B.ip().tc;void 0!==b&&d.sm(b);BF(d);CF(a,b,c)}
function CF(a,b,c){const d=a.B.presentation(),e=d.slides().getSlide(b),f=a.B.view().playbackController();Ss(f);a.$K&&DF(a.B);const h=()=>{Os(a.B.wx().pc,b);a.B.Z.Jx();const g=!(e instanceof on);g&&f.uk(b,0,0,!1);let k=!1;if(void 0===c){c=d.settings().playback().Fc();const l=new Cn(d,f,e);c&&(Pf||Qf)&&Bn(l)&&(c=!1,k=!0)}k&&Ms(f,()=>{EF(a.B,b,!1,k)});k&&!g&&f.uk(b,0,0,!1);k||(vs(f,b,c),EF(a.B,b,c,k))};if(e.yd())h();else{const g=f.Hi();Xh(g,!0,a);const k=a.B.wx().ip().tc,l=m=>{m===e&&(Xh(g,!1,a),k.og.removeHandler(l),
h())};k.og.addHandler(l)}}class FF{constructor(a,b){this.B=a;this.nT=b;this.$K=this.cS=!1}start(a,b){AF(this,a,b,"gotoSlide")}resume(a,b){AF(this,a,b,"resumePlayback",this.nT)}}FF.prototype.resume=FF.prototype.resume;FF.prototype.start=FF.prototype.start;function DF(a){a.QG||(a.QG=!0,a.mQ.activate(),a.Mt.activate(),a.Uw.activate(),a.ka.mediaController().activate())}
function EF(a,b,c,d){const e=a.Z.playbackController().clock(),f=!d;f&&a.zl();c&&DF(a);f&&c||e.ob().addHandler(function g(){e.started()&&(e.ob().removeHandler(g,this,-1),f||a.zl(),c||DF(a))},a,-1);a.DH.D(b,c,d)}function GF(a,b){const c=vd("DIV");c.getCore=function(){return b};c.setAttribute("id",a.I.settings().Cy());a.Z.displayObject().appendChild(c)}
function HF(a,b){if(b=null==a.Z.Ti().Gi(b))b=!(-1==a.Z.playbackController().nextSlideIndex()&&-1==a.Z.playbackController().previousSlideIndex());return b}function IF(a,b){return null==a.Z.Ti().Gi("quizArbitrarySlideSwitching",b)}function JF(a,b){return null==a.Z.Ti().Gi("ScenarioArbitrarySlideSwitching",b)}
function KF(a,b){var c=a.Z.playbackController(),d=c.U();c=c.Qb().view();c=wn(c.scenarioPlayer());switch(b){case "gotoPreviousSlide":return-1!=a.Z.playbackController().previousSlideIndex();case "skipScenario":return"atAnyTime"==d.yi&&HF(a,"switchToNextSlide");case "continuePresentation":return b=c.scenarioPassed()?d.Gv:d.qu,d=0,b instanceof Dr&&(d=b.slideIndex()),"gotoSlide"==b.type()&&JF(a,d)||"gotoNextSlide"==b.type()&&HF(a,"scenarioSwitchToNextSlideWithoutBranching");case "finishAction":return b=
c.scenarioPassed()?d.Gv:d.qu,d=0,b instanceof Dr&&(d=b.slideIndex()),"closePlayerWindow"==b.type()||"gotoSlide"==b.type()&&JF(a,d)||"gotoNextSlide"==b.type()&&HF(a,"scenarioSwitchToNextSlide")}return!1}
function LF(a,b){var c=a.Z.playbackController();const d=c.U();c=c.Qb().view();const e=Fh(c.quizPlayer());switch(b){case "gotoPreviousSlide":return"sequential"!=a.I.settings().navigation().navigationType()&&c.np()&&-1!=a.Z.playbackController().previousSlideIndex();case "skipQuiz":if(b="atAnyTime"==d.yi)b=HF(a,"switchToNextSlide")&&-1!=a.Z.playbackController().nextSlideIndex();return b;case "continuePresentation":return b=Gh(e)?d.Fv:d.pu,"gotoSlide"==b.type()?IF(a,b.slideIndex()):"gotoNextSlide"==b.type()&&
HF(a,"quizSwitchToNextSlideWithoutBranching");case "finishAction":return b=Gh(e)?d.Fv:d.pu,"gotoSlide"==b.type()?IF(a,b.slideIndex()):"closePlayerWindow"==b.type()||"gotoNextSlide"==b.type()&&HF(a,"quizSwitchToNextSlide")}return!1}
class MF{constructor(a,b,c){this.QG=!1;this.I=a;var d=af();if("1"==d.resume||"review"==window.launchMode)a.settings().playback().Pn="always";else if("0"==d.resume||"browse"==window.launchMode)a.settings().playback().Pn="never";var e=Pf?new eF(a):new lt;d=new mD;const f=new hF,h=new VE(f);h.VE(a.settings().jb());const g=new RE(a,h,e);var k=new qF(a,g);this.$G=new Ch;const l=new sD(a.settings().navigation().keyboard(),a.slides(),h,this.$G);var m=new kF;m.stateChangedEvent().addHandler(this.Pq,this);
this.ka=new qn(d,c,g,h,h,k,l,this,m);new TC(b);this.Z=new XC(this.ka,a,f);b=this.Z.playbackController();m=this.Z.Ti();e.vk(b.clock());g.$E(b.clock(),b.Hi());l.ft(m);k.C=b;k.Lj=m;d.ft(b);d.sy(g);GF(this,d);e=this.Z.pk();k=e.displayObject();c.tc.kc=k;new Bt(e,b.clock(),a.slides());new zF(e,b.clock(),a.slides(),this);new iD(this.Z,e,b.clock(),a.slides());this.kI=new dF(a);this.kI.ft(b);this.aL=new B;this.ZK=new B;this.DH=new B;this.lG=new B;this.Wj=new B;this.mS=new B;this.Mt=new Mj(a.slides(),b.Hi(),
a.hc().yg(),h,f);this.Uw=new vF(a.slides(),b.Hi(),a.hc().Fh(),h,f);this.nQ=new ZE(a.slides(),g,b.clock(),c.tc);new qD(b,h);mf&&new nD(d);this.cP=new kt(a.slides(),e,b,h);this.mQ=Pf?new fF(h):new WE;b.oK.addHandler(this.qR,this);b.Qi().addHandler(this.Wg,this);b.nu.addHandler(this.PQ,this);b.SG.addHandler(this.wP,this);b.slideChangeEvent().addHandler(this.vR,this);this.Wb=h;Nf&&ISPlayer.setPauseMediaCallback(this.Hv.bind(this))}wx(){return this.ka}zl(){this.cP.activate();this.Z.playbackController().activate()}presentation(){return this.I}view(){return this.Z}version(){return"8.3.0"}persistState(){return this.ka.pc.SE()}lV(a,
b){var c={width:a,height:b,wU:!1};this.mS.D(c);return c.wU?new bd(c.width,c.height):(c=Math.min(a/this.I.slideWidth(),b/this.I.slideHeight()),new bd(a*c,b*c))}Pq(){this.Wj.D(new Dh)}start(a){var b=null;a&&(b=jF(a));a=this.I.settings().playback();var c=this.view().playbackController(),d=b,e=this.view().playbackController().firstSlideIndex(),f;if(f=d)a:{f=this.I.slides().count();var h=this.view().playbackController().firstSlideIndex();for(let g=0;g<f;++g){const k=d.Mo(g);if(k&&k.visited&&g!=h){f=!1;
break a}}f=!0}if(f){a:{f=this.presentation().slides().getSlide(e);switch(f?f.type():""){case "quiz":(e=(e=d.Mo(e))?e.quizInfo:null)?(e=e.state,e="testing"==e||"reviewing"==e||"completed"==e):e=!1;break a;case "scenario":b:{if(e=d.Mo(e))if(e=e.scenarioState){e=pF[e.s];e="inProgress"==e||"completed"==e;break b}e=!1}break a}e=!1}f=!e}e=(b=!f||Us(d,0)?b:null)?b.gE():null;f=parseInt(af().startslide,10);h=isNaN(f)||0>f||f>=this.I.slides().count();d="review"==window.launchMode;d=h&&null!=e&&0<=e&&("never"!=
a.resumeMode()||d);h&&(f=c.firstSlideIndex());c=d?e:f;b=new FF(this,b);e=new lF(b);e.qy(a.Fc());e.setAction(d?"resumePlayback":"gotoSlide");e.setSlideIndex(c);this.aL.D(e);switch(e.action()){case "resumePlayback":b.resume(e.slideIndex());break;case "gotoSlide":b.start(e.slideIndex());break;case "delayStartup":b.$K=!0;break;default:throw Error("unknown startup action");}}ip(){return this.ka.ip()}startupEvent(){return this.aL}startupCompletedEvent(){return this.ZK}bE(){return this.DH}qR(){this.Mt.yh();
this.Uw.yh();this.nQ.yh()}Wg(){const a=this.I.settings().Bm().ey();a&&a.open()}JD(){return this.kI.JD()}audioNarrationController(){return this.Mt}videoNarrationController(){return this.Uw}PQ(){const a=new Dh;this.lG.D(a);if(!a.actionPrevented())if(Hf)(new Qg("closeWindow")).Ho();else try{nf||(window.open("","_self",""),window.close())}catch(b){}}closeWindowEvent(){return this.lG}stateChangedEvent(){return this.Wj}Bh(a){this.Z.ya!=a&&(this.Hv(),this.Z.Bh(a))}gestureNavigationEnabled(){return this.I.settings().navigation().vh().enabled()}actionAvailable(a){var b=
this.Z.playbackController().U();if(b instanceof sn)a=LF(this,a);else if(b instanceof ek)a:{b=this.Z.playbackController().Qb().view();switch(a){case "gotoNextPresentationSlide":a=HF(this,"switchToNextSlide");break a;case "gotoPreviousPresentationSlide":a=b.np()&&-1!=this.Z.playbackController().previousSlideIndex();break a}a=!1}else a=b instanceof zn?KF(this,a):!1;return a}wP(a,b,c){const d=this.I.slides();b=0<=b?d.getSlide(b):null;c=0<=c?d.getSlide(c):null;if(b instanceof sn||c instanceof sn||b instanceof
ek||c instanceof ek||b instanceof zn||c instanceof zn)Ff?(a.mu="null",a.$=0):a.mu="FadeSmoothly"}vR(){const a=this.Z.playbackController().nextSlideIndex();this.Mt.sm(a);this.Uw.sm(a)}Hv(){const a=this.Z.playbackController();if(!(0>a.currentSlideIndex())){a.pause();this.Wb.Wx();var b=this.Z.playbackController().quizPlayer();b&&b.pauseMedia();(b=this.Z.playbackController().scenarioPlayer())&&b.pauseMedia();b=a.U();b instanceof ek&&a.getSlidePlaybackController(b.index()).interactionPlayer().pauseMedia()}}}
MF.prototype.actionAvailable=MF.prototype.actionAvailable;MF.prototype.gestureNavigationEnabled=MF.prototype.gestureNavigationEnabled;MF.prototype.stateChangedEvent=MF.prototype.stateChangedEvent;MF.prototype.closeWindowEvent=MF.prototype.closeWindowEvent;MF.prototype.videoNarrationController=MF.prototype.videoNarrationController;MF.prototype.audioNarrationController=MF.prototype.audioNarrationController;MF.prototype.executeMetaCommandEvent=MF.prototype.JD;MF.prototype.initialSlideShownEvent=MF.prototype.bE;
MF.prototype.startupCompletedEvent=MF.prototype.startupCompletedEvent;MF.prototype.startupEvent=MF.prototype.startupEvent;MF.prototype.getOptimalPlayerSize=MF.prototype.lV;MF.prototype.persistState=MF.prototype.persistState;MF.prototype.version=MF.prototype.version;MF.prototype.view=MF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Ni41NTh6Ii8+DQo8cGF0aCBmaWxsPSIjRjA4RjgyIiBkPSJNMzQsMzYuMzY1YzAtMS4yODctMS4wNDQtMi4zMzEtMi4zMzEtMi4zMzFjLTEuMjg4LDAtMi4zMzIsMS4wNDQtMi4zMzIsMi4zMzENCgljMCwwLjk3MSwwLjU5NCwxLjgwMiwxLjQzOCwyLjE1MnY0LjQ2N2gxLjkxdi00LjUyOUMzMy40NjEsMzguMDc2LDM0LDM3LjI4NywzNCwzNi4zNjV6Ii8+DQo8L3N2Zz4NCg==",
"data:image/svg+xml;base64, ",
"data:image/svg+xml;base64, ",
"data:image/svg+xml;base64, ",
"data:image/svg+xml;base64, "];
c=".trial_banner {position: relative;transform: translateZ(0); }  .trial_banner .banner-content,  .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; }  .trial_banner .banner-content {visibility: visible;z-index: 1; }  .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; }  .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; }  .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; }  .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }body {margin: 0;overflow-y: auto;overflow-x: hidden; }  body .password_form,  body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; }    body .password_form *,    body .info_panel * {box-sizing: border-box; }  body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; }  body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; }  body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; }  body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); }    body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; }    body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; }  body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; }  body .info_panel {display: table; }    body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; }    body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; }    body .info_panel.domain::after {background: transparent url("+
c[0]+"); }    body .info_panel.time::after {background: transparent url("+c[1]+"); }#playerView * {position: static; }#playerView {position: static; }#content {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;padding: 0 96px;background: #CED1D3; }.presentation-view-mode-switch-control {width: 64px;height: 64px;position: fixed;left: 16px;top: 16px;cursor: pointer;border: none;background: url("+c[2]+") no-repeat center; }  .presentation-view-mode-switch-control:hover {background: url("+
c[3]+") no-repeat center; }  .presentation-view-mode-switch-control:active {background: url("+c[4]+") no-repeat center; }  .presentation-view-mode-switch-control:focus {outline: none; }.ppt-accessible-skin {font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal;min-width: 0;padding: 20px 64px 20px 64px;box-sizing: border-box;background: #FFFFFF; }.accessible-null-skin {font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal;min-width: 0;padding: 20px 64px 20px 64px;box-sizing: border-box;background: #FFFFFF; }.ppt-accessible-slide {margin-bottom: 20px; }  .ppt-accessible-slide img,  .ppt-accessible-slide video,  .ppt-accessible-slide audio {display: block;margin: 32px 0 32px 0; }  .ppt-accessible-slide img {max-width: 100%;max-height: 30%; }  .ppt-accessible-slide video {max-width: 100%; }.ppt-accessible-top-panel {margin-bottom: 20px; }  .ppt-accessible-top-panel__slide-status {font-size: 20px;font-weight: 400; }.ppt-accessible-narration {margin: 16px 0; }  .ppt-accessible-narration video {max-width: 100%; }.ppt-accessible-slide-content p {margin: 16px 0; }.ppt-accessible-slide-content h2 {font-size: 30px;margin: 0; }.ppt-accessible-skip-link-container {position: relative;height: 27px; }.ppt-accessible-skip-link {position: absolute !important;display: block;left: -10000px;width: 1px;height: 1px;overflow: hidden; }  .ppt-accessible-skip-link:focus {left: auto;width: auto;height: auto; }.simple-navigation-panel {margin-top: 32px;margin-bottom: 32px;float: left;direction: rtl; }  .simple-navigation-panel__button {width: 217px;height: 46px;font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal;vertical-align: top; }    .simple-navigation-panel__button:nth-child(1) {margin-left: 12px; }.ppt-accessible-slide-list-wrapper {clear: both; }.ppt-accessible-slide-list {clear: both;margin: 16px 0;margin-top: 0; }  .ppt-accessible-slide-list summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-slide-list ul {padding: 0;margin: 0; }  .ppt-accessible-slide-list__item {list-style: none; }  .ppt-accessible-slide-list__item {cursor: pointer; }    .ppt-accessible-slide-list__item.ppt-accessible-slide-list__item_active {color: #A52A2A; }.ppt-accessible-slide-notes {clear: both;margin: 16px 0; }  .ppt-accessible-slide-notes summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-slide-notes ul {padding: 0;margin: 0; }  .ppt-accessible-slide-notes__item {list-style: none; }  .ppt-accessible-slide-notes p {margin: 0; }.ppt-accessible-subtitles {clear: both;margin: 16px 0; }  .ppt-accessible-subtitles summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-subtitles ul {padding: 0;margin: 0; }  .ppt-accessible-subtitles__item {list-style: none; }.ppt-accessible-resources {clear: both;margin: 16px 0; }  .ppt-accessible-resources summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-resources ul {padding: 0;margin: 0; }  .ppt-accessible-resources__item {list-style: none; }.ppt-accessible-presenter {clear: both;margin: 16px 0; }  .ppt-accessible-presenter summary {font-weight: 600;margin-bottom: 8px; }  .ppt-accessible-presenter ul {padding: 0;margin: 0; }  .ppt-accessible-presenter__item {list-style: none; }  .ppt-accessible-presenter p {margin: 6px 0;white-space: pre-line; }  .ppt-accessible-presenter a,  .ppt-accessible-presenter img {display: block;margin: 6px 0; }.quiz-accessible-skin {width: 100%;position: static !important; }.quiz-accessible-top-panel {padding-left: 0 !important;padding-right: 0 !important; }.quiz-accessible-slide {padding-left: 0 !important;padding-right: 0 !important; }.quiz-accessible-hidden-link-container {padding: 0 !important; }.quiz-accessible-control-panel {padding: 0 !important;margin-top: 32px;margin-bottom: 32px; }.quiz-accessible-slide-list {padding: 0 !important;margin: 16px 0 !important; }.accessible-quiz-review {padding: 0 !important;margin-bottom: 20px; }.ppt-accessible-scenario-slide-content {padding-top: 32px; }.scenario-accessible-skin {width: 100%;padding: 0 !important; }.ppt-accessible-footer .page-controls {position: relative;margin-top: 32px;margin-bottom: 32px;left: 0;top: 0;direction: rtl;float: left; }  .ppt-accessible-footer .page-controls button {margin: 0;min-width: 217px;min-height: 46px;font-family: 'Segoe UI', sans-serif;font-size: 20px;vertical-align: top; }  .ppt-accessible-footer .page-controls button:first-child {margin-left: 12px; }.ppt-accessible-footer .items-list {clear: both;margin-bottom: 16px;padding: 0;font-size: 20px; }  .ppt-accessible-footer .items-list summary {margin-bottom: 8px;font-weight: 600; }.ppt-accessible-footer .scenario-accessible-bottom-panel__button {width: 217px;height: 46px;font-family: Segoe UI, sans-serif;font-size: 20px;font-weight: normal; }";
let d;for(const [f,h]of Object.entries(null!=(d=a)?d:{}))a=`__${f.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),h);let e;for(const [f,h]of Object.entries(null!=(e=b)?e:{}))c=c.replace(new RegExp(f,"g"),h);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.lA);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.jA);return uo(c)}lA(a,b,c){return`url(data:image/svg+xml;base64,${cg(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="g436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#g436)" /></svg>`)})`}jA(a,
b,c){return`url(data:image/svg+xml;base64,${cg(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="gh436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#gh436)" /></svg>`)})`}};class OF{yD(a,b){var c="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB3aWR0aD0iMjhweCIgaGVpZ2h0PSIzM3B4IiB2aWV3Qm94PSIwIDAgMjguMzAyIDMzLjI0MiI+DQoJPHBhdGggZD0iTTAsMS44VjMxLjQ0MmExLjgsMS44LDAsMCwwLDIuNzI2LDEuNTQzbDI0LjctMTQuODJhMS44LDEuOCwwLDAsMCwwLTMuMDg3TDIuNzI2LjI1N0ExLjgsMS44LDAsMCwwLDAsMS44WiIgc3R5bGU9ImZpbGw6IzMzMyIvPg0KPC9zdmc+ data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOHB4IiBoZWlnaHQ9IjMzcHgiIHZpZXdCb3g9IjAgMCAyOC4zMDIgMzMuMjQyIj4NCgk8cGF0aCBkPSJNMCwxLjhWMzEuNDQyYTEuOCwxLjgsMCwwLDAsMi43MjYsMS41N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DM1LjM0MjVDNDUuMDQ0MyAzNS42ODMxIDQ1Ljc0NzEgMzYuMjU5OSA0Ni4yNDE2IDM2Ljk5OTlDNDYuNzM2MSAzNy43NCA0NyAzOC42MSA0NyAzOS41QzQ3IDQwLjY5MzUgNDYuNTI1OSA0MS44MzgxIDQ1LjY4MiA0Mi42ODJDNDQuODM4MSA0My41MjU5IDQzLjY5MzUgNDQgNDIuNSA0NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=".split(" ");
c=":root {--text-color: __playerText__;--panel-color: __asideBackground__;--button-background-color: __primaryButtonBackground__;--button-text-color: __primaryButtonText__;--button-hover-background-color: __primaryButtonBackgroundHover__;--button-hover-text-color: __primaryButtonTextHover__;--button-border-color: __primaryButtonBorder__;--button-hover-border-color: __primaryButtonBorderHover__;--page-background-color: __pageBackground__;--font-family-bold: nPFnb;--font-family-bold-italic: nPFnbi;--font-family-italic: nPFni;--font-family-normal: nPFn;--font-family-semibold: nPFnsb, nPFn;--font-family-semibold-italic: nPFnsbi, nPFni;--button-border-radius: __borderRadius__;--popup-border: __popupBorder__; }.none {position: absolute; }  .none .launch-screen {z-index: 100;position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(0, 0, 0, 0.48); }    .none .launch-screen .launch-screen-button {top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 96px;height: 96px;position: absolute; }      .none .launch-screen .launch-screen-button__play-icon {background-color: #FFFFFF;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 0;border-radius: 100%;width: 90px;height: 90px;box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.2);transition: 0.3s ease-in-out; }      .none .launch-screen .launch-screen-button__icon {background: url("+
c[0]+") no-repeat center;position: absolute;top: 0;bottom: 0;margin: auto;right: 0;left: 6px;width: 90px;height: 90px; }      .none .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__play-icon {width: 96px;height: 96px; }      .none .launch-screen .launch-screen-button.launch-screen-button_active .launch-screen-button__icon {background: url("+c[1]+") no-repeat center; }  .none .rotate-prompt {position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 999;background: rgba(0, 0, 0, 0.75);display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;transition: opacity 0.2s linear; }    .none .rotate-prompt .rotate-prompt-container {width: 240px;display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column;gap: 9px;color: white; }      .none .rotate-prompt .rotate-prompt-container .rotate-prompt-icon {width: 110px;height: 110px;background: transparent url("+
c[2]+") no-repeat center; }        .none .rotate-prompt .rotate-prompt-container .rotate-prompt-icon.rotate-prompt-icon_landscape {background: transparent url("+c[3]+") no-repeat center; }      .none .rotate-prompt .rotate-prompt-container .rotate-prompt-label {width: 100%;font-family: 'Segoe UI', sans-serif;font-weight: 600;font-size: 14px;line-height: 20px;text-align: center;overflow: hidden;overflow-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 5;/*! autoprefixer: off */        -webkit-box-orient: vertical;-ms-box-orient: vertical;-moz-box-orient: vertical;/* autoprefixer: on */ }  .none .playerView .preloader {width: 50px;height: 50px;position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;border-radius: 10px;background-color: rgba(0, 0, 0, 0.5); }    .none .playerView .preloader::after {content: '';position: absolute;background: url("+
c[4]+");background-size: cover;top: 0;left: 0;bottom: 0;right: 0;animation: preloader_spin 1s infinite linear; }  .none .playerView .subtitles-panel {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-align: center;align-items: center;position: absolute;bottom: 0;-ms-transform-origin: left bottom;transform-origin: left bottom;box-sizing: border-box;pointer-events: none;width: 100%;padding: 0 24px 12px 24px; }    .none .playerView .subtitles-panel div {margin-bottom: 12px;text-align: center; }    .none .playerView .subtitles-panel span {background: rgba(8, 8, 8, 0.75);color: #FFFFFF;font-family: Arial, sans-serif;font-size: 28px;line-height: 37px;padding: 3px 6px;-webkit-box-decoration-break: clone; }    .none .playerView .subtitles-panel div,    .none .playerView .subtitles-panel span {position: initial !important; }  .none .title-panel {width: 100%;background: var(--panel-color);position: absolute;box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);height: 46px; }  .none.none_landscape .title-panel {display: none; }.android_default * {text-rendering: auto !important; }body {margin: 0;padding: 0;overflow: hidden;cursor: default;-ms-touch-action: pan-y;touch-action: pan-y;-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }  body .password_form,  body .info_panel {position: absolute;background: #F7F7F7;border-radius: 4px;width: 513px;height: 210px;font-family: Arial; }    body .password_form *,    body .info_panel * {box-sizing: border-box; }  body .password_form .password_label {position: absolute;color: #3A3A3A;font-size: 15px;top: 63px;left: 55px; }  body .password_form .wrong_password_label {position: absolute;color: #DD4A37;font-size: 12px;top: 131px;left: 55px; }  body .password_form input {position: absolute;width: 330px;height: 32px;background: #FFFFFF;border: 1px solid #D1D2D4;padding: 1px;border-radius: 2px;font-size: 18px;color: #231F20;left: 54px;top: 94px;padding-left: 8px; }  body .password_form button {border: transparent;background: transparent;color: #343434;font-family: Arial;font-size: 15px;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); }    body .password_form button::before {background: linear-gradient(to bottom, #D3D3D3, #BABABA);position: absolute;content: '';top: 0;right: 0;bottom: 0;left: 0;border-radius: 4px;z-index: -1; }    body .password_form button::after {background: linear-gradient(to bottom, #DCDCDC, #D1D1D1);position: absolute;content: '';top: 1px;right: 1px;bottom: 1px;left: 1px;border-radius: 4px;z-index: -1; }  body .password_form .btn_ok {position: absolute;top: 94px;right: 55px;width: 60px;height: 32px;opacity: 0.99; }  body .info_panel {display: table; }    body .info_panel .label {position: static;display: table-cell;vertical-align: middle;width: 100%;padding-left: 120px;padding-right: 40px;color: #3A3A3A;font-size: 15px; }    body .info_panel::after {position: absolute;content: '';width: 63px;height: 63px;top: 73px;left: 46px; }    body .info_panel.domain::after {background: transparent url("+
c[5]+"); }    body .info_panel.time::after {background: transparent url("+c[6]+"); }.component_base,.component_container {position: absolute; }:focus {outline: none; }::-moz-focus-inner {border: 0; }input {appearance: none; }button {cursor: pointer;margin: 0;border: 0; }button[disabled] {cursor: default; }.__player_view_id__ {position: absolute; }  .__player_view_id__ > * {position: absolute; }  .__player_view_id__ .slide {white-space: nowrap;font-size: 0; }    .__player_view_id__ .slide a {text-decoration: none;cursor: pointer; }      .__player_view_id__ .slide a img {border: 0; }    .__player_view_id__ .slide * {-ms-transform-origin: 0 0;transform-origin: 0 0; }    .__player_view_id__ .slide.relpos,    .__player_view_id__ .slide .relpos {position: relative !important;vertical-align: top; }    .__player_view_id__ .slide.kern,    .__player_view_id__ .slide .kern {text-rendering: optimizeLegibility;font-feature-settings: 'kern' 1, 'liga' 0; }    .__player_view_id__ .slide.nokern,    .__player_view_id__ .slide .nokern {text-rendering: optimizeSpeed;font-feature-settings: 'kern' 0, 'liga' 0; }  .__player_view_id__ .fullscreen {-ms-transform: none !important;transform: none !important;top: 0 !important;left: 0 !important; }    .__player_view_id__ .fullscreen > video,    .__player_view_id__ .fullscreen .video_player {background-color: black;width: __slide_width__ !important;height: __slide_height__ !important;z-index: 100;-ms-transform: none !important;transform: none !important; }    .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen {background: url("+
c[7]+") no-repeat; }      .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:hover {background: url("+c[8]+") no-repeat; }      .__player_view_id__ .fullscreen .video_player .controls button.toggle_fullscreen:active {background: url("+c[9]+") no-repeat; }  .__player_view_id__ .video_player video {width: 100%;height: 100%;margin: auto;top: 0;right: 0;bottom: 0;left: 0;filter: opacity(1); }    .__player_view_id__ .video_player video::cue {color: #FFFFFF;background-color: rgba(8, 8, 8, 0.75);border-radius: 4px;font-family: Helvetica, Roboto, Arial, sans-serif;line-height: 1.1; }  .__player_view_id__ .video_player.poster_frame_hide_video video {display: none; }  .__player_view_id__ .video_player.poster_frame video {opacity: 0; }  .__player_view_id__ .video_player.poster_frame_hide_video .poster, .__player_view_id__ .video_player.poster_frame .poster {position: absolute;width: 100%;height: 100%; }  .__player_view_id__ .video_player .controls {height: 36px;background: rgba(45, 50, 55, 0.85098);border: 1px solid #444648;cursor: default;border-radius: 4px; }    .__player_view_id__ .video_player .controls,    .__player_view_id__ .video_player .controls * {backface-visibility: hidden; }    .__player_view_id__ .video_player .controls .progress {background-color: #75787A;height: 14px;left: 64px;top: 0;bottom: 0;margin-top: auto;margin-bottom: auto;cursor: pointer; }      .__player_view_id__ .video_player .controls .progress .bookmark {width: 10px;height: 10px;margin-top: -5px;margin-left: -5px;top: 50%;background: url("+
c[10]+") no-repeat;cursor: pointer; }        .__player_view_id__ .video_player .controls .progress .bookmark:hover, .__player_view_id__ .video_player .controls .progress .bookmark:active {background: url("+c[11]+") no-repeat; }      .__player_view_id__ .video_player .controls .progress .loading {background-color: #B1B3B5;height: 100%; }      .__player_view_id__ .video_player .controls .progress .playing {background-color: #FFFFFF;height: 100%; }      .__player_view_id__ .video_player .controls .progress .tooltip {background: url("+
c[12]+") no-repeat;width: 60px;height: 25px;top: -33px;margin-left: -30px;font-family: Arial;font-size: 12px;padding-top: 2px;text-align: center; }    .__player_view_id__ .video_player .controls .volume_popup {border-radius: 3px;background: rgba(45, 50, 55, 0.85098);top: -67px;right: 65px;padding: 8px;box-sizing: border-box;width: 28px;height: 64px; }      .__player_view_id__ .video_player .controls .volume_popup .volume {background: url("+c[13]+");position: relative;cursor: pointer;width: 12px;height: 48px; }        .__player_view_id__ .video_player .controls .volume_popup .volume .back {background: url("+
c[14]+");width: 100%; }    .__player_view_id__ .video_player .controls button {width: 100%;height: 100%; }      .__player_view_id__ .video_player .controls button.rate {background: url("+c[15]+") no-repeat center; }        .__player_view_id__ .video_player .controls button.rate.selected {background-color: rgba(255, 255, 255, 0.1); }      .__player_view_id__ .video_player .controls button.mute {background: url("+c[16]+"); }        .__player_view_id__ .video_player .controls button.mute:hover {background: url("+
c[17]+"); }        .__player_view_id__ .video_player .controls button.mute:active {background: url("+c[18]+"); }        .__player_view_id__ .video_player .controls button.mute.selected {background: url("+c[19]+"); }          .__player_view_id__ .video_player .controls button.mute.selected:hover {background: url("+c[20]+"); }          .__player_view_id__ .video_player .controls button.mute.selected:active {background: url("+c[21]+"); }      .__player_view_id__ .video_player .controls button.subtitles {background: url("+
c[22]+") no-repeat center; }        .__player_view_id__ .video_player .controls button.subtitles.selected {background-color: rgba(255, 255, 255, 0.1); }      .__player_view_id__ .video_player .controls button.play {background: url("+c[23]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play:hover {background: url("+c[24]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play:active {background: url("+c[25]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play.selected {background: url("+
c[26]+") no-repeat; }          .__player_view_id__ .video_player .controls button.play.selected:hover {background: url("+c[27]+") no-repeat; }          .__player_view_id__ .video_player .controls button.play.selected:active {background: url("+c[28]+") no-repeat; }        .__player_view_id__ .video_player .controls button.play::after {background: url("+c[29]+");width: 1px;height: 32px;right: 0;top: 1px;position: absolute;content: ''; }      .__player_view_id__ .video_player .controls button.toggle_fullscreen {background: url("+
c[30]+") no-repeat; }        .__player_view_id__ .video_player .controls button.toggle_fullscreen:hover {background: url("+c[31]+") no-repeat; }        .__player_view_id__ .video_player .controls button.toggle_fullscreen:active {background: url("+c[32]+") no-repeat; }        .__player_view_id__ .video_player .controls button.toggle_fullscreen::before {background: url("+c[29]+") no-repeat;width: 1px;height: 32px;left: 0;top: 1px;position: absolute;content: ''; }    .__player_view_id__ .video_player .controls .subtitles-list {width: 195px;right: 0;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; }      .__player_view_id__ .video_player .controls .subtitles-list__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; }        .__player_view_id__ .video_player .controls .subtitles-list__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; }      .__player_view_id__ .video_player .controls .subtitles-list__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; }        .__player_view_id__ .video_player .controls .subtitles-list__item.subtitles-list__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; }        .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; }          .__player_view_id__ .video_player .controls .subtitles-list__item[aria-selected='true']::before {background: url("+
c[33]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; }    .__player_view_id__ .video_player .controls .toggle_fullscreen {width: 52px;height: 34px; }    .__player_view_id__ .video_player .controls .play {width: 52px;height: 34px; }    .__player_view_id__ .video_player .controls .rate {width: 32px;height: 34px;right: 95px;top: 0; }      .__player_view_id__ .video_player .controls .rate.rate_subtitle-button-next {right: 127px; }    .__player_view_id__ .video_player .controls .playback-rate-menu {width: 120px;right: 51px;border-radius: 4px;border: solid 1px #444648;background-color: rgba(45, 50, 55, 0.85);font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;font-weight: normal;font-stretch: normal;font-style: normal;line-height: normal;letter-spacing: normal;padding: 3px 0;bottom: 37px; }      .__player_view_id__ .video_player .controls .playback-rate-menu.playback-rate-menu_subtitle-button-next {right: 83px; }      .__player_view_id__ .video_player .controls .playback-rate-menu__caption {position: relative !important;padding: 12px 0 22px 0;color: #b8b8b8;text-align: center; }        .__player_view_id__ .video_player .controls .playback-rate-menu__caption::after {position: absolute;content: '';width: calc(100% - 20px);left: 0;right: 0;bottom: 5px;margin: auto;border-bottom: 1px solid #444648; }      .__player_view_id__ .video_player .controls .playback-rate-menu__item {color: #b8b8b8;position: relative !important;padding: 10px 2px 10px 35px;cursor: pointer;overflow: hidden;text-overflow: ellipsis; }        .__player_view_id__ .video_player .controls .playback-rate-menu__item.playback-rate-menu__item_active {background-color: rgba(255, 255, 255, 0.1);color: #FFFFFF; }        .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true'] {background-color: rgba(0, 0, 0, 0.24);color: #FFFFFF;padding-left: 12px; }          .__player_view_id__ .video_player .controls .playback-rate-menu__item[aria-selected='true']::before {background: url("+
c[33]+") no-repeat;width: 14px;height: 15px;padding-right: 23px;content: ''; }    .__player_view_id__ .video_player .controls .subtitles {width: 32px;height: 34px;right: 95px;top: 0; }    .__player_view_id__ .video_player .controls .toggle_fullscreen {right: -1px; }    .__player_view_id__ .video_player .controls .mute {width: 22px;height: 22px;right: 67px;top: 6px; }.popup_layer {position: absolute; }  .popup_layer .modal_layer {background: #000000;opacity: 0.4;z-index: 10;width: 100%;height: 100%; }  .popup_layer .message_box,  .popup_layer .confirm_window {background: #FFFFFF;border-radius: 5px;border: 1px solid rgba(0, 0, 0, 0.75);width: 357px;height: 150px;position: absolute;top: 0;right: 0;bottom: 0;left: 0;margin: auto;z-index: 10; }    .popup_layer .message_box::after,    .popup_layer .confirm_window::after {background-color: #E6E6E6;width: 100%;height: 1px;top: 30px;position: absolute;content: ''; }    .popup_layer .message_box .title,    .popup_layer .message_box .message,    .popup_layer .confirm_window .title,    .popup_layer .confirm_window .message {font-family: Helvetica, Roboto, Arial, sans-serif;font-size: 14px;color: #323232; }    .popup_layer .message_box .title,    .popup_layer .confirm_window .title {position: absolute;left: 13px;top: 7px;font-weight: bold;background: transparent; }    .popup_layer .message_box .message,    .popup_layer .confirm_window .message {position: absolute;top: 47px;left: 69px;margin-right: 25px; }      .popup_layer .message_box .message::before,      .popup_layer .confirm_window .message::before {background-color: #E6E6E6;width: 35px;height: 35px;left: -45px;position: absolute;content: ''; }    .popup_layer .message_box button,    .popup_layer .confirm_window button {font-size: 14px;border-radius: 5px;color: #323232;width: 68px;height: 30px; }      .popup_layer .message_box button, .popup_layer .message_box button.mobile:hover, .popup_layer .message_box button.mobile:active,      .popup_layer .confirm_window button,      .popup_layer .confirm_window button.mobile:hover,      .popup_layer .confirm_window button.mobile:active {background: #D4D4D4; }      .popup_layer .message_box button:hover, .popup_layer .message_box button:active, .popup_layer .message_box button.mobile.active,      .popup_layer .confirm_window button:hover,      .popup_layer .confirm_window button:active,      .popup_layer .confirm_window button.mobile.active {background: #B8B8B8; }  .popup_layer .confirm_window button.btn_yes {left: 101px;top: 98px; }  .popup_layer .confirm_window button.btn_no {left: 181px;top: 98px; }  .popup_layer .confirm_window .message::before {background: url("+
c[34]+"); }  .popup_layer .message_box button.btn_ok {left: 141px;top: 98px; }  .popup_layer .message_box .message::before {background: url("+c[35]+"); }.transitionSlide.paused * {animation-play-state: paused !important; }.framesLayer .video_player {-ms-transform-origin: 0 0;transform-origin: 0 0; }.framesLayer *:not(.framesLayerContent) {pointer-events: all; }.framesLayer .framesLayerContent {position: absolute; }  .framesLayer .framesLayerContent > div {pointer-events: all; }.trial_banner {position: relative;transform: translateZ(0); }  .trial_banner .banner-content,  .trial_banner .banner-content_hover {position: absolute;left: 0;right: 0;top: 0;bottom: 0;width: 100%;height: 100%; }  .trial_banner .banner-content {visibility: visible;z-index: 1; }  .trial_banner .banner-content_hover {visibility: hidden;z-index: 0; }  .trial_banner .days_remaining {position: absolute;font-family: 'Open Sans', Arial, sans-serif;font-weight: normal;font-size: 13px;left: 65px;top: 41px;color: #7C1645;z-index: 1; }  .trial_banner:hover .banner-content {visibility: hidden;z-index: 0; }  .trial_banner:hover .banner-content_hover {visibility: visible;z-index: 1; }.back_to_app {height: 100%;position: absolute;left: 0; }  .back_to_app__text {color: #3DA0E1;font-size: 16px;font-family: Helvetica Neue, Helvetica, Roboto, Arial;text-overflow: ellipsis;overflow: hidden;position: absolute;bottom: 0;top: 0;height: 24px;line-height: 24px;margin: auto;padding-left: 25px;max-width: 80px; }    .back_to_app__text::before {content: '';background: url("+
c[36]+") no-repeat center;height: 24px;width: 14px;left: 8px;position: absolute; }.popup-layer {top: 0;right: 0;bottom: 0;left: 0;z-index: 1;position: absolute;border-radius: inherit; }.modal-layer {background: #000000;opacity: 0.4;position: absolute;width: 100%;height: 100%;border-radius: inherit; }.uikit-primary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; }  .uikit-primary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }  .uikit-primary-button.uikit-primary-button_size_medium {padding: 10px; }    .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text {font-size: 17px;line-height: 20px; }      .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:first-child {margin-left: 10px; }      .uikit-primary-button.uikit-primary-button_size_medium .uikit-primary-button__button-text:last-child {margin-right: 10px; }  .uikit-primary-button.uikit-primary-button_size_small {padding: 6px 12px; }    .uikit-primary-button.uikit-primary-button_size_small .uikit-primary-button__button-text {font-size: 14px;line-height: 20px; }  .uikit-primary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-primary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-primary-button__button-text {margin-right: 8px; }  .uikit-primary-button__left-icon {margin-right: 8px; }  .uikit-primary-button__button-text:first-child {margin-left: 0; }  .uikit-primary-button__button-text:last-child {margin-right: 0; }  .uikit-primary-button__left-icon:first-child {margin-left: 0; }  .uikit-primary-button__left-icon:last-child {margin-right: 0; }  .uikit-primary-button__right-icon:first-child {margin-left: 0; }  .uikit-primary-button__right-icon:last-child {margin-right: 0; }  .uikit-primary-button[disabled] {opacity: 0.4; }  .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); }  .uikit-primary-button.uikit-primary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-secondary-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; }  .uikit-secondary-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }  .uikit-secondary-button.uikit-secondary-button_size_medium {padding: 10px; }    .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text {font-size: 17px;line-height: 20px; }      .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:first-child {margin-left: 10px; }      .uikit-secondary-button.uikit-secondary-button_size_medium .uikit-secondary-button__button-text:last-child {margin-right: 10px; }  .uikit-secondary-button.uikit-secondary-button_size_small {padding: 6px 12px; }    .uikit-secondary-button.uikit-secondary-button_size_small .uikit-secondary-button__button-text {font-size: 14px;line-height: 20px; }  .uikit-secondary-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-secondary-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-secondary-button__button-text {margin-right: 8px; }  .uikit-secondary-button__left-icon {margin-right: 8px; }  .uikit-secondary-button__button-text:first-child {margin-left: 0; }  .uikit-secondary-button__button-text:last-child {margin-right: 0; }  .uikit-secondary-button__left-icon:first-child {margin-left: 0; }  .uikit-secondary-button__left-icon:last-child {margin-right: 0; }  .uikit-secondary-button__right-icon:first-child {margin-left: 0; }  .uikit-secondary-button__right-icon:last-child {margin-right: 0; }  .uikit-secondary-button[disabled] {opacity: 0.4; }  .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); }  .uikit-secondary-button.uikit-secondary-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-link-button {max-width: 260px;-ms-flex-positive: 0;flex-grow: 0;-ms-flex-negative: 0;flex-shrink: 0;cursor: pointer;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;border-radius: var(--button-border-radius);position: relative;border: none;transition-property: background, color, border-color, opacity, width;transition-duration: 0.28s;transition-timing-function: ease; }  .uikit-link-button__button-text {-ms-flex-negative: 1;flex-shrink: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }  .uikit-link-button.uikit-link-button_size_medium {padding: 10px; }    .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text {font-size: 17px;line-height: 20px; }      .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:first-child {margin-left: 10px; }      .uikit-link-button.uikit-link-button_size_medium .uikit-link-button__button-text:last-child {margin-right: 10px; }  .uikit-link-button.uikit-link-button_size_small {padding: 6px 12px; }    .uikit-link-button.uikit-link-button_size_small .uikit-link-button__button-text {font-size: 14px;line-height: 20px; }  .uikit-link-button__left-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-link-button__right-icon {-ms-flex-negative: 0;flex-shrink: 0;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center; }  .uikit-link-button__button-text {margin-right: 8px; }  .uikit-link-button__left-icon {margin-right: 8px; }  .uikit-link-button__button-text:first-child {margin-left: 0; }  .uikit-link-button__button-text:last-child {margin-right: 0; }  .uikit-link-button__left-icon:first-child {margin-left: 0; }  .uikit-link-button__left-icon:last-child {margin-right: 0; }  .uikit-link-button__right-icon:first-child {margin-left: 0; }  .uikit-link-button__right-icon:last-child {margin-right: 0; }  .uikit-link-button[disabled] {opacity: 0.4; }  .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled::before {background: rgba(58, 58, 58, 0.88);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 4px;-webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);color: #FFFFFF;font-size: 14px;line-height: 18px;padding: 2px 8px;position: absolute;content: attr(data-tooltip);white-space: nowrap;opacity: 0;visibility: hidden;transition: margin-top 0.3s ease-in-out, opacity 0.3s ease-in-out;bottom: calc(100% + 20px);left: 50%;-ms-transform: translateX(-50%);transform: translateX(-50%); }  .uikit-link-button.uikit-link-button_withTooltip[data-tooltip]:enabled:hover::before {opacity: 1;visibility: visible; }.uikit-primary-button {background: var(--primary-button-background-color, var(--button-background-color));color: var(--primary-button-text-color, var(--button-text-color)); }  .uikit-primary-button::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--primary-button-border-color, var(--button-border-color));background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none; }  .uikit-primary-button__button-text {font-family: var(--font-family-normal);font-weight: 700; }  .uikit-primary-button.uikit-primary-button_active, .uikit-primary-button[aria-pressed='true'] {background: var(--primary-button-background-color-active, var(--button-hover-background-color));color: var(--primary-button-text-color-active, var(--button-hover-text-color)); }    .uikit-primary-button.uikit-primary-button_active::after, .uikit-primary-button[aria-pressed='true']::after {background: var(--primary-button-border-color-active, var(--button-hover-border-color));background-origin: border-box; }    .uikit-primary-button.uikit-primary-button_active:focus::before, .uikit-primary-button[aria-pressed='true']:focus::before {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--primary-button-background-color-active, var(--button-hover-background-color));background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none;top: -4px;left: -4px;right: -4px;bottom: -4px;border-radius: calc(var(--button-border-radius) + 4px);outline: 2px solid var(--primary-button-text-color-active, var(--button-hover-text-color));outline-offset: -4px;border: 5px solid transparent; }  .uikit-primary-button:focus::before {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border-radius: inherit;border: 1px solid transparent;background: var(--primary-button-background-color, var(--button-background-color));background-origin: border-box;transition: inherit;-webkit-mask: linear-gradient(#FFFFFF 0, #FFFFFF 0) border-box, linear-gradient(#FFFFFF 0, #FFFFFF 0) padding-box;mask: linear-gradient(#FFFFFF 0 0) border-box, linear-gradient(#FFFFFF 0 0) padding-box;-webkit-mask-composite: xor;mask-composite: exclude;pointer-events: none;top: -4px;left: -4px;right: -4px;bottom: -4px;border-radius: calc(var(--button-border-radius) + 4px);outline: 2px solid var(--primary-button-text-color, var(--button-text-color));outline-offset: -4px;border: 5px solid transparent; }.message-box {background: var(--panel-color);position: absolute;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;border-radius: 7px;min-width: 280px;padding: 40px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); }  .message-box::after {content: '';box-sizing: border-box;border: 1px solid var(--popup-border);width: 100%;height: 100%;position: absolute;left: 0;top: 0;border-radius: 7px;pointer-events: none; }  .message-box__content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;-ms-flex-direction: column;flex-direction: column; }  .message-box__icon {width: 24px;height: 24px;margin-bottom: 24px;position: relative;display: inline-block;color: var(--text-color);opacity: 0.72; }  .message-box .message-box-buttons {position: relative;width: 100%;height: 36px; }    .message-box .message-box-buttons__buttons {display: -ms-flexbox;display: flex;-ms-flex-pack: center;justify-content: center; }    .message-box .message-box-buttons__window-button {margin: 0 4px; }  .message-box .vertical-scrollbar {top: 40px; }  .message-box__message-container {overflow: hidden;display: inline-block;max-width: 480px;vertical-align: top;position: relative; }  .message-box__message {text-align: center;font-size: 16px;color: var(--text-color);text-overflow: ellipsis;overflow: hidden;position: relative;font-family: var(--font-family-normal); }  .message-box__buttons {margin-top: 28px; }.container-top-shadow {background: __verticalGradient(#FFFFFF, rgba(255, 255, 255, 0));background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0));position: absolute;top: 0;left: 0;right: 0;height: 60px;pointer-events: none; }.container-bottom-shadow {background: __verticalGradient(rgba(255, 255, 255, 0), #FFFFFF);background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FFFFFF);position: absolute;bottom: 0;left: 0;right: 0;height: 60px;pointer-events: none;border-radius: inherit; }.vertical-scrollbar {position: absolute;right: 0;top: 4px;bottom: 4px;width: 14px;transition: opacity 0.2s ease; }  .vertical-scrollbar .thumb {position: absolute;width: 8px;right: 3px;padding: 1px;border-radius: 5px; }    .vertical-scrollbar .thumb__background {height: 100%;border-radius: 4px;background-color: rgba(0, 0, 0, 0.32);border: 1px solid rgba(255, 255, 255, 0.12); }.vertical-scrollbar {transition: none;opacity: 0.5 !important; }.presentation-view-mode-switch-control {width: 64px;height: 64px;position: fixed;left: 16px;top: 16px;cursor: pointer;border: none;background: url("+
c[37]+") no-repeat center; }  .presentation-view-mode-switch-control:not([disabled]):hover {background: url("+c[38]+") no-repeat center; }  .presentation-view-mode-switch-control:not([disabled]):active {background: url("+c[39]+") no-repeat center; }  .presentation-view-mode-switch-control:not([disabled]):focus {outline: none; }    .presentation-view-mode-switch-control:not([disabled]):focus::before {content: '';position: absolute;top: 3px;bottom: 3px;left: 3px;right: 3px;border: 1px dotted #FFFFFF;opacity: 0.6; }";
let d;for(const [f,h]of Object.entries(null!=(d=a)?d:{}))a=`__${f.replace(RegExp("\\.","g"),"_")}__`,c=c.replace(new RegExp(a,"g"),h);let e;for(const [f,h]of Object.entries(null!=(e=b)?e:{}))c=c.replace(new RegExp(f,"g"),h);c=c.replace(/__verticalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.lA);c=c.replace(/__horizontalGradient\(([#0-9a-z]+), ([#0-9a-z]+)\)/gi,this.jA);return uo(c)}lA(a,b,c){return`url(data:image/svg+xml;base64,${cg(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="g436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#g436)" /></svg>`)})`}jA(a,
b,c){return`url(data:image/svg+xml;base64,${cg(`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="gh436" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="${b}" offset="0"/><stop stop-color="${c}" offset="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#gh436)" /></svg>`)})`}};var PF={mb_question_icon:'<svg width="24" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_6286_104426)"><path d="M12.5003 23.1431C18.6543 23.1431 23.6431 18.1543 23.6431 12.0003C23.6431 5.84625 18.6543 0.857422 12.5003 0.857422C6.34625 0.857422 1.35742 5.84625 1.35742 12.0003C1.35742 18.1543 6.34625 23.1431 12.5003 23.1431Z" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M9.92969 8.57143C9.92969 8.06285 10.0805 7.56569 10.3631 7.14282C10.6456 6.71995 11.0472 6.39036 11.5171 6.19574C11.9869 6.00111 12.504 5.95019 13.0028 6.04941C13.5016 6.14863 13.9598 6.39353 14.3194 6.75316C14.679 7.11278 14.9239 7.57096 15.0231 8.06977C15.1224 8.56858 15.0714 9.08561 14.8768 9.55547C14.6822 10.0253 14.3526 10.4269 13.9297 10.7095C13.5069 10.992 13.0097 11.1429 12.5011 11.1429V13.5" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.5006 16C12.2463 16 11.9977 16.0754 11.7863 16.2167C11.5748 16.358 11.41 16.5588 11.3127 16.7937C11.2154 17.0286 11.1899 17.2871 11.2395 17.5365C11.2892 17.7859 11.4116 18.015 11.5914 18.1949C11.7712 18.3747 12.0003 18.4971 12.2497 18.5467C12.4991 18.5963 12.7576 18.5709 12.9926 18.4736C13.2275 18.3762 13.4283 18.2115 13.5696 18C13.7109 17.7886 13.7863 17.54 13.7863 17.2857C13.7818 16.9461 13.6449 16.6216 13.4048 16.3815C13.1646 16.1413 12.8402 16.0044 12.5006 16Z" fill="currentColor"/></g><defs><clipPath id="clip0_6286_104426"><rect width="24" height="24" fill="currentColor" transform="translate(0.5)"/></clipPath></defs></svg>',
mb_warning_icon:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_6153_102233)"><path d="M12 23.1431C18.1541 23.1431 23.1429 18.1543 23.1429 12.0003C23.1429 5.84625 18.1541 0.857422 12 0.857422C5.846 0.857422 0.857178 5.84625 0.857178 12.0003C0.857178 18.1543 5.846 23.1431 12 23.1431Z" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 12V17.5" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 8.57171C12.4734 8.57171 12.8571 8.18795 12.8571 7.71456C12.8571 7.24118 12.4734 6.85742 12 6.85742C11.5266 6.85742 11.1428 7.24118 11.1428 7.71456C11.1428 8.18795 11.5266 8.57171 12 8.57171Z" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_6153_102233"><rect width="24" height="24" fill="currentColor"/></clipPath></defs></svg>'};class QF extends Gt{constructor(a){super(a);this.pQ=new B}};function RF(a,b){a=rp(a);a=parseInt(a.slice(1),16);var c=[a>>16,a>>8&255,a&255].concat(b);b=c[0];a=c[1];var d=c[2];c=c[3];if(isNaN(b)||0>b||255<b||isNaN(a)||0>a||255<a||isNaN(d)||0>d||255<d||isNaN(c)||0>c||1<c)throw Error('"('+b+","+a+","+d+","+c+')" is not a valid RGBA color');b=[b,a,d,c];a=b.slice(0);a[3]=Math.round(1E3*b[3])/1E3;return"rgba("+a.join(",")+")"};var SF=class{constructor(a){this.Y=a}get type(){return this.Y}};function TF({color:a,opacity:b=1}){return new UF({color:a,opacity:b})}var UF=class extends SF{constructor({color:a,opacity:b}){super("SOLID");this.md=a;this.pe=b}set color(a){this.md=a}get color(){return this.md}set opacity(a){this.pe=a}get opacity(){return this.pe}IN(){return RF(this.md,this.pe)}LN(a){return TF({color:this.md,opacity:this.pe*a})}};function VF({Qo:a,Fo:b=0}){return new WF({Qo:a,Fo:b})}
var WF=class extends SF{constructor({Fo:a,Qo:b}){super("GRADIENT");this.hu=a;this.wu=b}get Fo(){return this.hu}set Fo(a){this.hu=a}get Qo(){return this.wu}set Qo(a){this.wu=a}IN(){const a=this.wu.map(b=>RF(b.color,b.opacity)).join(", ");return`linear-gradient(${this.hu}deg, ${a})`}LN(a){return VF({Fo:this.hu,Qo:this.wu.map(b=>({color:b,opacity:b.opacity*a}))})}};function XF(a){const b={};Object.keys(a).forEach(c=>{const d=a[c];"SOLID"===d.type?b[c]=TF({color:d.color,opacity:d.opacity}):"GRADIENT"===d.type&&(b[c]=VF({Fo:d.degree,Qo:d.gradient}))});return b};class YF{constructor(){var a=new NF;this.$V=new OF;this.fU=a;this.BV=PF}};function ZF(a,b){Bd(a.Ng);a.Ng=null;if("normal"==b){var c=a.kK.$V;b={__slide_width__:`${a.I.slideWidth()}px`,__slide_height__:`${a.I.slideHeight()}px`,__player_view_id__:a.VR,__borderRadius__:`${a.I.settings().skin().borderRadius}px`};var d=c.yD,e;if(e=a.Qa){e=a.Qa;const f={};for(const [h,g]of Object.entries(e))f[h]=g.IN();e=f}a.Ng=d.call(c,e,b)}else if("accessible"==b)a.Ng=a.kK.fU.yD();else throw Error("unknown presentation view mode");}
class $F{constructor({presentation:a,mW:b,colors:c,ME:d}){this.I=a;this.VR=b;this.Qa=c;this.kK=d;this.Ng=null;(a=this.Qa)&&(a.popupBorder=a.playerText.LN(.08))}};function aG(a){if(a.IC&&a.IC.visible()){a.IC.focus();var b=!0}else b=!1;b||(a.tf&&a.tf.isActive()?(a.tf.focus(),b=!0):b=!1);!b&&(b=a.C.currentSlideIndex(),a=a.Va.ub[b].content(),a=void 0!==a.firstElementChild?a.firstElementChild:Dd(a.firstChild))&&(a.setAttribute("tabindex",0),a.focus())}function bG(a,{UN:b,s1:c=200}){if(a.IA()||a.uq())b?setTimeout(()=>aG(a),c):aG(a)}
class cG extends Vh{constructor({playbackController:a,op:b}){super();this.C=a;this.Va=b;this.tf=this.IC=null}IA(){return-1!=this.C.currentSlideIndex()&&this.C.U()instanceof on}uq(){return-1!=this.C.currentSlideIndex()&&this.C.U()instanceof zn}};class dG{constructor(a){this.Pe=a}then(a){this.Pe=a(this.Pe);return this}result(){return this.Pe}};function eG(a){a=[...a.sb().qb(),...a.Fb().qb()];return new Map(a.map(b=>{var c=b.asset();c=c.Ve()||fG(c);return[b.id(),gG(c)]}))}function fG(a){a=document.getElementById(a.id());return Id(a)}function gG(a){return(new dG(a)).then(b=>b.includes("controls")?b:b.replace(">"," controls>")).then(b=>hG(b,"width")).then(b=>hG(b,"height")).then(b=>b.replace(RegExp('id="\\w+"'),"")).result()}function hG(a,b){return a.includes(b)?a.replace(new RegExp(`${b}="\\d*\\.*\\d+px"`),""):a};function iG(a){if(0<a.Sg.length){const b=jG(a,a.Sg[0]);a.Gc("label",b)}else a.Gc("label","")}function kG(a,b,c){const d=yd(Hc(lG(b)));mG(a,d);c&&nG(a,c).then(e=>d.append(e)).catch(()=>{});a.iI.set(b.id(),d);return d}function lG(a){return gG(a.Ve()||fG(a))}function mG(a,b){a=jG(a,b);Et(b,"label",a)}
function nG(a,b){return new Promise(c=>{const d=()=>{var e=b.content();e=URL.createObjectURL(new Blob([e],{type:"text/plain"}));e=yd(Hc(`<track kind="captions" default="" src="${e}">`));Ee(a,e,"load",a.JL,a);return c(e)};b.loaded()?d():Ie(a,b.Ew,d)})}function oG(a){return a.tf.yg().qb().filter(b=>pG(a,b)).map(b=>({asset:b.audio(),wc:b.wc()}))}function qG(a){return a.tf.Fh().qb().filter(b=>pG(a,b)).map(b=>({asset:b.video(),wc:b.wc()}))}
function pG(a,b){return a.H()>=b.startTimestamp().slideIndex()&&a.H()<=b.endTimestamp().slideIndex()}function jG(a,b){return a.Ca.jd(b instanceof HTMLAudioElement?"PB_ACCESSIBLE_AUDIO_NARRATION_LABEL":"PB_ACCESSIBLE_VIDEO_NARRATION_LABEL")}function rG(a){const b=[];a instanceof HTMLAudioElement&&Array.from(a.textTracks).forEach(c=>b.push(...Array.from(c.cues).map(d=>d.text)));return b}
class sG extends O{constructor({hc:a,playbackController:b,oF:c,jb:d}){super({nh:"SECTION",O:"ppt-accessible-narration"});this.tf=a;this.C=b;this.Dc=c;this.Ca=d;this.Sg=[];this.iI=new Map;y(this,this.C.slideChangeEvent(),this.IT,this)}isActive(){return 0<this.Sg.length}focus(){this.isActive()&&this.Sg[0].focus()}IT(){const a=this.Sg;this.Sg.forEach(b=>b.remove());this.Sg=[...oG(this),...qG(this)].map(b=>this.iI.get(b.asset.id())||kG(this,b.asset,b.wc));this.Sg.forEach(b=>{!a.includes(b)&&b.readyState&&
(b.currentTime=0);this.za(b)});this.pa(!!this.Sg.length);iG(this);this.JL()}H(){return this.C.currentSlideIndex()}JL(){if(this.Dc){const a=this.Sg.map(b=>rG(b)).flat();this.Dc.ty(a);this.Dc.pa(!!a.length)}}};class tG extends O{constructor({O:a,title:b}){super({nh:"DETAILS",O:a});a=new O({nh:"SUMMARY",Ob:ru(this,"summary")});a.Eb(b);this.mT=a;pu(this,this.mT);x(this,this,"toggle",this.EL,this);this.EL()}EL(){const a=this.displayObject().hasAttribute("open");this.Gc("expanded",a)}};class uG extends tG{constructor(a){super({O:"ppt-accessible-subtitles",title:a.jd("PB_ACCESSIBLE_AUDIO_SUBTITLES_LABEL")});this.ra=[];this.fL=new O({Ob:ru(this,"subtitles-container")});pu(this,this.fL)}ty(a){if(!Bi(this.ra,a)){const b=a.reduce((c,d)=>`${c}<p>${cd(d)}</p>`,"");this.fL.$s(b);this.ra=a}}};function vG(a){return("presentationNavigationType"!=a.ly()||"presentationSeeking"==a.XM())&&"quizNavigationSettings"!=a.ly()&&"scenarioNavigationSettings"!=a.ly()}
class wG extends Vh{constructor(a){super();this.C=a;this.zj="bySlides"}ob(){return this.C.clock().ob()}isNextAvailable(){const a=this.C.Gi("bySlides"==this.zj?"switchToNextSlide":"switchToNextStep");return!(a&&vG(a))}isPrevAvailable(){const a=this.C.Gi(this.zj?"switchToPreviousSlide":"switchToPreviousStep");return!(a&&vG(a))}prev(){"bySlides"==this.zj?this.C.gotoPreviousSlide():"bySteps"==this.zj&&this.C.Po()}next(){"bySlides"==this.zj?this.C.gotoNextSlide():"bySteps"==this.zj&&this.C.tk()}};class xG extends O{constructor({playbackController:a,lW:b,jb:c}){super({nh:"NAV",O:"simple-navigation-panel"});this.zh("navigation");this.py(c.jd("PB_ACCESSIBLE_ARIA_LABEL_NAVIGATION_BUTTONS"));this.C=a;this.OB=b;this.Ca=c;this.fH=K(this);this.dH=K(this);const {vU:d,uU:e}=this.zz();pu(this,e);pu(this,d);y(this,this.C.slideChangeEvent(),()=>{setTimeout(()=>{var f=d.kb,h=!this.C.Gi("switchToPreviousSlide"),g=-1!=this.C.previousSlideIndex();f.call(d,h&&g);f=e.kb;h=!this.C.Gi("switchToNextSlide");g=-1!=
this.C.nextSlideIndex();f.call(e,h&&g||this.C.currentSlideIndex()==this.C.th()&&this.OB.uh())},200)})}zz(){const a=this.eu({caption:this.Ca.jd("PB_ACCESSIBLE_NAVIGATION_PREV_BUTTON"),rM:()=>this.fH.D()}),b=this.eu({caption:this.Ca.jd("PB_ACCESSIBLE_NAVIGATION_NEXT_BUTTON"),rM:()=>this.dH.D()});return{vU:a,uU:b}}eu({caption:a,rM:b}){const c=new WD({Ob:ru(this,"button")});c.Eb(a);y(this,c.ta,b,this);return c}};class yG extends Vh{constructor(a,b,c){super();this.C=a;this.Le=b;this.Pu=c;y(this,this.Le.ob(),()=>{this.C.invalidate()})}isNextAvailable(){return this.Pu?this.Le.isNextAvailable():this.C.isNextAvailable()||this.Le.isNextAvailable()}isPrevAvailable(){return this.Pu?this.Le.isPrevAvailable():this.C.isPrevAvailable()||this.Le.isPrevAvailable()}prev(){this.Pu?this.Le.prev():this.C.isPrevAvailable()?this.C.prev():this.Le.prev()}next(){this.Pu?this.Le.next():this.C.isNextAvailable()?this.C.next():this.Le.next()}}
;function zG(a,b,c){const d=a.PE().type();var e=b.settings().navigation().navigationType();c=c.U();if(e=AG(d,e,c)){c={};b=b.slides();a=a.PE().hy();if(a=null!=a?`${b.getSlide(a).visibleIndex()+1}`:"")b=c,"precedingQuizFailed precedingQuizNotPassed precedingQuizNotCompleted precedingScenarioNotPassed precedingScenarioFailed precedingScenarioNotCompleted".split(" ").includes(d)&&(b.SLIDE_INDEX=a);return{Xo:e,WM:c}}return null}
function AG(a,b,c){switch(a){case "currentSlideIsNotCompleted":return"PB_CURRENT_SLIDE_IS_NOT_COMPLETED";case "backwardNavigationIsRestricted":case "forwardNavigationIsRestricted":return"sequential"==b?"PB_NAVIGATION_IS_SEQUENTIAL":"PB_NAVIGATION_IS_RESTRICTED";case "interactionNotCompleted":return c instanceof zn?"PB_SCENARIO_SLIDE_WINDOW_TEXT":c instanceof ek?"PB_INTERACTION_SLIDE_WINDOW_TEXT":"PB_QUIZ_SLIDE_WINDOW_TEXT";case "precedingQuizFailed":return"PB_PRECEDING_QUIZ_FAILED_WINDOW_TEXT";case "precedingQuizNotPassed":return"PB_PRECEDING_QUIZ_NOT_PASSED_WINDOW_TEXT";
case "precedingQuizNotCompleted":return"PB_PRECEDING_QUIZ_NOT_COMPLETED_WINDOW_TEXT";case "precedingScenarioNotPassed":return"PB_PRECEDING_SCENARIO_NOT_PASSED_WINDOW_TEXT";case "precedingScenarioFailed":return"PB_PRECEDING_SCENARIO_FAILED_WINDOW_TEXT";case "precedingScenarioNotCompleted":return"PB_PRECEDING_SCENARIO_NOT_COMPLETED_WINDOW_TEXT";default:return""}};function BG(a){const b=a.C;y(a,a.B.startupEvent(),a.wB,a);y(a,a.Mb.Ti().nE(),a.uB,a);y(a,b.slideChangeEvent(),a.xB,a);y(a,b.Zy,a.FO,a);y(a,b.Em,a.Sy,a);Ie(a,a.B.bE(),a.YQ,a);y(a,a.ev.fH,()=>{CG(a,a.C.gotoPreviousSlide.bind(a.C,!1))});y(a,a.ev.dH,()=>{CG(a,a.C.gotoNextSlide.bind(a.C,!1))})}function CG(a,b){const c=DG(a);c&&a.Gc("busy","true");b();c&&setTimeout(()=>a.Gc("busy","false"),200)}function DG(a){return a.vw?"slide"==a.vw.JU&&"slide"==a.vw.WV:!1}
class EG extends O{constructor({O:a,Ad:b,messages:c,skinSettings:d}){super({O:a});this.B=b;this.Ar=d;this.Ca=new QF(c);this.I=b.presentation();this.Mb=b.view();this.C=this.Mb.playbackController();this.Lj=this.Mb.Ti();this.ga=this.C.clock();this.Hh=this.Mb.Hh;this.Le=this.Az();this.eA=Ke(this,new cG({playbackController:this.C,op:this.Mb.op()}));this.ev=new xG({playbackController:this.Lj,lW:this.I.settings().playback(),jb:this.Ca});this.Dc=this.Bz();a=this.I.hc();this.tf=a.yg().count()||a.Fh().count()?
new sG({hc:a,playbackController:this.C,oF:this.Dc,jb:this.Ca}):null;a=new O({nh:"SECTION",O:"ppt-accessible-footer"});a.zh("region");a.py(this.Ca.jd("PB_ACCESSIBLE_ARIA_LABEL_BOTTOM_PANEL"));this.hn=a;this.vw=null;Fu(this.Hh,this.displayObject());BG(this);this.Fg(this.I.slideWidth());-1==this.C.currentSlideIndex()&&this.pa(!1);x(this,window,"resize",this.HL,this);this.HL()}Az(){return Ke(this,new wG(this.Lj))}Bz(){return this.I.hc().yg().count()?new uG(this.Ca):null}wB(a){var b=a.action(),c=this.I.settings().playback().resumeMode();
"resumePlayback"==b&&"prompt"==c&&(a.setAction("delayStartup"),b=a.zC,c=this.Ca.jd("PB_RESUME_PRESENTATION_WINDOW_TEXT"),confirm(c)?b.resume(a.slideIndex(),!0):b.start(this.C.firstSlideIndex(),!0))}YQ(){this.pa(!0);bG(this.eA,{UN:!1})}xB(){if(this.Jc()instanceof ek){var a=this.C.interactionPlayer(),b=this.Jc(),c=a,d=c.setExternalNavigationController;a=new yG(a.playerController(),this.Le,2==b.rl);d.call(c,a)}this.ev.pa(this.IA()||this.uq())}FO(a,b){this.Jc()instanceof sn?this.C.quizPlayer().skin().bottomPanel().setExternalParent(null):
this.Jc()instanceof ek?this.C.interactionPlayer().setExternalParentForAccessibleNavigationControls(null):this.uq()&&this.C.scenarioPlayer().setExternalParentForAccessibleBottomPanel(null);this.vw={JU:a,WV:b}}Sy(){if(this.Jc()instanceof sn){var a=this.hn;this.C.quizPlayer().skin().bottomPanel().setExternalParent(a?a.displayObject():null)}else this.Jc()instanceof ek?(a=this.hn,this.C.interactionPlayer().setExternalParentForAccessibleNavigationControls(a?a.displayObject():null)):this.uq()&&(a=this.hn,
this.C.scenarioPlayer().setExternalParentForAccessibleBottomPanel(a?a.displayObject():null));bG(this.eA,{UN:DG(this)})}Jc(){return-1!=this.C.currentSlideIndex()?this.C.U():null}IA(){return this.Jc()instanceof on}uq(){return this.Jc()instanceof zn}uB(a){(a=zG(a,this.I,this.C))&&this.nC(a)}nC({Xo:a,WM:b}){const c=this.C.clock().suspended();Ki(this.ga,!0);alert(this.Ca.jd(a,b));Ki(this.ga,c)}HL(){ou(this,"min-height",`${window.innerHeight}px`)}};class FG extends EG{constructor({Ad:a,messages:b,skinSettings:c}){super({O:"accessible-null-skin",Ad:a,messages:b,skinSettings:c});(a=this.tf)&&pu(this,a);this.za(this.Mb.displayObject());(a=this.ev)&&pu(this.hn,a);(a=this.Dc)&&pu(this.hn,a);(a=this.hn)&&pu(this,a);this.eA.tf=this.tf}};class GG extends O{constructor(){super({O:"launch-screen"});const a=new O({O:"launch-screen-button"});mf||y(this,a.ta,()=>this.ta.D());const b=new O({Ob:ru(a,"play-icon")}),c=new O({Ob:ru(a,"icon")});a.za(b);a.za(c);this.za(a)}};class HG extends O{constructor(){super({O:"message-box"});this.zh("alertdialog");this.jJ=K(this);this.sz=K(this);this.zv=!1}open(){this.zv=!0;this.Qq();this.jJ.D(this)}close(){this.zv=!1;this.pa(!1);this.sz.D(this);Fe(this,document,"keydown",this.WJ,this)}pa(a){super.pa(a);this.yj&&this.yj.pa(a)}WJ(a){const b=a.target.nodeName;"INPUT"!=b&&"TEXTAREA"!=b&&a.preventDefault()}Qq(){this.pa(!0);x(this,document,"keydown",this.WJ,this)}};function IG(a,b){a.fk.pa(!0);a.gx.push(b);y(a,b.jJ,a.iJ,a);y(a,b.sz,a.hJ,a,-1);var c=b.yj;if(c){var d=a.fk.displayObject();c=c.displayObject();d.appendChild(c)}d=a.fk.displayObject();c=b.displayObject();d.appendChild(c);b.zv?a.iJ(b):a.hJ(b)}function JG(a){for(let b=0;b<a.Cj.length;b++){const c=a.Cj[b];c.setParentScale(a.ua);su(c)}}
class KG extends Vh{constructor(a){super();const b=new O({O:"popup-layer"});a.appendChild(b.displayObject());this.fk=b;this.fk.pa(!1);this.gx=[];this.Cj=[];this.kJ=K(this);this.ua=1;Fb&&8>=Ub||ih(this.fk.displayObject(),"0 0");x(this,a,"touchstart",c=>{for(let d=0;d<this.Cj.length;d++){const e=this.Cj[d].yj;if(e&&(c.target==e.displayObject()||e.displayObject().contains(c.target))){c.preventDefault();break}}},this,St)}iJ(a){this.Cj.push(a);JG(this);this.kJ.D(this.Cj.length)}hJ(a){Ta(this.Cj,a);this.kJ.D(this.Cj.length)}setScale(a){this.ua=
a;this.fk.setScale(a);JG(this)}};function LG(a,b){window.scrollTo(a,b)}window.yPos=function(){return window.pageYOffset};window.scrollPageTo=LG;function MG(){this.yC=new B;this.Fz=this.Rp=0;this.Nw=!1;this.L=w("DIV");this.L.style.width=Ef?"100%":"100vw";this.L.style.height=df?"50vh":"100vh";this.L.style.position="absolute";this.L.style.zIndex="-1";this.L.style.top="0";mf&&!Ff&&(document.body.style.position="fixed");let a=window;if(gf)try{a=window.top}catch(c){}document.body.insertAdjacentElement("afterbegin",this.L);(new ResizeObserver(()=>{df&&Ff?setTimeout(()=>{NG(this)},100):NG(this)})).observe(this.L);window.invalidatePlayerSize=()=>
{};window.setPlayerSize=()=>{};window.removeResizeListeners=()=>{};document.addEventListener("touchend",c=>{0==c.touches.length&&(this.Nw=!1,setTimeout(()=>{NG(this,!1,!1)},100))},!0);document.addEventListener("touchstart",c=>{1==window.event.touches.length&&(this.Nw=!0);1<c.touches.length&&c.preventDefault()},!0);const b=a.onresize;a.onresize=()=>{b&&b();NG(this)};a.onorientationchange=()=>{const c=Od();c&&mf&&(df?setTimeout(()=>{c.blur();Df&&NG(this)},800):c.blur())};jf&&window.frameElement&&window.frameElement.setAttribute("scrolling",
"no")}MG.prototype.Ex=function(){NG(this,!0)};
function NG(a,b=!1,c=!0){function d(m,p){if(b||l.Rp!=m||l.Fz!=p){const r=l.Rp;l.Rp=m;l.Fz=p;l.yC.D(l.Rp,l.Fz);r!=l.Rp&&df&&!l.Nw&&setTimeout(()=>{e(0,0)},100)}}const e=LG;if(b||!a.Nw){var f=df?2*a.L.clientHeight:a.L.clientHeight;if(gf||!(uf&&.7>f/screen.height||We&&.7>window.innerHeight/f)){var h=1,g=a.L.clientWidth;c&&jf&&window.frameElement&&(g=0,h=g/window.innerWidth);var k=window.innerHeight*h,l=a;d(g,k);c&&jf&&window.frameElement&&setTimeout(()=>{g=window.frameElement.clientWidth;h=g/window.innerWidth;
k=window.innerHeight*h;d(g,k)},0)}}};function OG(a,b,c){null==a.pi&&(a.pi=new MG,a.pi.yC.addHandler(a.yR,a));a.yu=b;a.jj=c}class PG{constructor(){this.jj=this.yu=this.pi=null}Ex(){this.pi&&this.pi.Ex()}yR(a,b){this.yu&&this.yu.apply(this.jj,[a,b])}};class QG extends O{constructor(){super({O:"preloader"});this.YK=0;this.pw=!1;this.pa(!1)}show(){this.pw||(this.pw=!0,clearTimeout(this.lH),clearTimeout(this.KK),this.KK=qh(this.MS,this,800))}Ki(){if(this.pw&&(this.pw=!1,clearTimeout(this.lH),clearTimeout(this.KK),this.visible())){var a=500-(this.Lh()-this.YK);0<a?this.lH=qh(this.kH,this,a):this.kH()}}MS(){this.YK=this.Lh();this.pa(!0)}kH(){this.pa(!1)}Lh(){return(new Date).getTime()}};function RG(a){if(a.Pe){const b=new O({nh:"SPAN",Ob:ru(a,"button-text")});b.Eb(a.Pe);return b}return null}
class SG extends O{constructor(){var {icon:a,type:b,size:c="medium",text:d,prefix:e}={type:"uikit-primary-button"};super({O:`${e?e:""}${b}`,nh:"BUTTON"});this.TB=!1;this.Pe=d||null;this.sH=(this.pd=a||null)?new O({Ka:this.pd.element,Ob:ru(this,`${this.pd.lD}-icon`)}):null;(this.Xj=RG(this))&&pu(this,this.Xj,this.pd?"right"===this.pd.lD?0:1:0);this.sH&&pu(this,this.sH,this.pd?"right"===this.pd.lD?1:0:0);this.qP=K(this);this.Sf("size",c);this.Ht()}pressed(){return this.TB}Ze(a){this.TB=a;this.Gc("pressed",
a);this.Sf("withTooltip",!this.TB)}Eb(a){(this.Pe=a)?this.Xj?this.Xj.Eb(a):(this.Xj=RG(this),pu(this,this.Xj,this.pd?"right"===this.pd.lD?0:1:0)):(Le(this,this.Xj),this.Xj=null)}kb(a){super.kb(a);this.qP.D(a)}};function TG(a,b){var c=a.Th,d=a.sf;void 0!==c&&(b=Math.max(b,c));void 0!==d&&(b=Math.min(b,d));a.yf!=b&&(a.yf=b,UG(a),a.lw.D())}function VG(a,b,c){a.jr=b;x(a,a.jr,"mouseover",a.SI,a);x(a,a.jr,"mouseout",a.RI,a);x(a,document,hq,a.jK,a);a.On.stop();a.fw=function(){TG(this,this.yf+this.gK)};a.gK=c;a.On.start()}
class WG extends O{constructor(a){super({O:a.O,xp:!0});this.rQ=15;this.yf=this.sf=this.Th=this.Ev=0;this.aQ=a.Cg||1;this.gK=this.DB=0;this.lS=100;this.po=Ke(this,new O({Ob:ru(this,"up")}));this.za(this.po);this.Qe=Ke(this,new O({O:"thumb"}));this.za(this.Qe);this.Qe.za(Ke(this,new O({Ob:ru(this.Qe,"background")})));this.Wm=Ke(this,new O({Ob:ru(this,"down")}));this.za(this.Wm);this.fw=this.jr=null;this.lw=K(this);this.sT=K(this);this.On=new Yf(this.lS);x(this,this.On,"tick",this.pR,this);x(this,this,
gq,this.xL,this,Tt);x(this,this.po,gq,this.DR,this,Tt);x(this,this.Qe,gq,this.yB,this,Tt);x(this,this.Wm,gq,this.LQ,this,Tt);x(this,document.body,hq,this.OQ,this)}Cg(){return this.aQ}scale(){return this.Bl}setScale(a){this.setParentScale(a)}ht(a,b,c,d=0){this.Ev=a;this.Th=b;this.sf=c;this.DB=d;XG(this);TG(this,this.yf)}xL(){}DR(a){a.preventDefault();a=-this.Cg();TG(this,this.yf+a);VG(this,this.po,-this.Cg())}LQ(a){a.preventDefault();a=this.Cg();TG(this,this.yf+a);VG(this,this.Wm,this.Cg())}jK(){Fe(this,
this.jr,"mouseover",this.SI,this);Fe(this,this.jr,"mouseout",this.RI,this);Fe(this,document,hq,this.jK,this);this.On.stop();this.fw=null}SI(){this.On.start()}RI(){this.On.stop()}pR(){this.fw&&this.fw()}yB(a){this.sT.D();a.preventDefault();x(this,document.body,iq,this.wv,this);this.VC(!0)}VC(a){this.Qe.Sf("active",a)}OQ(){Fe(this,document.body,iq,this.wv,this);this.VC(!1)}wv(){}Ef(){XG(this)}};function XG(a){const b=a.height()-a.po.height()-a.Wm.height();a.Qe.Ui(0==a.sf-a.Th?b:Math.max(a.rQ,Math.ceil(a.Ev/(a.sf-a.Th+a.Ev)*b)));UG(a)}function UG(a){const b=YG(a);0==a.sf-a.Th?a.Qe.$e(b.top):a.Qe.$e(b.top+Math.round((a.yf-a.Th)/(a.sf-a.Th)*b.height));a.po.kb(!!a.yf);a.Wm.kb(a.yf!=a.sf)}function YG(a){const b=new pg(0,0,0,0);b.top=a.po.height();b.height=a.height()-a.Wm.height()-a.Qe.height()-b.top;b.left=a.Qe.x();return b}
class ZG extends WG{constructor(a){super(a);this.pI=0}xL(a){var b;if(b=!a.defaultPrevented)b=this.Qe.displayObject().getBoundingClientRect(),b=!(a.clientY>=b.top&&a.clientY<=b.top+b.height);if(b){b=this.displayObject().getBoundingClientRect();var c=YG(this),d=0==this.DB?this.Ev:this.DB;a=(a.clientY-(b.top-c.top))/this.Bl<=this.Qe.y()?-d:d;TG(this,this.yf+a)}}yB(a){super.yB(a);const b=this.Qe.displayObject().getBoundingClientRect();this.pI=a.clientY-Math.round(b.top);this.wv(a)}wv(a){const b=this.displayObject().getBoundingClientRect(),
c=YG(this);TG(this,(a.clientY-b.top-c.top*this.Bl-this.pI)/(c.height*this.Bl)*(this.sf-this.Th)+this.Th)}};function $G(a,b){ye.call(this);this.ws=a;a=Ed(this.ws)?this.ws:this.ws?this.ws.body:null;this.DV=!!a&&"rtl"==ug(a,"direction");this.SM=me(this.ws,Ib?"DOMMouseScroll":"mousewheel",this,b)}va($G,ye);
$G.prototype.handleEvent=function(a){var b=0,c=0,d=a.Rd;"mousewheel"==d.type?(a=aH(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=aH(-d.wheelDeltaX),c=aH(-d.wheelDeltaY)):c=a):(a=d.detail,100<a?a=3:-100>a&&(a=-3),void 0!==d.axis&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);"number"===typeof this.TM&&(b=Tc(b,-this.TM,this.TM));"number"===typeof this.UM&&(c=Tc(c,-this.UM,this.UM));this.DV&&(b=-b);b=new bH(a,d,b,c);this.dispatchEvent(b)};function aH(a){return Lb&&(Mb||Ob)&&0!=a%40?a:a/40}
$G.prototype.Ue=function(){$G.xc.Ue.call(this);ve(this.SM);this.SM=null};function bH(a,b,c,d){Zd.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d}va(bH,Zd);var cH=new Sd;function dH(a){a.BP&&a.Nf(a.kL||a.WA?.5:0)}function eH(a,b){x(a,new $G(b.displayObject(),{passive:!0}),cH,c=>{!ph(c.Rd)&&c.deltaY&&(c=0<c.deltaY?a.Cg():-a.Cg(),TG(a,a.yf+c))},a)}
class fH extends ZG{constructor({O:a,Cg:b,LE:c,tV:d,sN:e=null}){super({O:a,Cg:b});this.hr=c;this.WA=this.kL=!1;this.BP=d;this.ur=e;ou(c,"overflow","hidden");y(this,this.lw,()=>{c.displayObject().scrollTop=this.yf});x(this,c,"scroll",()=>{var f=c.displayObject().scrollTop;TG(this,f)},this);this.ur?eH(this,this.ur):(eH(this,this.hr),eH(this,this));d?(this.Nf(0),this.ur?(x(this,this.ur,"mouseenter",this.Nq,this),x(this,this.ur,"mouseleave",this.Mq,this)):(x(this,this.hr,"mouseover",this.Nq,this),x(this,
this,"mouseover",this.Nq,this),x(this,this.hr,"mouseout",this.Mq,this),x(this,this,"mouseout",this.Mq,this))):this.Nf(1)}ht(a,b,c,d=0){this.pa(0<c);super.ht(a,b,c,d)}VC(a){this.kL=a;dH(this)}Nq(a){a&&(this.contains(a.relatedTarget)||this.hr.contains(a.relatedTarget))||(this.WA=!0,dH(this))}Mq(a){a&&(null==a.relatedTarget||this.contains(a.relatedTarget)||this.hr.contains(a.relatedTarget))||(this.WA=!1,dH(this))}};class gH extends O{constructor(a){super({O:a});a=new O({Ob:ru(this,"thumb")});pu(this,a)}}class hH{constructor(a,b){this.tj=a;this.lw=b}scrollY(){const a=this.tj.getComputedPosition().y;return isNaN(a)?0:-a}gN(){return this.lw}}class iH extends Vh{constructor(a){super();this.L=a;this.UI=K(this);x(this,a,"scroll",()=>{this.UI.D()})}scrollY(){return this.L.scrollTop}gN(){return this.UI}}
class jH extends Vh{constructor({O:a="vertical-scrollbar",w1:b="mobile-vertical-scrollbar",LE:c,G1:d,o1:e,sN:f=null,Cg:h=20,preventDefault:g=!0}){super();this.Ff=this.tj=null;this.uL=d||null;this.ZF=e||null;this.sf=0;if(mf){const k=K(this);a={fadeScrollbars:!0,scrollX:!1,scrollY:!0,bounce:!1,deceleration:.006,useTransition:!1,preventDefault:g,disablePointer:!0,disableTouch:!1,disableMouse:!1,onScrollHandler:()=>{k.D()}};b=new gH(b);a.indicators={el:b.displayObject(),shrink:"scale"};this.tj=new IScroll(c.displayObject(),
a);this.kw=new hH(this.tj,k)}else this.Ff=Ke(this,new fH({O:a,Cg:h,LE:c,tV:!0,sN:f})),this.kw=new iH(c.displayObject()),b=this.Ff;y(this,this.kw.gN(),this.fK,this);this.JS=b}ht(a,b){this.sf=Math.max(0,b-a);this.tj?this.tj.setScrollHeight(b):this.Ff&&this.Ff.ht(a,0,Math.max(this.sf,0));this.fK()}setParentScale(a){this.Ff&&this.Ff.setParentScale(a)}fK(){if(this.uL){var a=Math.min(this.kw.scrollY(),60);Eg(this.uL,a)}this.ZF&&(a=this.sf-this.kw.scrollY(),Eg(this.ZF,Math.min(a,60)))}od(){super.od();this.tj&&
this.tj.destroy()}};class kH extends RD{constructor(a){super(null,[0],[1],75,b=>b*b);this.mP=a}wp(){this.mP.Nf(this.coords[0])}};class lH extends HG{constructor(){super();this.Jz=this.gu=void 0}Qq(){mf&&super.Qq();this.gu&&this.gu.stop();this.pa(!0);!mf&&this.Jz&&this.Jz.focus();this.gu=new kH(this);this.gu.play()}};function mH(a){var b=a.yj;const c=Math.floor(.5*(b.width()-a.width()));b=Math.floor(.5*(b.height()-a.height()));a.move(c,b)}
class nH extends lH{constructor({Ey:a,icon:b,buttons:c,jb:d,XD:e}){super();if(this.yj)throw Error("already modal");this.yj=new O({O:"modal-layer"});this.Ca=d;this.sa=new O({Ob:ru(this,"content")});this.pd=null;b&&(this.pd=new O({Ka:b,Ob:ru(this,"icon")}),this.sa.za(this.pd));this.Vk=new O({Ob:ru(this,"message-container")});this.yn=new O({Ob:ru(this,"message"),tabIndex:-1});uu(this.yn,this.Ca,a,e);pu(this.sa,this.Vk);this.za(this.sa);this.Jz=this.yn.displayObject();this.GK=new O({});pu(this.GK,this.yn);
pu(this.Vk,this.GK);this.Sk=new O({O:"message-box-buttons"});qu(this.Sk,ru(this,"buttons"));pu(this,this.Sk);this.zz(c);this.Ff=new jH({LE:this.Vk});this.sa.za(this.Ff.JS);Ke(this,this.Ff);this.nK=""}vB(){super.vB();this.Ff.setParentScale(this.Bl)}Qq(){super.Qq();su(this);qh(()=>{mH(this)},this,0)}zz(a){const b=new O({Ob:ru(this.Sk,"buttons")});a.forEach(({Xo:c,result:d})=>{const e=new SG;qu(e,ru(this.Sk,"window-button"));uu(e,this.Ca,c);pu(b,e);y(this,e.ta,()=>{this.nK=d;this.close()})});this.Sk.za(b)}Ef(){var a=
Og(this.sa.displayObject()),b=this.pd?Og(this.pd.displayObject()):null;b=this.pd?this.pd.width()+b.left+b.right:0;ou(this.Vk,"max-width",Math.min(screen.width-b-a.right-a.left-80,480)+"px");ou(this.Vk,"height","");a=this.yj;b=Og(this.Vk.displayObject());const c=Og(this.Sk.displayObject());a=.9*a.height()-b.top-b.bottom-this.Sk.height()-c.top-c.bottom;b=Math.min(a,this.yn.height());a<this.yn.height()&&this.Vk.Ui(Math.floor(a));mH(this);this.Ff&&this.Ff.ht(b,this.yn.height());mH(this)}};function oH(a,{Ey:b,icon:c,buttons:d,XD:e}){return new Promise(f=>{const h=new nH({Ey:b,icon:c,buttons:d,jb:a.Ca,XD:e});IG(a.fs,h);h.open();y(a,h.sz,()=>{var g=a.fs,k=Ia(g.gx,h);0<=k&&(Ua(g.gx,k),h.zv&&h.close(),Ne(g,h),Bd(h.displayObject()),(k=h.yj)&&Bd(k.displayObject()));g.fk.pa(0<g.gx.length);f(h.nK)},a)})}class pH extends Vh{constructor({jb:a,AX:b}){super();this.Ca=a;this.fs=b}};class qH{constructor(a){this.vq=a;this.ti=!1;this.Gz=void 0}suspend(){this.Gz=this.vq.KA;$C(this.vq,!1);this.ti=!0}resume(){$C(this.vq,this.Gz);this.Gz=void 0;this.ti=!1}};function rH(a,b){Ee(a,b,"click",a.Hj,a);setTimeout(()=>{Fe(a,b,"click",a.Hj,a)},500)}
class sH extends Vh{constructor(a,b){super();this.B=a;this.qn=b;this.EJ=K(this);this.jg=!1;Ke(this,this.qn)}show(a){const b=this.qn;b.kb(!1);const c=this.B.view(),d=c.playbackController().clock();this.jg=!0;var e=this.qn,f=this.B.view();a=a||f.displayObject();a.appendChild(e.displayObject());c.setOverlayDisplayed(!0);y(this,d.Gg(),this.rv,this);b.kb(!0);y(this,b.ta,this.rv,this)}rv(){const a=this.B.view();var b=a.playbackController().clock();this.Qm(b);this.Qm(this.qn);(nf||Jf)&&(b=Fd(this.qn.displayObject()))&&
rH(this,b);Bd(this.qn.displayObject());a.setOverlayDisplayed(!1);this.jg=!1;this.EJ.D()}Hj(a){a.preventDefault()}};function tH(a,b){if(a.xG.hasOwnProperty(b))a=a.xG[b];else throw Error("unknown template id: "+b);a=yd(Hc(a));return a instanceof DocumentFragment?a.firstChild:a}class uH{constructor(a){this.xG=a}bH(a){return"{"+a+"}"}};class vH extends uH{};class wH extends O{constructor(){super({O:"subtitles-panel"});this.pa(!1)}ty(a){a=a.reduce((b,c)=>`${b}<div><span>${cd(c)}</span></div>`,"");this.$s(a)}Ef(a){const b=this.Bl;ou(this,"width",`${a/b}px`);ou(this,"transform",`scale(${b})`)}};function xH(a){const b=[],c=[];a.ra.forEach(({type:d,wc:e})=>{"audio"==d?b.push(e):"video"==d&&c.push(e)});return[b,c].flat(Infinity)}class yH{constructor(){this.ra=new Map}};class zH extends Vh{constructor({audioNarrationController:a,videoNarrationController:b,Li:c,gU:d,oF:e}){super();this.Ft=d;this.Dc=e;this.gL=K(this);y(this,a.Oe,(f,h)=>{var g=this.Ft;g.ra.delete(f);h.length&&g.ra.set(f,{type:"audio",wc:h});this.Dc.ty(xH(this.Ft))});y(this,b.Oe,(f,h)=>{var g=this.Ft;g.ra.delete(f);h.length&&g.ra.set(f,{type:"video",wc:h});this.Dc.ty(xH(this.Ft))});y(this,c.QH,this.$Q,this)}mp(){this.Dc.visible()||(this.Dc.pa(!0),this.gL.D())}$Q(a){"toggleSubtitles"==a&&(this.Dc.visible()?
this.Dc.visible()&&(this.Dc.pa(!1),this.gL.D()):this.mp())}};const AH=[{Go:Fb,O:"ie"},{Go:nf,O:"android_default"},{Go:Lb,O:"webkit"},{Go:Eb,O:"opera"},{Go:Ib,O:"gecko"}];function BH(a){qu(a,mf?"mobile":"desktop");AH.find(b=>{b.Go&&qu(a,b.O);return b.Go})};function CH(){return Of||DH()||void 0===window.orientation?window.innerWidth>window.innerHeight:!!(window.orientation%180)}function DH(){return 0<=window.location.search.indexOf("ispringpreview=1")};class EH extends O{constructor(a){super({O:"rotate-prompt"});const b=new O({O:"rotate-prompt-container"});var c=b.za,d=new O({O:"rotate-prompt-icon"});d.Sf("landscape",CH());c.call(b,d);c=b.za;d=new O({O:"rotate-prompt-label"});d.Eb(CH()?a.jd("PB_POPUP_ROTATE_SCREEN_PROMPT_PORTRAIT"):a.jd("PB_POPUP_ROTATE_SCREEN_PROMPT_LANDSCAPE"));c.call(b,d);this.za(b)}};class FH extends Vh{constructor(a,b){super();this.L=a;a=new EH(b);Ke(this,a);this.nr=a}show(){this.L.za(this.nr);Ie(this,this.nr.ta,this.sj,this);Ee(this,window,"resize",this.sj,this);setTimeout(()=>this.sj(),3E3)}sj(){this.nr.Nf(0);setTimeout(()=>{this.L.removeChild(this.nr);He(this,this.nr.ta,this.sj,this);Fe(this,window,"resize",this.sj)},200)}};function GH(a,b){y(a,b.$H,a.QA,a);y(a,b.CL,a.QC,a);b=b.slideTransitionController();y(a,b.transitionEffectStartEvent(),a.QA,a);y(a,b.transitionEffectCompleteEvent(),a.QC,a)}function HH(a,b){y(a,b.Vn,a.QA,a);y(a,b.mn,a.QC,a)}
class IH extends Vh{constructor(a){super();this.Qy=a;a=af();this.ya=a.hasOwnProperty("accessibility")&&"1"==a.accessibility&&this.Yl()?"accessible":"normal";this.aD=!1;this.PJ=K(this);this.bI=K(this);this.DL=K(this)}mode(){return this.ya}Yl(){return this.Qy&&!mf&&!DH()}QA(){this.aD=!0;this.bI.D()}QC(){this.aD=!1;this.DL.D()}};function JH(a,b,c,d){if(a.Yl()){const e=new O({nh:"SECTION"});e.zh("region");e.py(d.PB_ACCESSIBLE_ARIA_LABEL_SETTINGS);d=qd(document,c);c=e.displayObject();d.appendChild(c);c=new WD({O:"presentation-view-mode-switch-control",tabIndex:0});pu(e,c);KH(c,a);LH(c,a);MH(c,b);return c}return null}
function KH(a,b){a.ta.addHandler(()=>{if(b.aD)Ga("view mode change is locked");else{const d="normal"==b.ya?"accessible":"normal";a:switch(d){case "normal":var c=!0;break a;case "accessible":c=b.Yl();break a;default:throw Error("unknown presentation view mode");}c&&(b.ya=d,b.PJ.D(d))}})}function LH(a,b){let c=!1;b.bI.addHandler(()=>{document.activeElement==a.displayObject()&&(c=!0);a.kb(!1)});b.DL.addHandler(()=>{a.kb(!0);c&&(a.focus(),c=!1)})}
function MH(a,b){b.hq.addHandler(()=>{a.focus()});b.LF.addHandler(c=>{"normal"==c&&a.focus()})};function NH(a,b,c){if(b)if(c)OG(c,a.Ju,a);else{const d=new MG;y(a,d.yC,a.Ju,a);setTimeout(()=>d.Ex())}}function OH(a){a.GL();y(a,a.C.clock().sD(),a.GL,a)}
class PH extends O{constructor(a,b,c,d,e,f,h){super({O:"none"});BH(this);this.B=a;this.Or=b;this.TT=d;this.C=this.B.view().playbackController();this.Le=this.Az();this.Ca=new QF(c);this.fs=new KG(this.displayObject());this.zG=new pH({jb:this.Ca,AX:this.fs});this.Ru=new qH(this.C.Li());this.Vn=K(this);this.mn=K(this);this.hq=K(this);this.Sv=this.Tv=void 0;this.Mb=a.view();this.za(this.Mb.displayObject());b=new QG;this.Mb.displayObject().appendChild(b.displayObject());this.MJ=b;this.Dc=this.Bz();this.Mb.Vi().append(this.Dc.displayObject());
b=this.B.audioNarrationController();c=this.B.videoNarrationController();d=this.C.Li();this.lT=new zH({audioNarrationController:b,videoNarrationController:c,Li:d,gU:new yH,oF:this.Dc});y(this,a.startupEvent(),this.wB,this);y(this,a.bE(),this.XQ,this);y(this,this.Mb.Ti().nE(),this.uB,this);y(this,this.C.slideChangeEvent(),this.xB,this);Et(this.Mb.displayObject(),"hidden",!0);a=this.B.presentation();a.settings().hk().fitToWindow()||(this.Tv=a.slideWidth(),this.Sv=a.slideHeight());NH(this,e,h);OH(this);
mf&&(this.lT.mp(),e=new bd(this.B.presentation().slideWidth(),this.B.presentation().slideHeight()),f&&e.width!=e.height&&(CH()?"landscape":"portrait")!=(e.width>e.height?"landscape":"portrait")&&(new FH(this,this.Ca)).show())}Az(){return new wG(this.B.view().Ti())}Bz(){return Ke(this,new wH)}GL(){this.C.clock().buffering()?this.MJ.show():this.MJ.Ki()}Ju(a,b){var c=this.TT?170:0;const d=a-c,e=b-c;this.Tv<d&&this.Sv<e?(this.move(Math.max(0,Math.floor((a-this.Tv)/2)),Math.max(0,Math.floor((b-this.Sv)/
2))),a=this.Tv,b=this.Sv):(this.move(c/2,c/2),a=d,b=e);this.Mb.resize(a,b);this.resize(a,b);c=this.fs;c.fk.resize(a,b);JG(c)}xB(){var a=-1!=this.C.currentSlideIndex()?this.C.U():null;if(a instanceof ek){const b=this.C.interactionPlayer();a=new yG(b.playerController(),this.Le,2==a.rl);b.setExternalNavigationController(a)}}wB(a){if("resumePlayback"==a.action()&&"prompt"==this.B.presentation().settings().playback().resumeMode()){const b=this.C.firstSlideIndex(),c=a.slideIndex();a.setAction("delayStartup");
const d=a.zC;oH(this.zG,{Ey:"PB_RESUME_PRESENTATION_WINDOW_TEXT",icon:tH(this.Or,"mb_question_icon"),buttons:[{Xo:"PB_MESSAGE_BOX_YES",result:"yes"},{Xo:"PB_MESSAGE_BOX_NO",result:"no"}]}).then(e=>{this.Ru.resume();this.Mb.setOverlayDisplayed(!1);this.mn.D();this.hq.D();"yes"==e?d.resume(c,!0):d.start(b,!0)});this.Ru.suspend();this.Mb.setOverlayDisplayed(!0);this.Vn.D()}}uB(a){(a=zG(a,this.B.presentation(),this.C))&&this.nC(a)}XQ(a,b,c){c?(a=new GG,a=new sH(this.B,a),Ie(this,a.EJ,()=>{OH(this);this.C.play()}),
a.show()):OH(this)}nC({Xo:a,WM:b}){const c=this.C.clock().suspended();this.Ru.suspend();this.Mb.setOverlayDisplayed(!0);this.Vn.D();oH(this.zG,{Ey:a,icon:tH(this.Or,"mb_warning_icon"),buttons:[{Xo:"PB_MESSAGE_BOX_OK",result:"ok"}],XD:()=>b}).then(()=>{this.Ru.resume();this.Mb.setOverlayDisplayed(!1);this.mn.D();Ki(this.C.clock(),c)})}od(){super.od();Et(this.Mb.displayObject(),"hidden",!1);this.Dc.displayObject().remove()}};class QH extends O{constructor({O:a="back_to_app",label:b,E1:c}){super({O:a});b&&(a=new O({Ob:ru(this,"text")}),a.Eb(b),this.za(a));c&&this.za(c);y(this,this.ta,()=>ISPlayer.backToApp())}};class RH extends O{constructor({jb:a}){super({O:"title-panel"});this.CO=new QH({label:a.jd("PB_BACK_TO_APP_BUTTON_LABEL")});this.za(this.CO)}};class SH extends PH{constructor(a,b,c,d){super(a,b,c,!1,d,!0);this.tT=new RH({jb:this.Ca});this.za(this.tT);a=ISPlayer;b=a.initWithData;c=hg(new gg,{version:9.3});b.call(a,c)}Ju(a,b){this.Sf("landscape",a>b);super.Ju(a,b)}};class TH extends Vh{constructor({nm:a,messages:b,lk:c}){super();this.Yq=a;this.rd=b;this.pi=new PG;this.RS=qd(document,c);this.Rj=null;this.Vn=K(this);this.mn=K(this);this.hq=K(this);this.LF=K(this)}B(){return this.Yq}};function UH(a){if(Nf)return new SH(a.B(),a.Or,a.rd,a.pr);const b=new PH(a.B(),a.Or,a.rd,a.kO,!0,a.pr,a.pi);y(a,b.Vn,()=>a.Vn.D());y(a,b.mn,()=>a.mn.D());y(a,b.hq,()=>a.hq.D());return b}class VH extends TH{constructor({nm:a,messages:b,lk:c,ME:d,Yl:e,rm:f}){super({nm:a,messages:b,lk:c});this.kO=e;this.Or=new vH(d.BV);this.pr=f}};class WH{constructor({nm:a,skinSettings:b,jb:c}){this.B=a;this.Ar=b;this.Ca=c}nm(){return this.B}skinSettings(){return this.Ar}jb(){return this.Ca}};var XH=function(){function a(){throw Error("stream error");}function b(k){return"undefined"==typeof k}function c(k){var l=0,m=k[l++],p=k[l++];(-1==m||-1==p||8!=(m&15)||0!=((m<<8)+p)%31||p&32)&&a();this.tD=k;this.zo=l;this.ps=this.ss=this.ts=0;this.HD=!1;this.tx=null}var d=[],e=[],f=[],h,g;(function(){var k=[],l,m=2;for(l=0;8>l;++l)k.push(m),m+=1<<(l>>1);for(l=0;3>l;++l)d.push(l+16);for(l=0;7>=l;++l)d.push((8-l)%8),d.push(8+l);for(l=1;3>l;++l)e.push(l);for(l=0;28>l;++l){var p=l>>1<<16;m=l%8;p+=(k[m]<<
(l-m)/2)+1;e.push(p)}for(l=3;7>l;++l)f.push(l);m=7;for(l=0;24>l;++l)k=l>>2,p=(k<<16)+m,m+=1<<k,f.push(p);for(l=0;3>l;++l)f.push(258)})();c.prototype.GD=function(k){var l=this.tx,m=l?l.length:0;if(k<m)return l;for(var p=1024;p<k;)p<<=1;k=Array(p);for(p=0;p<m;++p)k[p]=l[p];return this.tx=k};c.prototype.kV=function(){for(;!this.HD;)this.DW();return this.tx.slice(0,this.ps)};c.prototype.qk=function(k){for(var l=this.ts,m=this.ss,p=this.tD,r=this.zo,t;l<k;)b(t=p[r++])&&a(),m|=t<<l,l+=8;this.ss=m>>k;this.ts=
l-k;this.zo=r;return m&(1<<k)-1};c.prototype.UD=function(k){var l=k[0],m=k[1];k=this.ts;for(var p=this.ss,r=this.tD,t=this.zo;k<m;){var v;b(v=r[t++])&&a();p|=v<<k;k+=8}m=l[p&(1<<m)-1];l=m>>16;m&=65535;(0==k||k<l||0==l)&&a();this.ss=p>>l;this.ts=k-l;this.zo=t;return m};c.prototype.ys=function(k){for(var l=k.length,m=0,p=0;p<l;++p)k[p]>m&&(m=k[p]);for(var r=1<<m,t=Array(r),v=1,z=0,F=2;v<=m;++v,z<<=1,F<<=1)for(var D=0;D<l;++D)if(k[D]==v){var G=0,Q=z;for(p=0;p<v;++p)G=G<<1|Q&1,Q>>=1;for(p=G;p<r;p+=F)t[p]=
v<<16|D;++z}return[t,m]};c.prototype.DW=function(){function k(G,Q,L,M,R){for(G=G.qk(L)+M;0<G--;)Q[z++]=R}var l=this.qk(3);l&1&&(this.HD=!0);l>>=1;if(0==l){var m=this.tD,p=this.zo,r;b(r=m[p++])&&a();var t=r;b(r=m[p++])&&a();t|=r<<8;b(r=m[p++])&&a();l=r;b(r=m[p++])&&a();(l|r<<8)!=(~t&65535)&&a();this.ts=this.ss=0;r=this.ps;l=this.GD(r+t);this.ps=t=r+t;for(var v=r;v<t;++v){if(b(r=m[p++])){this.HD=!0;break}l[v]=r}this.zo=p}else{if(1==l){if(!h){m=Array(288);for(var z=0;143>=z;++z)m[z]=8;for(;255>=z;++z)m[z]=
9;for(;279>=z;++z)m[z]=7;for(;287>=z;++z)m[z]=8;h=this.ys(m);l=Array(31);for(z=0;32>z;++z)l[z]=5;g=this.ys(l);g[0][15]=0;g[0][31]=0}p=h;r=g}else if(2==l){l=this.qk(5)+257;r=this.qk(5)+1;p=this.qk(4)+4;m=Array(d.length);for(z=0;z<p;)m[d[z++]]=this.qk(3);p=this.ys(m);z=m=0;r=l+r;for(t=Array(r);z<r;)v=this.UD(p),16==v?k(this,t,2,3,m):17==v?k(this,t,3,3,m=0):18==v?k(this,t,7,11,m=0):t[z++]=m=v;p=this.ys(t.slice(0,l));r=this.ys(t.slice(l,r))}else a();t=(l=this.tx)?l.length:0;for(v=this.ps;;){var F=this.UD(p);
if(256>F)v+1>=t&&(l=this.GD(v+1),t=l.length),l[v++]=F;else{if(256==F){this.ps=v;break}F-=257;F=f[F];var D=F>>16;0<D&&(D=this.qk(D));m=(F&65535)+D;F=this.UD(r);F=e[F];D=F>>16;0<D&&(D=this.qk(D));F=(F&65535)+D;v+m>=t&&(l=this.GD(v+m),t=l.length);for(D=0;D<m;++D,++v)l[v]=l[v-F]}}}};return c}();function YH(a,b){a=eg(a);a=(new XH(a)).kV();const c=[];let d=0,e,f,h,g=-1;const k=a.length;for(;d<k;)(e=a[d])?128>e?(c[++g]=String.fromCharCode(e),++d):191<e&&224>e?(f=a[d+1],c[++g]=String.fromCharCode((e&31)<<6|f&63),d+=2):(f=a[d+1],h=a[d+2],c[++g]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63),d+=3):++d;b(c.join(""))};function ZH(a,b){for(const c in a)a.hasOwnProperty(c)&&$H(a[c],c,b)}function $H(a,b,c){for(const d in a)a.hasOwnProperty(d)&&(d==c?b=a[c]:"toString"!=d&&$H(a[d],d,c));a.toString=function(){return b}};class aI extends Vh{constructor(){super();this.sn=this.tn=!1;this.Me=0;this.Dq=K(this);this.Fq=K(this);this.XH=K(this)}yd(){return this.tn}progress(){return this.Me}load(){this.tn||this.sn||(this.sn=!0,this.Gd())}Gd(){}BL(){}pX(){if(this.tn||this.sn)this.BL(),this.sn=this.tn=!1,this.Ml(0)}Ml(a){this.Me!=a&&(this.Me=a,this.XH.D(this))}Js(){return this.Dq}Ks(){return this.Fq}JV(){return this.XH}}aI.prototype.loadProgressEvent=aI.prototype.JV;aI.prototype.loadFailedEvent=aI.prototype.Ks;
aI.prototype.loadCompleteEvent=aI.prototype.Js;aI.prototype.unload=aI.prototype.pX;aI.prototype.load=aI.prototype.load;aI.prototype.progress=aI.prototype.progress;aI.prototype.isLoaded=aI.prototype.yd;function bI(a){a.qd&&(a.qd.onload=null,a.qd.onerror=null)}function cI(a){if(!a.yd())throw Error("asset not loaded");}
class dI extends aI{constructor(a,b,c){var d,e,f;super();this.qd=null;var h=a.startsWith("data:")?null:void 0;this.Uq=h=a;this.la=b;this.ha=c}Gd(){this.qd=new Image;this.qd.onload=this.ov.bind(this);this.qd.onerror=this.VQ.bind(this);this.qd.src=this.Uq}ov(){bI(this);this.sn=!1;this.tn=!0;this.Ml(1);this.Dq.D(this)}VQ(){bI(this);this.sn=this.tn=!1;this.Fq.D(this);this.Ml(0)}BL(){this.qd&&(bI(this),this.qd.src="",this.qd=null)}path(){return this.Uq}width(){if(null!=this.la)return this.la;if(!this.qd)return 0;
cI(this);return this.qd.width}height(){if(null!=this.ha)return this.ha;if(!this.qd)return 0;cI(this);return this.qd.height}createInstance(){cI(this);const a=w("canvas");a.width=this.width();a.height=this.height();a.getContext("2d").drawImage(this.qd,0,0);return a}createImgInstance(){cI(this);return this.qd.cloneNode(!0)}}dI.prototype.createImgInstance=dI.prototype.createImgInstance;dI.prototype.createInstance=dI.prototype.createInstance;dI.prototype.height=dI.prototype.height;dI.prototype.width=dI.prototype.width;
dI.prototype.path=dI.prototype.path;class eI extends Vh{constructor(){super();this.un=null;this.vo="";this.gD="_blank";this.eQ=K(this)}logo(){return this.un}Jk(){return this.vo}fF(a){this.vo=a}Ky(){return this.gD}isEqual(a){if(a.Jk()!==this.vo||a.Ky()!==this.gD)return!1;a=a.logo();return this.un||a?!!this.un&&!!a&&this.un.path()===a.path():!0}}eI.prototype.webSiteTarget=eI.prototype.Ky;eI.prototype.webSiteUrl=eI.prototype.Jk;eI.prototype.logo=eI.prototype.logo;class fI{constructor(a){this.vz=a}lk(){return this.vz}};class gI{constructor(a,b){this.DP=a;this.sG=b}};function hI(a,b){const c=a.Da.actions,d=new Oj(iI(a,b));b[c.wm].forEach(e=>{d.JK.push(new Nj(e[c.wm.key],u(e,c.wm.xx,!1),u(e,c.wm.shift,!1)))});return d}
function iI(a,b){a=a.Da.actions.name;switch(b[a]){case a.jW+"":return"playPause";case a.Vx+"":return"nextSlide";case a.sW+"":return"previousSlide";case a.XV+"":return"nextStep";case a.tW+"":return"previousStep";case a.RW+"":return"seekForward";case a.QW+"":return"seekBackward";case a.cV+"":return"firstSlide";case a.GV+"":return"lastSlide";case a.gE+"":return"lastViewedSlide";case a.$W+"":return"slideStart";case a.XW+"":return"slideEnd";case a.vX+"":return"volumeUp";case a.uX+"":return"volumeDown";
case a.iX+"":return"toggleFullscreen";case a.jX+"":return"toggleSubtitles"}throw Error("unknown action type");}class jI{constructor(a){this.Da=a}iE(a,b){a.kb(u(b,this.Da.enabled,!1));const c=a.actions();c.Ma.length=0;a.enabled()&&b[this.Da.actions].forEach(d=>{c.Od(hI(this,d))})}};class kI{type(){return"none"}};class lI{constructor(){this.xJ=this.LG=this.vo=this.YF=this.PH=this.Tg="";this.yJ=this.ij=null}name(){return this.Tg}fE(){return this.PH}rD(){return this.YF}Jk(){return this.vo}fF(a){this.vo=a}email(){return this.LG}phone(){return this.xJ}ph(){return this.ij}UE(a){this.ij=a}Yx(){return this.yJ}}lI.prototype.photo=lI.prototype.Yx;lI.prototype.company=lI.prototype.ph;lI.prototype.phone=lI.prototype.phone;lI.prototype.email=lI.prototype.email;lI.prototype.webSiteUrl=lI.prototype.Jk;
lI.prototype.biography=lI.prototype.rD;lI.prototype.jobTitle=lI.prototype.fE;lI.prototype.name=lI.prototype.name;const mI={NX:"attachment",T0:"webLink"};q("ReferenceType$$module$C_$dev$worker$base$release_9$build$flashspring$flashspring$htmlprojects$src$ispring$presenter$presentation$resources$references$ReferenceType",mI);q("ATTACHMENT","attachment",mI);q("WEB_LINK","webLink",mI);class nI{apply(){}};class oI extends Am{constructor(a,b,c){super();this.ne=a;this.lb=b;this.$J=c}Jb(a,b){this.Ua(this.$J,a,b)}Ye(a,b){this.Ua(!this.$J,a,b)}Ua(a,b){const c=b.tb;if(a)a=new nI,b.jn.set(this.lb,a),c.add(a);else if(a=b.jn.get(this.lb))b=Ia(xm(c),a),0<=b&&c.clear(b)}}class pI extends oI{constructor(a,b){super(a,b,!0)}}class qI extends oI{constructor(a,b){super(a,b,!1)}};class rI extends Em{constructor(a){super();this.$=a}duration(){return this.$}Jb(){}Ye(){}};class sI extends Gm{constructor(a){super();this.Lg=a}duration(){return Fm(this.Lg)}Jb(a,b,c){a=this.Je(a);this.Ua(Mm(),a,b,c)}complete(a,b){this.Yd(Mm(),a,b)}Ye(a,b,c){a=this.Je(a,!0);this.Ua(Jm(),a,b,c)}Ws(a,b){this.Yd(Jm(),a,b)}Ua(a,b,c,d){if(b==this.duration())this.Yd(a,c,d);else{if(!(this.Lg instanceof Em))throw Error("can't run not prolonged action");a.Jb(this.Lg,b,c,d)}}Yd(a,b,c){a.complete(this.Lg,b,c)}};function tI(a){if(!a.Ip)throw Error("BehaviorLoader isn't initialized");return a.Ip}function uI(a){if(!a.Ip)throw Error("BehaviorLoader isn't initialized");return a.Ip.id()}
class vI{constructor(){this.ke=0;this.Ip=null;this.KC=0;this.Da=null}initialize(a,b,c,d){this.Da=a;this.KC=c;this.Ip=b;this.ke=d}N(){if(!this.Da)throw Error("BehaviorLoader isn't initialized");return this.Da}level(){return this.ke}load(a){const b=this.YH(a);let c=this.Gd(a,b);c=this.Ry(c,a,b);b.Be()&&(a=ma(c)+"_rewind",c=new Nm([new pI(uI(this),a),c,new qI(uI(this),a)]));return 0<b.start()?new Nm([new rI(b.start()),c]):c}qK(a){return new sI(a)}YH(a){const b=this.N().timing;return new wI(this.KC,a[b],
b)}Ry(a,b,c){c.QE()&&(a=this.qK(a));return a}}class wI{constructor(a,b,c){this.Rr=a;this.gg=b;this.Da=c}start(){return this.Rr*u(this.gg,this.Da.start,0)}QE(){return u(this.gg,this.Da.QE,!1)}Be(){return u(this.gg,this.Da.Be,!1)}};function xI(a){return eval("("+a+")")}class yI extends vI{YH(a){const b=this.N().timing;return new zI(this.KC,a[b],b)}Ry(a,b,c){super.Ry(a,b,c);if(0<u(c.gg,c.Da.lx,0)||0<u(c.gg,c.Da.zx,0))a.Rl=new Cm(u(c.gg,c.Da.lx,0),u(c.gg,c.Da.zx,0));u(c.gg,c.Da.ms,!1)&&(a=new Nm([a,new sI(a)]));return a}qK(a){const b=new Dm;a.Rl=a.Rl?new Bm([a.Rl,b]):b;return a}Gd(){}}
class zI extends wI{duration(){var a=this.Da;const b=this.start();let c=0;a.end in this.gg&&(c=this.Rr*this.gg[a.end]);a=c-b;u(this.gg,this.Da.ms,!1)&&(a/=2);return a}};function AI(a){var b=a.Je(a.$);return b>=a.$?1:b/a.$}function BI(a,b,c,d){b.tb.add(new Qq(a.ne,c,d))}function CI(a,b,c,d){const e=ma(a),f=b.jn.get(e);f?d=f.value:(a=b.eS.get(a.ne),d=d(a),b.jn.set(e,{value:d,q1:El(c)}));return d}class DI extends Em{constructor(a,b){super();this.ne=a;this.$=b}duration(){return this.$}Jb(a,b,c){const d=this.Je(a);this.Ua(d>=this.$?1:d/this.$,b,c,!1,a==this.$)}Ye(a,b,c){const d=this.Je(a,!0);this.Ua(1-(d>=this.$?1:d/this.$),b,c,!0,a==this.$)}};class EI{constructor(a,b){this.Gl=a;this.dC=b}getTransform(a,b,c,d,e,f){b=this.Bd(b,d,f);this.Gl&&e&&this.dC&&(a=this.Bd(AI(a),d,f),b=b.add(a.jm()));return b}};class FI extends EI{constructor(a,b,c){super(b,c);this.YR=a}Bd(a,b,c){return new bm(this.YR(a),!this.Gl,b,c)}};class GI extends EI{constructor(a,b){super(!0,b);this.fP=a}Bd(a,b,c){return new bm(this.fP*a,!1,b,c)}};class HI extends EI{constructor(a,b,c,d){super(c,d);this.tu=a;this.Mw=b}Bd(a,b,c){return new bm((this.Mw-this.tu)*a+this.tu,!this.Gl,b,c)}};class II{constructor(a,b){this.sP=a;this.Wa=b}getTransform(a,b,c,d,e,f){const h=this.Wa;a=CI(a,c,d,g=>"moveX"==h?nm(g).Ta:om(g).Ta);return null===a?null:new bm((this.sP-a)*b+a,!0,d,f)}};class JI extends DI{constructor(a,b,c,d){super(a,b);this.Wa=c;this.$f=d}Ua(a,b,c,d,e){(a=this.$f.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Wa,a)}};class KI extends yI{constructor(a){super();this.Wa=a}Gd(a,b){const c=this.N();if(c.Ei in a){var d=uI(this),e=b.duration();b=!b.Be();a=new JI(d,e,this.Wa,new GI(a[c.Ei],b))}else if(c.Dx in a){d=uI(this);e=b.duration();var f=xI(a[c.Dx]);b=!b.Be();a=new JI(d,e,this.Wa,new FI(f,u(a,c.iy,!1),b))}else c.from in a?(d=uI(this),e=b.duration(),b=!b.Be(),a=new JI(d,e,this.Wa,new HI(a[c.from],a[c.Wd],u(a,c.iy,!1),b))):(d=uI(this),b=b.duration(),e=this.Wa,a=new JI(d,b,e,new II(a[c.Wd],e)));return a}}
class LI extends KI{constructor(){super("moveX")}}class MI extends KI{constructor(){super("moveY")}};class NI{constructor(a,b){this.Gl=a;this.dC=b}getTransform(a,b,c,d,e,f){b=this.Bd(b,d,f);this.Gl&&e&&this.dC&&(a=this.Bd(AI(a),d,f),b=b.add(a.jm()));return b}};class OI extends NI{constructor(a,b,c){super(b,c);this.yS=a}Bd(a,b,c){return new dm(this.yS(a),!this.Gl,b,c)}};class PI extends NI{constructor(a,b){super(!0,b);this.ua=a}Bd(a,b,c){return new dm((this.ua-1)*a+1,!1,b,c)}};class QI extends NI{constructor(a,b,c,d){super(c,d);this.VF=a;this.Xz=b}Bd(a,b,c){return new dm((this.Xz-this.VF)*a+this.VF,!this.Gl,b,c)}};class RI{constructor(a,b){this.Xz=a;this.Wa=b}getTransform(a,b,c,d,e,f){const h=this.Wa;a=CI(a,c,d,g=>{switch(h){case "scaleX":return pm(g).scale();case "scaleX2":return qm(g).scale();case "scaleY":return rm(g).scale();case "scaleY2":return sm(g).scale()}return null});return null===a?null:new dm((this.Xz-a)*b+a,!0,d,f)}};class SI extends DI{constructor(a,b,c,d){super(a,b);this.Wa=c;this.$f=d}Ua(a,b,c,d,e){(a=this.$f.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Wa,a)}};class TI extends yI{constructor(a){super();this.Wa=a}Gd(a,b){const c=this.N();if(c.Ei in a){var d=uI(this),e=b.duration();b=!b.Be();a=new SI(d,e,this.Wa,new PI(a[c.Ei],b))}else if(c.Dx in a){d=uI(this);e=b.duration();var f=xI(a[c.Dx]);b=!b.Be();a=new SI(d,e,this.Wa,new OI(f,u(a,c.iy,!1),b))}else c.from in a?(d=uI(this),e=b.duration(),b=!b.Be(),a=new SI(d,e,this.Wa,new QI(a[c.from],a[c.Wd],u(a,c.iy,!1),b))):(d=uI(this),b=b.duration(),e=this.Wa,a=new SI(d,b,e,new RI(a[c.Wd],e)));return a}}
class UI extends TI{constructor(){super("scaleX")}}class VI extends TI{constructor(){super("scaleY")}}class WI extends TI{constructor(){super("scaleX2")}}class XI extends TI{constructor(){super("scaleY2")}};class YI extends DI{constructor(a,b,c){super(a,b);this.rP=c}Ua(a,b,c,d,e){if(d=CI(this,b,c,f=>(f=um(f))?"font-size"in f.re?f.re["font-size"]:"":""))a=$l("font-size",(this.rP-d)*a+d,c,e),BI(this,b,"cssTextProperties",a)}};class ZI extends yI{Gd(a,b){const c=this.N();tI(this).UG=!0;return new YI(uI(this),b.duration(),a[c.Wd])}};class $I{constructor(a,b,c,d){this.Kb=a;this.md=b;this.Ij=c;this.eC=d}Bd(a,b,c){return new Yl(new ql(this.Kb,[this.md[0]*a,this.md[1]*a,this.md[2]*a]),this.Ij,!1,b,c)}getTransform(a,b,c,d,e,f){b=this.Bd(b,d,f);e&&this.eC&&(a=this.Bd(AI(a),d,f),b=b.add(a.jm()));return b}};function aJ(a,b,c,d){let e=b[0];const f=a[0];switch(d){case "hsl":e<f&&(e+=360);break;case "hsl_ccw":e>f&&(e-=360)}return[(e-f)*c+f,(b[1]-a[1])*c+a[1],(b[2]-a[2])*c+a[2]]};class bJ{constructor(a,b,c,d){this.Kb=a;this.jT=b;this.Wz=c;this.Ij=d}getTransform(a,b,c,d,e,f){return new Yl(new ql(this.Kb,aJ(this.jT,this.Wz,b,this.Kb)),this.Ij,!0,d,f)}};class cJ{constructor(a,b,c,d){this.Wa=a;this.Kb=b;this.Wz=c;this.Ij=d}getTransform(a,b,c,d,e,f){const h=this.Wa;a=CI(a,c,d,g=>{let k=null;switch(h){case "textColor":k=km(g,"textColor");break;case "strokeColor":k=km(g,"strokeColor");break;case "fillColor":k=km(g,"fillColor");break;case "imgColor":k=km(g,"imgColor")}return k?k.color():null});if(!a)return null;a=a.qb(this.Kb);return new Yl(new ql(this.Kb,aJ(a,this.Wz,b,this.Kb)),this.Ij,!0,d,f)}};class dJ extends DI{constructor(a,b,c,d){super(a,b);this.Wa=c;this.$f=d}Ua(a,b,c,d,e){(a=this.$f.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Wa,a)}};function eJ(a){if(a.fB)return a.fB;const b=[],c=a.duration(),d=a.Ma.length;for(let e=0;e<d;++e){const f=a.Ma[e],h=f instanceof Em?f.duration():0;if(h<c){const g=new Nm;g.Od(f);g.Od(new rI(c-h));b.push(g)}else b.push(f)}return a.fB=b}
class fJ extends Gm{constructor(a){super();this.$=-1;this.fB=null;this.Ma=a||[]}Od(a){if(0<=this.$)throw Error("ParallelActions was already initialized");this.Ma.push(a)}kz(){let a=0;for(let b=0;b<this.Ma.length;++b){const c=Fm(this.Ma[b]);a=Math.max(a,c)}return a}duration(){0>this.$&&(this.$=this.kz());return this.$}Jb(a,b,c){a=this.Je(a);this.Ua(Jm(),a,b,c)}complete(a,b){this.Yd(Jm(),a,b)}Ye(a,b,c){a=this.Je(a,!0);this.Ua(Mm(),a,b,c)}Ws(a,b){this.Yd(Mm(),a,b)}Ua(a,b,c,d){if(b==this.duration())this.Yd(a,
c,d);else{var e=eJ(this),f=c.tb,h=e.length;for(let g=0;g<h;++g)f.push(),a.Jb(e[g],b,c,d),f.pop()}}Yd(a,b,c){const d=eJ(this),e=b.tb,f=d.length;for(let h=0;h<f;++h)e.push(),a.complete(d[h],b,c),e.pop()}};function gJ(a,b){a=a.N().target;switch(b){case a.text+"":return["textColor"];case a.stroke+"":return["strokeColor"];case a.fill+"":return["fillColor","imgColor"];case a.eX+"":return["strokeColor","imgColor"]}throw Error("unknown target");}function hJ(a,b){a=a.N().DU;switch(b[a]){case a.JW+"":return"rgb";case a.xV+"":return"hsl";case a.yV+"":return"hsl_ccw"}throw Error("unknown color space");}
class iJ extends yI{Gd(a,b){var c=this.N();c=gJ(this,a[c.target]);const d=[];for(let p=0;p<c.length;++p){var e=c[p],f=a,h=e,g=this.N();f=new ql(hJ(this,f),f[g.LU]);tI(this).Iz[h]=f;h=d;f=h.push;g=a;var k=b;const r=this.N(),t=u(g,r.PU,!1)?1:0,v=hJ(this,g);if(r.Ei in g){var l=uI(this),m=k.duration();k=!k.Be();e=new dJ(l,m,e,new $I(v,g[r.Ei],t,k))}else r.from in g?(l=uI(this),k=k.duration(),e=new dJ(l,k,e,new bJ(v,g[r.from],g[r.Wd],t))):(l=uI(this),k=k.duration(),e=new dJ(l,k,e,new cJ(e,v,g[r.Wd],t)));
f.call(h,e)}return 1<d.length?new fJ(d):d[0]}};class jJ extends DI{constructor(a,b,c,d){super(a,b);this.xj=c;this.ke=d}Ua(a,b,c,d,e){e||BI(this,b,"filter",new Sp(this.xj,a,this.ke,c,e))}};class kJ extends yI{Gd(a,b){var c=this.N().Wo;var d={};d[c.qU]="blinds";d[c.box]="box";d[c.CU]="circle";d[c.OU]="diamond";d[c.oW]="plus";d[c.AU]="checkerboard";d[c.SU]="dissolve";d[c.BW]="randombar";d[c.oU]="barn";d[c.dX]="strips";d[c.wX]="wedge";d[c.BX]="wipe";d[c.yX]="wheelCw";d[c.xX]="wheelCcw";c=a[c];if(c in d)d=d[c];else throw Error("unknown mask type");c=this.N().Ae;var e=c in a?a[c]:null;if(null===e)a=e;else if(/[^0-9]/.test(e))if(a={},a[c.uV]=1,a[c.vertical]=2,a[c["in"]]=4,a[c.fW]=8,a[c.fV]=
16,a[c.gV]=32,a[c.hV]=64,a[c.iV]=128,a[c.HV]=48,a[c.IV]=160,a[c.KW]=80,a[c.LW]=192,a[c.vV]=5,a[c.wV]=9,a[c.qX]=6,a[c.rX]=10,e in a)a=a[e];else throw Error("unknown mask sub type");else a=parseInt(e,10);a:{a=a||null;for(c=0;c<Fo.length;++c)if(e=Fo[c],e.Wo()==d&&e.Ae()==a){d=e;break a}d=new Eo(d,a);Fo.push(d)}return new jJ(uI(this),b.duration(),d,this.level())}};function lJ(a,b,c,d,e){const f=a.end();a.Mj.push(new mJ(b,f,c,d,e))}
class nJ{constructor(){this.ii=this.SJ=this.TJ=0;this.Mj=[]}moveTo(a){this.Mj.push(new oJ(a))}lineTo(a,b){const c=this.end();this.Mj.push(new pJ(a,c,b))}end(){if(0==this.Mj.length)throw Error("path must be started with moveTo");return this.Mj[this.Mj.length-1].end()}Rs(a){if(0>a||1<a)throw Error("incorrect time");if(1==a)return this.end();let b=0,c=0;a>=this.ii&&(b=this.SJ,c=this.TJ);let d=null;for(;b<this.Mj.length;++b){const e=this.Mj[b],f=c+e.duration();if(f==a){d=e.end();break}if(f>a){d=e.Rs((a-
c)/(f-c));break}c=f}this.ii=a;this.SJ=b;this.TJ=c;return d?d:this.end()}}class qJ{constructor(a){this.$=a}duration(){return this.$}}class oJ extends qJ{constructor(a){super(0);this.Fj=a}end(){return this.Fj}Rs(){}}class pJ extends qJ{constructor(a,b,c){super(a);this.tu=b;this.Mw=c}end(){return this.Mw}Rs(a){const b=this.tu,c=this.Mw;return new Vc((c.x-b.x)*a+b.x,(c.y-b.y)*a+b.y)}}
class mJ extends qJ{constructor(a,b,c,d,e){super(a);this.Uz=e;this.IO=new Bo(b.x,b.y,c.x,c.y,d.x,d.y,e.x,e.y)}end(){return this.Uz}Rs(a){var b=this.IO;if(0==a)var c=b.yt;else if(1==a)c=b.zt;else{c=Uc(b.yt,b.x1,a);var d=Uc(b.x1,b.x2,a),e=Uc(b.x2,b.zt,a);c=Uc(c,d,a);d=Uc(d,e,a);c=Uc(c,d,a)}0==a?a=b.At:1==a?a=b.Bt:(d=Uc(b.At,b.y1,a),e=Uc(b.y1,b.y2,a),b=Uc(b.y2,b.Bt,a),d=Uc(d,e,a),e=Uc(e,b,a),a=Uc(d,e,a));return new Vc(c,a)}};class rJ extends DI{constructor(a,b,c){super(a,b);this.Uq=c}Ua(a,b,c,d,e){a=this.Uq.Rs(a);BI(this,b,"moveX",new bm(a.x,!0,c,e));BI(this,b,"moveY",new bm(a.y,!0,c,e))}};function sJ(a,b){function c(){const g=b.match(/^\s*([m|l|c])/i);return g?(b=b.substr(g[0].length),g[1].toLowerCase()):null}function d(){const g=b.match(/^\s*([-0-9\.]+)/);if(g)return b=b.substr(g[0].length),parseFloat(g[1]);throw Error("incorrect path");}function e(){return new Vc(d()+f,d()+h)}a=tI(a);const f=a.ia().left,h=a.ia().top;b=b.replace(/,/g," ");for(a=new nJ;;){const g=c();if(!g)break;switch(g){case "m":a.moveTo(e());break;case "l":a.lineTo(d(),e());break;case "c":lJ(a,d(),e(),e(),e())}}return a}
class tJ extends yI{Gd(a,b){const c=this.N();return new rJ(uI(this),b.duration(),sJ(this,a[c.path]))}};class uJ{constructor(a,b,c){this.WK=a;this.Vz=b;this.ke=c}getTransform(a,b,c,d,e,f){return new Tp((this.Vz-this.WK)*b+this.WK,this.ke,d,f)}};class vJ{constructor(a,b){this.Vz=a;this.ke=b}getTransform(a,b,c,d,e,f){a=CI(a,c,d,h=>(h=km(h,"filter"))&&h instanceof Tp?h.alpha():1);return null===a?null:new Tp((this.Vz-a)*b+a,this.ke,d,f)}};class wJ extends DI{constructor(a,b,c){super(a,b);this.$f=c}Ua(a,b,c,d,e){(a=this.$f.getTransform(this,a,b,c,d,e))&&BI(this,b,"filter",a)}};class xJ extends yI{Gd(a,b){const c=this.N();if(c.Ei in a)throw uI(this),b.duration(),this.level(),Error("not implemented");if(c.from in a){var d=uI(this);b=b.duration();var e=this.level();a=new wJ(d,b,new uJ(a[c.from],a[c.Wd],e))}else d=uI(this),b=b.duration(),e=this.level(),a=new wJ(d,b,new vJ(a[c.Wd],e));return a}};class yJ{constructor(a,b){this.Hc=a;this.eC=b}Bd(a,b,c){return new cm(this.Hc*a,!1,b,c)}getTransform(a,b,c,d,e,f){b=this.Bd(b,d,f);e&&this.eC&&(a=this.Bd(AI(a),d,f),b=b.add(a.jm()));return b}};class zJ{constructor(a,b){this.YG=a;this.uT=b}getTransform(a,b,c,d,e,f){return new cm((this.uT-this.YG)*b+this.YG,!0,d,f)}};class AJ{constructor(a){this.Hc=a}getTransform(a,b,c,d,e,f){a=CI(a,c,d,h=>lm(h).angle()+mm(h).angle());return null===a?null:new cm((this.Hc-a)*b+a,!0,d,f)}};class BJ extends DI{constructor(a,b,c,d){super(a,b);this.Wa=c;this.$f=d}Ua(a,b,c,d,e){(a=this.$f.getTransform(this,a,b,c,d,e))&&BI(this,b,this.Wa,a)}};class CJ extends yI{Gd(a,b){const c=this.N();if(c.Ei in a){var d=uI(this),e=b.duration();b=!b.Be();a=new BJ(d,e,"rotateBy",new yJ(a[c.Ei]*Math.PI/180,b))}else c.from in a?(d=uI(this),b=b.duration(),a=new BJ(d,b,"rotateTo",new zJ(a[c.from]*Math.PI/180,a[c.Wd]*Math.PI/180))):(d=uI(this),b=b.duration(),a=new BJ(d,b,"rotateTo",new AJ(a[c.Wd]*Math.PI/180)));return a}};class DJ extends Am{constructor(a,b,c,d){super();this.ne=a;this.fS=b;this.gS=c;this.Wa=d?"cssTextProperties":"cssProperties"}Jb(a,b){b=$l(this.fS,this.gS,b,!0);a.tb.add(new Qq(this.ne,this.Wa,b))}Ye(){}};class EJ extends vI{Gd(a){const b=this.N(),c=a[b.wW],d=a[b.EV];if(d){var e=tI(this);Qa(e.Uy,c)||e.Uy.push(c)}else e=tI(this),Qa(e.Ty,c)||e.Ty.push(c);return new DJ(uI(this),c,a[b.Wd],d)}};class FJ{constructor(a,b){this.XK=a;this.Yz=b}getTransform(a,b,c,d,e,f){return new em((this.Yz-this.XK)*b+this.XK,d,f)}};class GJ{constructor(a){this.Yz=a}getTransform(a,b,c,d,e,f){a=CI(a,c,d,h=>tm(h).shift());return null===a?null:new em((this.Yz-a)*b+a,d,f)}};class HJ extends DI{constructor(a,b,c){super(a,b);this.$f=c}Ua(a,b,c,d,e){(a=this.$f.getTransform(this,a,b,c,d,e))&&BI(this,b,"shiftX",a)}};class IJ extends yI{Gd(a,b){const c=this.N();if(c.from in a){var d=uI(this);b=b.duration();a=new HJ(d,b,new FJ(a[c.from],a[c.Wd]))}else d=uI(this),b=b.duration(),a=new HJ(d,b,new GJ(a[c.Wd]));return a}};class JJ extends Am{constructor(a,b){super();this.ne=a;this.Ec=b}Jb(a,b){this.Ua(this.Ec,a,b)}Ye(a,b){this.Ua(!this.Ec,a,b)}Ua(a,b,c){b.tb.add(new Qq(this.ne,"visibility",new im(a,c)))}};class KJ extends vI{Gd(a){const b=this.N();return new JJ(uI(this),a[b.Wd])}};class LJ{constructor(a){this.mb=a;this.rL=[];let b=0;for(let c=0;c<a.length;++c){const d=a[c];b="number"===typeof d?b+d:b+d.duration();this.rL.push(b)}this.$=b}duration(){return this.$}Es(a,b){if(a>this.$)return!1;if(0==a&&b>=this.$)return!0;const c=this.mb.length;for(let d=0;d<c;++d){const e=this.mb[d];let f;if("number"===typeof e)f=e;else if(f=e.duration(),a<=f&&e.Es(a,b))return!0;if(b<f)break;a=Math.max(a-f,0);b-=f}return!1}sF(){return this.rL}};class MJ{constructor(a,b,c,d){this.ne="__mediaTransforms";this.Wa=a;this.Av=b;this.fC=c;this.ke=d}wh(){return this.Av}Jb(a,b){a.tb.add(new Qq(this.ne,this.Wa,new lo(this.Av,this.ke,b)))}};class NJ{constructor(){this.Rr=this.nd=this.oL=0;this.Da=null}initialize(a,b,c,d){this.Da=a;this.Rr=b;this.nd=c;this.oL=d}load(a){const b=this.Da;var c=this.Da;if(a[c.Of]||a[c.Fe]){c=this.Da;const e=a[c.Of]||a[c.Fe];a:{var d=this.Da;switch(a[d.wh]){case d.wh.play+"":d="play";break a;case d.wh.pause+"":d="pause";break a;case d.wh.stop+"":d="stop";break a}throw Error("unknown media operation");}c=new mo(e,d,c.Ce in a?a[c.Ce]:null)}else c=new no;return new MJ(b.Fe in a?"video":"sound",c,a[b.timing][b.timing.start]*
this.Rr+this.nd,this.oL)}};class OJ extends Gm{constructor(a,b,c,d){super();this.Hl=c||0;this.$=a.duration()*b+(b-1)*this.Hl;this.fh=b;this.RH=a;d?(this.Hl-=d.duration()-a.duration(),this.Yy=d):this.Yy=a}duration(){return this.$}Jb(a,b,c){a=this.Je(a);this.Ua(Jm(),a,b,c)}complete(a,b){this.Yd(Jm(),a,b)}Ye(a,b,c){a=this.Je(a,!0);this.Ua(Mm(),a,b,c)}Ws(a,b){this.Yd(Mm(),a,b)}Ua(a,b,c,d){if(b==this.duration())this.Yd(a,c,d);else{var e=this.Yy.duration()+this.Hl,f=Math.floor(b/e);this.Dz=f<this.fh-1?this.Yy:this.RH;b-=f*e;b>=this.Dz.duration()?
a.complete(this.Dz,c,d):a.Jb(this.Dz,b,c,d)}}Yd(a,b,c){a.complete(this.RH,b,c)}};class PJ{constructor(a,b,c,d){this.Lg=a;this.fh=b;this.Hl=c||0;this.uS=d||0;this.$=a.duration()*b+this.Hl*(b-1)}duration(){return this.$}Es(a,b){if(a>this.$)return!1;if(0==a&&b>=this.$)return!0;const c=this.Hl,d=this.Lg.duration();var e=Math.floor(a/(d+c));const f=Math.floor(b/(d+c));if(1<f-e)return!0;for(;e<=f;++e){const h=e*(d+c),g=h+d,k=g+this.uS;if(a<k&&k<=b||a<=g&&b>=h&&this.Lg.Es(Math.max(a-h,0),b-h))return!0}return!1}sF(){return[this.$]}};function QJ(){var a={A:""};a:{for(const b in a){a=b;break a}a=void 0}return a};function RJ(a,b,c){function d(f){if(6!=f.length)throw Error("transform matrix must contain exactly 6 items");return new nl(f[0],f[1],f[2],f[3],f[4],f[5])}function e(f){if(4!=f.length)throw Error("bounding box array must contain exactly 4 items");return new pg(f[0],f[1],f[2],f[3])}a=a.N().nD;b=b.Fm;for(let f=0;f<c.length;++f){const h=c[f];if(!(a.id in h))throw Error("animated object json must contain id property");const g=h[a.id];if(!(a.oh in h))throw Error("animated object json must contain bbox property");
const k=e(h[a.oh]);let l=null;a.hf in h&&(l=d(h[a.hf]));let m=null;a.Qf in h&&(m=d(h[a.Qf]));b.add(new ul(g,k,l,m))}}
function SJ(a,b,c,d,e,f,h){const g=a.N().De;for(let sc=0;sc<f.length;++sc){h.mM(d,sc);var k=h.qx(sc),l=f[sc];if(g.Gf in l){var m=a,p=l,r=k,t=m.N().De,v=p,z=m.N().De,F=z.Gf.timing,D=[];v=v[z.Gf];for(var G=0;G<v.length;++G){var Q=v[G][z.Gf.timing],L=u(Q,F.duration,0),M=u(Q,F.delay,0),R=u(Q,F.ms,!1),C=u(Q,F.repeat,1),ha=u(Q,F.qN,0),Jb=u(Q,F.Be,!1);Q=u(Q,F.rN,0);var pb=L;R&&(pb+=L+2*Q);"number"===typeof C&&1<C&&(pb=pb*C+ha*(C-1));!R&&Jb&&(pb+=Q);pb+=M;D.push(1E3*pb)}z=0<D.length?Math.max.apply(Math,D):
0;p=r?1E3*r.duration():1E3*u(p,t.duration,0);p=z>p?p/(z+.001):1;z>m.kT&&(m.tg=p);m=p;p=new fJ;t=!1;l=l[g.Gf];for(r=0;r<l.length;++r){var rd=l[r];if(u(rd,g.Gf.gF)){z=a;v=d.Kl;M=c;G=e;D=rd;F=m;L=z.N().De.Gf;R=vl(M,D[L.gF]);C=1E3*D[L.timing][L.timing.duration];1===C&&(C=0);C*=F;M=new fJ;M.Od(new rI(C));ha=D[L.$l];for(Jb=0;Jb<ha.length;++Jb){Q=ha[Jb];{pb=Q[L.$l.type];var Xa=L.$l.type;const Pa={};Pa[Xa.rotation]=CJ;Pa[Xa.RV]=LI;Pa[Xa.SV]=MI;Pa[Xa.QV]=tJ;Pa[Xa.Xs]=UI;Pa[Xa.Ys]=VI;Pa[Xa.NW]=WI;Pa[Xa.OW]=
XI;Pa[Xa.opacity]=xJ;Pa[Xa.visibility]=KJ;Pa[Xa.WW]=IJ;Pa[Xa.setProperty]=EJ;Pa[Xa.fontSize]=ZI;Pa[Xa.color]=iJ;Pa[Xa.MV]=kJ;if(pb in Pa)pb=new Pa[pb];else throw Error("unknown behavior");}pb.initialize(L.$l,R,C,G);M.Od(pb.load(Q))}R=M;G=D;D=z.N().De.Gf;z=G[D.gF];D=D.timing;G=G[D];L=1E3*u(G,D.rN,0)*F;M=u(G,D.ms,!1);C=new qo(R.duration());ha=u(G,D.lx,0);Jb=u(G,D.zx,0);if(0<ha||0<Jb)R.Rl=new Cm(ha,Jb);M&&(R=new Nm([R,new rI(2*L),new sI(R)]),C=new LJ([C,2*L,C]));if(ha=u(G,D.repeat,!1))Jb=1E3*u(G,D.qN,
0)*F,"number"===typeof ha&&1<ha&&(R=new OJ(R,ha,Jb,TJ(z,R,L)),C=new PJ(C,ha,Jb,L));!M&&u(G,D.Be,!1)&&(R=TJ(z,R,L),0<L&&(C=new LJ([C,L,new qo(0)])));F*=1E3*u(G,D.delay,0);0<F&&(R=new Nm([new rI(F),R]),C=new LJ([F,C]));v.Od(z,C);p.Od(R)}else{t=b;z=k;F=d;G=e;L=rd;M=m;D=a.N().De.Gf;R=L[D.timing];v=new NJ;v.initialize(D.$l,1E3*R[D.timing.duration]*M,1E3*R[D.timing.delay]*M,G);G=L[D.$l];for(L=0;L<G.length;++L)if(R=G[L],C=v.load(R),F.HC.push(C),F.Kl.Od(C.ne,new LJ([C.fC,new qo(0)])),z&&(M=Ia(t.va().Mr,z),
M=new Hi(t.index(),M,C.fC/1E3),C=C.wh(),C instanceof mo&&(ha=C.Ns(),R=D.$l.Of in R?kj(t.sb(),ha):kj(t.Fb(),ha)))){R=R.tb;switch(C.type()){case "play":ha="play";break;case "pause":ha="togglePlay";break;case "stop":ha="stop";break;default:throw Error("unknown media operation type");}M=new Wi(ha,M,C.Ce());R.tb.push(M)}t=!0}}if(0<p.Ma.length||t)0==p.Ma.length&&(k=rd[g.Gf.timing],p.Od(new rI(1E3*(k[g.Gf.timing.delay]+k[g.Gf.timing.duration])*m))),Xm(d,p)}h.hM(d,sc)}}
function TJ(a,b,c){const d=ma(b)+"_rewind";return b=new Nm([new pI(a,d),b,new rI(c),new qI(a,d)])}
class UJ{constructor(a){this.wd=a;this.tg=1;this.kT=0}load(a,b){var c=this.N();c.nD in b&&RJ(this,a,b[c.nD]);var d=this.N(),e=null;d.kE in b&&d.De in b[d.kE]&&(e=b[d.kE]);var f=e?e[d.De].length:0,h=a.va().count(),g=!1;if(h==f+1)f=a.vn,h=a.va().Za(0),f.Pd(Vm(this.wd,"__step",!0)),Xm(f,new rI(1E3*h.duration())),g=!0;else if(h!==f)throw Error("count of slide animation steps must be equal to steps in mainSequence");e&&SJ(this,a,a.Fm,a.vn,0,e[d.De],new VJ(a,this,g));if(c.dE in b)for(b=b[c.dE],c=0;c<b.length;++c){e=
b[c];d=c+1;h=a;var k=e;g=this.N().dE;f=null;if(g.xN in k){k=k[g.xN];g=Vm(this.wd,k,!0);f=Vm(this.wd,k,!1);var l=k.length;for(let m=0;m<l;++m)h.Pd(k[m])}else if(g.VM in k)g=g.VM,k=k[g],h=g.Of in k?kj(h.sb(),k[g.Of]):kj(h.Fb(),k[g.Fe]),g=k[g.rU],h=Ui(h.Hf(),g),g=Tm(this.wd,h,!0);else throw Error();l=[g,f];f=a;h=a.Fm;g=e;k=l[0];e=l[1];l=this.N();g=g[l.De];k=new WJ(k,this.wd);l=new Ym(this.wd);SJ(this,f,h,l,d,g,k);e&&l.Pd(e);a.HH.push(l)}}N(){const a={nD:{A:"a",id:{A:"i"},oh:{A:"b"},hf:{A:"t"},Qf:{A:"r"}},
kE:{A:"m"},dE:{A:"i",xN:{A:"i"},VM:{A:"m",Of:{A:"s"},Fe:{A:"v"},rU:{A:"b"}}},De:{A:"s",duration:{A:"d"},Gf:{A:"a",gF:{A:"s"},timing:{A:"t",delay:{A:"u"},duration:{A:"d"},lx:{A:"a"},zx:{A:"c"},p1:{A:"b"},ms:{A:"t"},Be:{A:"r"},repeat:{A:"p"},rN:{A:"w"},qN:{A:"l"}},$l:{A:"b",timing:{A:"t",start:{A:"s"},end:{A:"e"},lx:{A:"a"},zx:{A:"c"},Be:{A:"r"},QE:{A:"v"},ms:{A:"t"}},type:{A:"y",rotation:{A:"r"},Xs:{A:"s1"},NW:{A:"s3"},Ys:{A:"s2"},OW:{A:"s4"},WW:{A:"h"},RV:{A:"m1"},SV:{A:"m2"},QV:{A:"m"},opacity:{A:"o"},
visibility:{A:"v"},setProperty:{A:"s"},fontSize:{A:"f"},color:{A:"c"},MV:{A:"k"},media:{A:"d"}},Ei:{A:"b"},from:{A:"f"},Wd:{A:"o"},Dx:{A:"m"},path:{A:"p"},iy:{A:"r"},EV:{A:"i"},wW:{A:"a"},DU:{A:"c",JW:{A:"r"},xV:{A:"h"},yV:{A:"c"}},LU:{A:"d"},target:{A:"g",stroke:{A:"s"},eX:{A:"s2"},fill:{A:"f"},text:{A:"t"}},PU:{A:"h"},Wo:{A:"s",qU:{A:"n"},box:{A:"b"},CU:{A:"c"},OU:{A:"d"},oW:{A:"p"},AU:{A:"h"},SU:{A:"v"},BW:{A:"r"},oU:{A:"a"},dX:{A:"t"},wX:{A:"g"},BX:{A:"w"},yX:{A:"w1"},xX:{A:"w2"}},Ae:{A:"u",uV:{A:"h"},
vertical:{A:"v"},"in":{A:"i"},fW:{A:"o"},fV:{A:"b"},gV:{A:"l"},hV:{A:"r"},iV:{A:"t"},HV:{A:"ld"},IV:{A:"lu"},KW:{A:"rd"},LW:{A:"ru"},vV:{A:"hi"},wV:{A:"ho"},qX:{A:"vi"},rX:{A:"vo"}},wh:{A:"n",play:{A:"p"},pause:{A:"u"},stop:{A:"s"}},Ce:{A:"P"},Of:{A:"S"},Fe:{A:"V"}}}}},b=QJ();ZH(a,b);return a}}
class VJ{constructor(a,b,c){this.X=a;this.cQ=b;this.pP=c}mM(a,b){this.qx(b);b=Vm(this.cQ.wd,"__step",!0);a.Pd(b)}hM(a,b){b=this.qx(b);0<b.JB&&Xm(a,new rI(1E3*b.JB))}qx(a){return this.X.va().Za(a+(this.pP?1:0))}}class WJ{constructor(a,b){this.PC=a;this.HT=b}mM(a){a.Pd(this.PC.clone(this.HT))}hM(){}qx(){return null}};class XJ{constructor(a,b){this.Pe=a;this.kq=b}text(){return this.Pe}Ve(){return this.kq}}XJ.prototype.html=XJ.prototype.Ve;XJ.prototype.text=XJ.prototype.text;class YJ extends dI{url(){return this.Uq}}YJ.prototype.url=YJ.prototype.url;class ZJ extends Vh{constructor(a){super();this.sa=null;this.Ew=K(this);a.then(b=>{this.sa=b}).catch(()=>{this.sa=""}).finally(()=>this.Ew.D())}loaded(){return null!=this.sa}content(){if(null==this.sa)throw Error("subtitles is not loaded");return this.sa}};const $J=new Map,aK=new Map;function bK(a,b,c){cK(a);return new Promise((d,e)=>{const f=document.createElement("script");$J.set(b,h=>{if("string"!=typeof h)throw Error("the data type must be string");d(h);$J.delete(b);aK.delete(f);f.remove()});aK.set(f,()=>{e();$J.delete(b);aK.delete(f);f.remove()});f.type="text/javascript";f.src=c;document.body.append(f)})}function dK(a,b){if($J.has(a))$J.get(a)(b.data);else if(a=document.currentScript){let c;null==(c=aK.get(a))||c()}}
function cK(a){a=`st_${a}`;window[a]||(window[a]=dK)};function eK(a,b,c){const d=a.N();if(d.hc in c){const e=b.hc();c=c[d.hc];if(d.hc.yg in c){const f=b.wC,h=e.yg();fK(a,c[d.hc.yg],(g,k,l,m)=>{h.dM(new Th(f.Hm[g]||null,l,m,k))})}if(d.hc.Fh in c){const f=b.RL,h=e.Fh();fK(a,c[d.hc.Fh],(g,k,l,m)=>{h.fM(new uk(f.Hm[g]||null,l,m,k))})}}}function gK(a,b){a=a.N().ph;const c=new eI;var d=a.logo;const e=b[d];e&&(d=new dI(e[d.Ds],e[d.width],e[d.height]),c.un!=d&&(c.un=d,c.eQ.D()));c.fF(u(b,a.Jk,""));c.gD=u(b,a.Ky,"_blank");return c}
function hK(a,b){switch(a[b.type]){case b.type.wD+"":return new pn("closePlayerWindow");case b.type.gotoNextSlide+"":return new pn("gotoNextSlide");case b.type.gotoSlide+"":return new Ar(a[b.slideIndex])}throw Error("unknown finish action");}function iK(a,b){switch(a[b.type]){case b.type.wD+"":return new un("closePlayerWindow");case b.type.gotoNextSlide+"":return new un("gotoNextSlide");case b.type.gotoSlide+"":return new Dr(a[b.slideIndex])}throw Error("unknown finish action");}
function jK(a,b,c){function d(l){if(6!=l.length)throw Error("transform matrix must contain exactly 6 items");return new nl(l[0],l[1],l[2],l[3],l[4],l[5])}function e(l){return new pg(l[0],l[1],l[2],l[3])}function f(l,m){return new gn(l[m.id],e(l[m.oh]),d(l[m.hf]),d(l[m.Qf]))}function h(l,m){return new og(l[m.top],l[m.right],l[m.bottom],l[m.left])}const g=a.N().slides.YW;if(c[g]){var k=g.hF;Ja(c[g][k],(l,m)=>{const p=new ln(l[k.name]||"",l[k.type],l[k.fX],e(l[k.oh]),m,a.zQ++),r=k.item;l[k.hb]&&(p.hb=
f(l[k.hb],r),p.nM=l[k.hb][k.sV]);Ja(l[k.Hg],t=>{t=f(t,r);p.Hg.push(t)});Ja(l[k.kk]||[],t=>{p.kk.push(new fn(t[k.type],t[k.text],t[k.Xe]))});p.text=l[k.text];p.wk=l[k.wk]||0;p.rotation=l[k.rotation]/180*Math.PI;p.Bg=l[k.Bg];p.Jg=l[k.Jg];p.Xe=l[k.Xe];m=p.Jo;m.line=l[k.line];m.fill=l[k.fill];m.gm=l[k.gm];m.pm=l[k.pm];m.vm=l[k.vm];m.xm=l[k.xm];m.zm=l[k.zm];kn(p);l[k.Pb]&&(p.Pb=h(l[k.Pb],k.Pb));b.Zn.push(p)},a)}}
function kK(a,b,c){function d(f){switch(f[e.action.type]){case e.action.type.YV+"":return new kI;case e.action.type.gotoSlide+"":return new An(f[e.action.slideIndex])}throw Error("unknown branching action");}const e=a.N().slides.Te;e.Oi in c&&qj(b,d(c[e.Oi]));e.fp in c&&rj(b,d(c[e.fp]))}function lK(a,b,c){function d(f){return new al(f[e.link.url],f[e.link.target])}const e=a.N().settings.Bm;Yk(b,e.wy in c?d(c[e.wy]):null);Zk(b,e.ey in c?d(c[e.ey]):null)}
function mK(a,b,c){function d(e){return e?new Qk(new Date(1E3*e)):null}a=a.N().settings.gp;a.password in c&&(b.GB=c[a.password]);if(a.tp in c){const e=c[a.tp];Wk(b,new Uk(d(e[a.tp.QU]),d(e[a.tp.RU])))}a.Cx in c&&(b.CG=c[a.Cx])}function nK(a,b){if(!a)return 1;if("number"===typeof a)return a;switch(a){case b.repeat.MN+"":return"untilNextClick";case b.repeat.NN+"":return"untilNextSlide";case b.repeat.ON+"":return"untilNextSound"}return 1}
function oK(a,b,c){if(c.Hf in b){b=b[c.Hf];for(let e=0;e<b.length;++e){var d=b[e];d=new Ti(d[c.Hf.name],d[c.Hf.time]);a.Hf().add(d)}}}function pK(a,b,c,d){let e=0,f=0,h=b.match(/width="(\d+(?:\.\d+)?(?:px)?)"/);h&&(e=parseInt(h[1],10));(h=b.match(/height="(\d+(?:\.\d+)?(?:px)?)"/))&&(f=parseInt(h[1],10));return new Sj(a,b,e,f,c,d)}function qK(a,b,c){const d=[];Ja(b,e=>{d.push(a.wC.Hm[e]||null)});return new Ni(d,c)}
function fK(a,b,c){const d=a.N().hc.track;for(let f=0;f<b.length;++f){var e=b[f];const h=e[d.Ns],g=u(e,d.volume,1),k=rK(a,e[d.startTimestamp]);e=rK(a,e[d.endTimestamp]);c(h,g,k,e)}}function rK(a,b){a=a.N().hc.track.timestamp;return new Hi(b[a.slideIndex],b[a.stepIndex],b[a.timeOffset])}
class sK{constructor(a){this.Da=a;this.zQ=0}N(){return this.Da}load(a){if(!a)throw Error("presentation json can't be null");const b=this.N(),c=new ml(a[b.id]);b.title in a&&c.dF(a[b.title]);b.courseTitle in a&&c.TW(a[b.courseTitle]);if(!(b.slideWidth in a&&b.slideHeight in a))throw Error("presentation json doesn't contain 'slideWidth' or/and 'slideHeight' parameters");c.Yc=a[b.slideWidth];c.Xc=a[b.slideHeight];if(b.om in a){var d=a[b.om];const A=this.N().om,aa=c.om();for(let V=0;V<d.length;++V){const wa=
d[V],db=new lI;db.Tg=u(wa,A.name,"");db.PH=u(wa,A.fE,"");db.YF=u(wa,A.rD,"");db.fF(u(wa,A.Jk,""));db.LG=u(wa,A.email,"");db.xJ=u(wa,A.phone,"");wa[A.ph]&&db.UE(gK(this,wa[A.ph]));if(A.Yx in wa){const H=A.Yx,na=wa[H];var e=new dI(na[H.Ds],na[H.width],na[H.height]);db.yJ=e}aa.iU(db)}}const f=this.N(),h=c.uniqueId(),g=c.wC;if(f.sb in a){const A=a[f.sb];for(let aa=0;aa<A.length;++aa){const V=A[aa],wa=V[f.sb.id];var k=V[f.sb.Ve],l=V[f.sb.wc];var m=l?new ZJ(bK(h,wa,l)):null;var p=new Ph(wa,"",k,m);g.Hm[p.id()]=
p}}const r=c.RL;if(f.Fb in a){const A=a[f.Fb];for(let aa=0;aa<A.length;++aa){const V=A[aa],wa=V[f.Fb.id];var t=V[f.Fb.Ve],v=V[f.Fb.wc];var z=v?new ZJ(bK(h,wa,v)):null;var F=pK(wa,t,z,V[f.Fb.poster]);r.Hm[F.id()]=F}}const D=this.N();if(D.lm in a){const A=a[D.lm];for(let aa=0;aa<A.length;++aa){const V=A[aa],wa=qK(c,V[D.lm.sb],V[D.lm.loop]);c.lm().push(wa)}}eK(this,c,a);if(!(b.slides in a))throw Error("presentation json doesn't contain 'slides' parameter");var G=a[b.slides];const Q=G.length;if(!Q)throw Error("presentation must contain at least one slide");
const L=[];for(var M=0;M<Q;++M){var R=c,C=G[M],ha=M;const A=this.N().slides,aa=C[A.kt]||A.kt.slide+"";if(aa==A.kt.slide+""){const H=new on;H.Nk=u(C,A.kU,!1);H.Hp=u(C,A.hs,!0);if(A.lk in C)H.Bc=new fI(C[A.lk]);else if(A.vM in C&&A.src in C){const oa=wh()&&C.hasOwnProperty(A.zN)?A.zN:A.src;H.Bc=new gI(C[oa],C[A.vM])}else throw Error("slide json must contain either contentId or css+src parameters");var Jb=H,pb=C;const na=this.N().slides;na.LM in pb&&(Jb.rH=pb[na.LM].concat());var rd=H,Xa=C;const ka=
this.N().slides;if(ka.sb in Xa){var sc=rd.sb(),Pa=Xa[ka.sb];const oa=this.N().slides.sb;for(let xb=0;xb<Pa.length;++xb){const ra=Pa[xb],Ca=new hj(ra[oa.id],new Ph(ra[oa.ik],ra[oa.ik],"",null),u(ra,oa.duration,0));Ca.fh=nK(u(ra,oa.repeat,1),oa);Ca.wf=u(ra,oa.slides,0)-1;Ca.setVolume(u(ra,oa.volume,1));Ca.pn=u(ra,oa.effect,!1);oK(Ca,ra,oa);sc.add(Ca)}}if(ka.Fb in Xa){var Ei=rd.Fb(),Fi=Xa[ka.Fb];const oa=this.N().slides.Fb;for(let xb=0;xb<Fi.length;++xb){const ra=Fi[xb],Ca=pK(ra[oa.ik],ra[oa.Ve],null),
Sa=new Tj(ra[oa.id],Ca,u(ra,oa.duration,0),ra[oa.ik]);Sa.fh=nK(u(ra,oa.repeat,1),oa);Sa.mH=ra[oa.aE];Sa.rK=ra[oa.my];Sa.CJ=ra[oa.zE];Sa.wf=u(ra,oa.slides,0)-1;Sa.setVolume(u(ra,oa.volume,1));oK(Sa,ra,oa);Ei.add(Sa)}}var Op=H,Al=C;const Da=this.N().slides,Ic=Op.xt(),Kb=Da.xt;if(Kb in Al){const oa=Al[Kb],xb=oa.length;for(let ra=0;ra<xb;++ra){const Ca=oa[ra],Sa=new Cl(Ca[Kb.containerId],Ca[Kb.url]);Sa.Fg(Ca[Kb.width]);Sa.Ui(Ca[Kb.height]);Sa.setTimeout(Ca[Kb.timeout]);Sa.kp(Ca[Kb.SD]);Sa.AG=Ca[Kb.us];
Ic.add(Sa)}}var Pp=H,Bl=C;const Wd=this.N().slides,IL=Pp.Vp,Ce=Wd.FX;if(Ce in Bl){const oa=Bl[Ce],xb=oa.length;for(let ra=0;ra<xb;++ra){const Ca=oa[ra],Sa=new wt(Ca[Ce.containerId],Ca[Ce.Fe]);Sa.Fg(Ca[Ce.width]);Sa.Ui(Ca[Ce.height]);Ce.timeOffset in Ca&&(Sa.Re=Math.max(0,Ca[Ce.timeOffset]));IL.add(Sa)}}jK(this,H,C);var JL=H,dA=C;const KL=this.N().slides,LL=JL.Vp,Xd=KL.EX;if(Xd in dA){const oa=dA[Xd],xb=oa.length;for(let ra=0;ra<xb;++ra){const Ca=oa[ra],Sa=new ut(Ca[Xd.containerId],Ca[Xd.Fe],Ca[Xd.clientId]);
Sa.Fg(Ca[Xd.width]);Sa.Ui(Ca[Xd.height]);Xd.timeOffset in Ca&&(Sa.Re=Math.max(0,Ca[Xd.timeOffset]));LL.add(Sa)}}if(A.OD in C){var ML=H.Tz,eA=C[A.OD];const oa=this.N().slides.OD;for(let xb=0;xb<eA.length;++xb){const ra=eA[xb];ML.Xp.push(new xl(ra[oa.containerId],ra[oa.url],ra[oa.width],ra[oa.height],ra[oa.timeOffset],ra[oa.bgColor],u(ra,oa.KN,!1)))}}var fA=H}else{if(aa==A.kt.quiz+""){const H=new sn;H.Nk=!1;H.Hp=!1;H.Xy=C[A.yW];H.gt(C[A.Ri]);const na=A.zW,ka=C[na];H.Jt=ka[na.ks];H.mK=ka[na.NE];var gA=
H,NL=gA.eF;a:{const Wd=na.mD;switch(ka[Wd]){case Wd.pD+"":var Gq="atAnyTime";break a;case Wd.jD+"":Gq="afterAttempt";break a;case Wd.kD+"":Gq="afterPassing";break a}throw Error("unknown quiz next slide rule");}NL.call(gA,Gq);const Da=na.ND,Ic=ka[Da];var OL=hK(Ic[Da.km],Da.km);H.Fv=OL;var PL=hK(Ic[Da.MD],Da.km);H.pu=PL;H.Bc=new gI(C[A.src]);const Kb=A.AW;if(C.hasOwnProperty(Kb)){var hA=C[Kb];H.tL!=hA&&(H.tL=hA)}var iA=H}else{if(aa==A.kt.scenario+""){{const H=new zn;H.Nk=!1;H.Hp=!1;H.gt(C[A.Ri]);H.Bc=
new gI(C[A.src]);const na=A.PW,ka=C[na];if(ka){H.Kt=ka[na.ls];var jA=H,QL=jA.eF;b:{const Da=na.mD;switch(ka[Da]){case Da.pD+"":var Hq="atAnyTime";break b;case Da.jD+"":Hq="afterAttempt";break b;case Da.kD+"":Hq="afterPassing";break b}throw Error("unknown scenario next slide rule");}QL.call(jA,Hq);var Qi=na.ND,kA=ka[Qi],RL=iK(kA[Qi.km],Qi.km);H.Gv=RL;var SL=iK(kA[Qi.MD],Qi.km);H.qu=SL}var lA=H}}else{const H=new ek;H.Nk=!1;H.Hp=!1;H.Bc=new gI(C[A.src]);H.LP=C[A.cE];H.gt(C[A.Ri]);const na=A.CV,ka=C[na];
H.YE(ka[na.navigationType]);H.It=ka[na.js];lA=H}iA=lA}fA=iA}var Ra=fA;const V=C[A.pU];if(void 0!==V){var TL=R.lm()[V];Ra.Kp=TL}Ra.vN(C[A.id]);Ra.Rg=ha;Ra.dF(u(C,A.title,""));Ra.pa(u(C,A.visible,!0));Ra.bB=u(C,A.nestingLevel,0);Ra.Pe=u(C,A.text,"");Ra.BQ=new XJ(u(C,A.ZV,""),u(C,A.zV,""));if(A.De in C){var UL=Ra.va(),Iq=C[A.De],VL=Ra.zg();const H=this.N().slides.De;for(let na=0;na<Iq.length;++na){const ka=Iq[na];if(!(H.jN in ka))throw Error("animation step json must contain playTime parameter");const Da=
H.iN in ka?ka[H.iN]:void 0;UL.add(new mj(ka[H.jN],Da,(na!=Iq.length-1||VL)&&void 0!==Da))}}if(Ra instanceof on&&A.timeline in C){const H=new UJ(Ra.wd);H.load(Ra,C[A.timeline]);var Jq=H.tg;Ra.Tz.Eg(Jq);Ra.Vp.Eg(Jq);Ra.xt().Eg(Jq)}if(A.transition in C){var of=C[A.transition];const H=this.N().slides.transition;if(!(H.type in of&&H.duration in of))throw Error("Transition type or duration not specified");var mA=of[H.type];tK||(tK={a:"Cut",b:"CutThroughBlack",c:"RandomTransition",d:"BlindsHorizontal",e:"BlindsVertical",
f:"CheckerboardAcross",g:"CheckerboardDown",h:"CoverLeft",i:"CoverUp",j:"CoverRight",k:"CoverDown",l:"CoverLeftUp",m:"CoverRightUp",n:"CoverLeftDown",o:"CoverRightDown",p:"Dissolve",q:"FadeThroughBlack",r:"UncoverLeft",s:"UncoverUp",t:"UncoverRight",u:"UncoverDown",v:"UncoverLeftUp",w:"UncoverRightUp",x:"UncoverLeftDown",y:"UncoverRightDown",z:"RandomBarsHorizontal",aa:"RandomBarsVertical",ab:"StripsLeftUp",ac:"StripsRightUp",ad:"StripsLeftDown",ae:"StripsRightDown",af:"WipeLeft",ag:"WipeUp",ah:"WipeRight",
ai:"WipeDown",aj:"BoxOut",ak:"BoxIn",al:"SplitHorizontalOut",am:"SplitHorizontalIn",an:"SplitVerticalOut",ao:"SplitVerticalIn",ap:"ShapeCircle",aq:"ShapeDiamond",ar:"CombHorizontal",as:"CombVertical",at:"FadeSmoothly",au:"Newsflash",av:"ShapePlus",aw:"PushDown",ax:"PushLeft",ay:"PushRight",az:"PushUp",ba:"Wedge",bb:"Wheel1Spoke",bc:"Wheel2Spokes",bd:"Wheel3Spokes",be:"Wheel4Spokes",bf:"Wheel8Spokes",bg:"WheelReverse1Spoke",bh:"VortexLeft",bi:"VortexUp",bj:"VortexRight",bk:"VortexDown",bl:"RippleCenter",
bm:"RippleRightUp",bn:"RippleLeftUp",bo:"RippleLeftDown",bp:"RippleRightDown",bq:"GlitterDiamondLeft",br:"GlitterDiamondUp",bs:"GlitterDiamondRight",bt:"GlitterDiamondDown",bu:"GlitterHexagonLeft",bv:"GlitterHexagonUp",bw:"GlitterHexagonRight",bx:"GlitterHexagonDown",by:"GalleryLeft",bz:"GalleryRight",ca:"ConveyorLeft",cb:"ConveyorRight",cc:"DoorsVertical",cd:"DoorsHorizontal",ce:"WindowVertical",cf:"WindowHorizontal",cg:"WarpIn",ch:"WarpOut",ci:"FlyThroughIn",cj:"FlyThroughOut",ck:"FlyThroughInBounce",
cl:"FlyThroughOutBounce",cm:"RevealSmoothLeft",cn:"RevealSmoothRight",co:"RevealBlackLeft",cp:"RevealBlackRight",cq:"Honeycomb",cr:"FerrisWheelLeft",cs:"FerrisWheelRight",ct:"SwitchLeft",cu:"SwitchUp",cv:"SwitchRight",cw:"SwitchDown",cx:"FlipLeft",cy:"FlipUp",cz:"FlipRight",da:"FlipDown",db:"Flashbulb",dc:"ShredStripsIn",dd:"ShredStripsOut",de:"ShredRectangleIn",df:"ShredRectangleOut",dg:"CubeLeft",dh:"CubeUp",di:"CubeRight",dj:"CubeDown",dk:"RotateLeft",dl:"RotateUp",dm:"RotateRight",dn:"RotateDown",
"do":"BoxLeft",dp:"BoxUp",dq:"BoxRight",dr:"BoxDown",ds:"OrbitLeft",dt:"OrbitUp",du:"OrbitRight",dv:"OrbitDown",dw:"PanLeft",dx:"PanUp",dy:"PanRight",dz:"PanDown",ea:"FallOverLeft",eb:"FallOverRight",ec:"DrapeLeft",ed:"DrapeRight",ee:"Curtains",ef:"WindLeft",eg:"WindRight",eh:"Prestige",ei:"Fracture",ej:"Crush",ek:"PeelOffLeft",el:"PeelOffRight",em:"PageCurlSingleLeft",en:"PageCurlSingleRight",eo:"PageCurlDoubleLeft",ep:"PageCurlDoubleRight",eq:"AirplaneLeft",er:"AirplaneRight",es:"OrigamiLeft",et:"OrigamiRight",
mo:"MorphByObject",mw:"MorphByWord",mc:"MorphByChar"});const na=tK[mA]||mA;let ka=null,Da=!1;if(H.Of in of&&""!=of[H.Of]){const Ic=of[H.Of];"-"==Ic?Da=!0:ka=kj(Ra.sb(),Ic)}var WL=new uj(na||"null",of[H.duration],ka,Da);Ra.gd=WL}else Ra.gd=new uj("null",0);const wa=this.N().slides;if(wa.Fy in C){const H=wa.Fy,na=C[H];var XL=new YJ(na[H.Ds],na[H.width],na[H.height]);Ra.lL=XL}if(A.hm in C){var YL=Ra.hm(),nA=C[A.hm];const H=this.N().slides.hm;for(let na=0;na<nA.length;++na){const ka=nA[na];let Da=null;
if(H.params in ka){const Ic=ka[H.params];Da={};for(let Kb=0;Kb<Ic.length;++Kb){const Wd=Ic[Kb];Da[Wd[H.params.name]]=Wd[H.params.value]}}YL.tb.push(new oj(ka[H.name],Da))}}const db=C[A.rW];if(null!==db){const H=R.om().HM(db);Ra.QJ=H}A.Te in C&&kK(this,Ra.Te(),C[A.Te]);if(A.im in C){var ZL=Ra.im(),$L=C[A.im];const H=this.N().slides.im,na=u($L,H.lock,!1),ka=yv();for(let Da=0;Da<ka.length;++Da)ZL.sI[ka[Da]]=!na}if(A.Tf in C){var aM=Ra.Tf(),oA=C[A.Tf];const H=this.N().slides.Tf;for(let na=0;na<oA.length;++na){const ka=
oA[na],Da=u(ka,H.oh,[]),Ic=new vj({id:u(ka,H.id),Bk:u(ka,H.Bk,!1),Dh:u(ka,H.Dh,!1),tF:u(ka,H.tF),oh:new pg(Da[0],Da[1],Da[2],Da[3]),Bg:u(ka,H.Bg,!1),Jg:u(ka,H.Jg,!1),rotation:u(ka,H.rotation,0),slides:u(ka,H.slides,[]),sp:u(ka,H.sp)});aM.He.push(Ic)}}L.push(Ra)}const pA=L.length;let qA=!1;for(var pf=0;pf<pA;++pf)if(L[pf].visible()){qA=!0;break}if(!qA)for(pf=0;pf<pA;++pf)L[pf].pa(!0);let Lq=-1;for(let A=0;A<L.length;++A){const aa=L[A];if(aa.visible()){let V=aa.nestingLevel();2<=V-Lq&&(V=Lq+1);Lq=aa.bB=
V}}const bM=c.slides();for(M=0;M<L.length;++M)Cj(bM,L[M]);a:{for(var Ig=0;Ig<c.slides().count();++Ig){const V=c.slides().getSlide(0).Te();if(V.Oi()||V.fp())break a}const A=this.N(),aa=c.wG;if(A.Ay in a){const V=a[A.Ay];for(Ig=0;Ig<V.length;++Ig){const wa=V[Ig],db=new il(c.slides(),wa[A.Ay.name],wa[A.Ay.slides]);aa.add(db)}}if(A.Sx in a){const V=jl(aa,a[A.Sx]);c.me=V}}if(b.ns in a){var Yc=a[b.ns];const A=this.N().ns;c.Qt=new pk({content:Yc[A.content],contentHover:Yc[A.contentHover],url:Yc[A.url],width:Yc[A.width],
height:Yc[A.height],up:Yc[A.up],language:Yc[A.language],Co:Yc[A.Co],Bo:Yc[A.Bo],Do:Yc[A.Do],Eo:Yc[A.Eo]})}if(b.wt in a){var Yd=a[b.wt];const A=this.N().wt,aa=new ll(Yd[A.src],new pg(Yd[A.left],Yd[A.top],Yd[A.width],Yd[A.height]));aa.Nf(Yd[A.opacity]);A.url in Yd&&(aa.xe=Yd[A.url],aa.vg=Yd[A.target]);c.zi=aa}if(b.settings in a){var qf=c.settings(),Jc=a[b.settings];const A=this.N().settings;if(Jc[A.navigation]){var Mq=qf.navigation(),Jg=Jc[A.navigation];const aa=this.N().settings.navigation;if(aa.vh in
Jg){var rA=Mq.vh(),Vl=Jg[aa.vh];const V=this.N().settings.navigation.vh;V.enabled in Vl&&rA.kb(Vl[V.enabled]);let wa="bySteps";if(V.target in Vl)switch(Vl[V.target]){case V.target.step+"":wa="bySteps";break;case V.target.slide+"":wa="bySlides"}rA.zj=wa}Jg[aa.keyboard]&&(new jI(aa.keyboard)).iE(Mq.keyboard(),Jg[aa.keyboard]);if(aa.Ko in Jg){var cM=Mq.Ko(),dM=Jg[aa.Ko];const V=this.N().settings.navigation.Ko;cM.bM=u(dM,V.zF,!0)}}if(Jc[A.playback]){const aa=Jc[A.playback];var Kg=qf.playback(),Wl=aa;
const V=this.N().settings.playback;Kg.UW(u(Wl,V.uh,!1));Kg.qy(u(Wl,V.Fc,!1));Kg.iw=u(Wl,V.RE,!1);switch(u(Wl,V.resume)){case V.resume.prompt+"":Kg.Pn="prompt";break;case V.resume.lU+"":Kg.Pn="always";break;case V.resume.VV+"":Kg.Pn="never"}if(aa[A.playback.navigationType]){var sA=qf.navigation(),eM=sA.YE,fM=aa[A.playback.navigationType];const wa=this.N().settings.playback.navigationType;let db="free";switch(fM){case wa.HW+"":db="restricted";break;case wa.SW+"":db="sequential"}eM.call(sA,db)}}if(A.hk in
Jc){var gM=qf.hk(),hM=Jc[A.hk];const aa=this.N().settings.hk;gM.bA=u(hM,aa.fitToWindow,!0)}A.Bm in Jc&&lK(this,qf.Bm(),Jc[A.Bm]);A.gp in Jc&&mK(this,qf.gp(),Jc[A.gp]);if(A.Xl in Jc){var iM=qf.Xl(),tA=Jc[A.Xl];const aa=this.N().settings.Xl;aa.enabled in tA&&iM.kb(tA[aa.enabled])}}b.skinSettings in a&&(c.settings().Ar=a[b.skinSettings]);b.jb in a&&c.settings().VE(a[b.jb]);if(!(b.tM in a))throw Error("presentation json doesn't contain 'coreContainerId' parameter");c.settings().Tj=a[b.tM];if(b.fonts in
a){var uA=a[b.fonts];const A=this.N().fonts;for(let aa=0;aa<uA.length;++aa){const V=uA[aa],wa=V[A.name],db=V[A.zX],H=V[A.yF],na=(Ob||mf)&&rf;yp[wa]=new Ap(db+H,H,df||na?.5*(db+V[A.MU]-V[A.mU]-H):0,u(V,A.bold,!1),u(V,A.italic,!1));const ka=new qk(wa,V[A.localName],V[A.urls]);c.VG.push(ka)}}a[b.ph]&&c.UE(gK(this,a[b.ph]));const vA=this.N();if(vA.hp in a){var jM=c.resources().hp(),wA=a[vA.hp];const A=this.N().hp;for(let aa=0;aa<wA.length;++aa){const V=wA[aa];a:{switch(V[A.type]){case A.type.nU+"":var xA=
"attachment";break a;case A.type.EW+"":xA="webLink";break a}throw Error("unknown reference type");}jM.Nn.push(new yk(xA,V[A.title],V[A.url],V[A.target]))}}return c}}var tK;function uK(a,b,c){mf&&(this.ve=vd("DIV"),Hn(this.ve,"tap_area"));vu.call(this,b);this.ve&&this.za(this.ve);this.Qw=!0;this.RP=c?!0:!1;c&&this.Ze(!1);a&&this.ta.addHandler(this.HQ,this);mf&&(a=this.Ka(),Hn(a,"mobile"));this.it(0);this.Ka().setAttribute("tabindex","-1");this.Ht()}va(uK,vu);n=uK.prototype;n.lC=!1;n.Ra=!0;n.qG=function(a){a=vd("BUTTON",a);Fb&&8>=Ub||(a.type="button");return a};n.selected=function(){return this.lC};
n.tm=function(a){if(a){var b=this.Ka();Hn(b,"selected")}else b=this.Ka(),In(b,"selected");this.RP&&this.Ze(a);this.lC=a};n.enabled=function(){return this.Ra};n.kb=function(a){uK.xc.kb.call(this,a);const b=this.Ka();b.disabled=a?"":"disabled";if(a){var c=this.displayObject();In(c,"disabled")}else c=this.displayObject(),Hn(c,"disabled");!a&&b.blur&&b.blur();this.Ra=a};n.Ze=function(a){this.Ka().setAttribute("aria-pressed",a)};n.HQ=function(){this.tm(!this.lC)};
n.Ne=function(a){uK.xc.Ne.call(this,a);-1==this.Yk&&this.Ka().blur()};n.rp=function(){return uK.xc.rp.call(this)};n.lj=function(a){this.enabled()&&uK.xc.lj.call(this,a)};n.Ck=function(a){this.Qw=!1;uK.xc.Ck.call(this,a);this.Qw=!0};class vK extends xu{constructor(a,b,c,d){super("info_panel "+a);this.kv=c;a=lf();this.ua=Math.max(1,Math.min(a.width,a.height)/420);a=new xu("message");a.Eb(b);this.za(a);b=this.displayObject();document.body.appendChild(b);this.kv&&(this.$h=new uK(!1,"ok"),this.$h.Eb(d),d=this.$h.displayObject(),document.body.appendChild(d));ih(this.displayObject(),"0 0");Pn(this.displayObject(),this.ua);this.kv&&(ih(this.$h.displayObject(),"0 100%"),Pn(this.$h.displayObject(),this.ua));this.Nd();me(window,"resize",
this.Nd,!1,this)}ze(){Bd(this.displayObject());this.kv&&Bd(this.$h.displayObject());ue(window,"resize",this.Nd,!1,this)}Nd(){var a=document.documentElement.clientWidth/this.ua;let b=document.documentElement.clientHeight/this.ua;this.Fg(a);this.kv&&this.$h.Fg(a);uf&&(b+=2);a=b+"px";E(this.displayObject(),"min-height",a)}};class wK extends O{constructor(a){super({O:a});a=this.displayObject();document.body.appendChild(a);this.Nd();x(this,window,"resize",this.Nd,this)}Nd(){var a=document.documentElement.clientWidth,b=document.documentElement.clientHeight;const c=Math.min(1,(document.documentElement.clientWidth-20)/this.width());Pn(this.displayObject(),c);ih(this.displayObject(),"0 0");a=Math.max(10,Math.round((a-this.width()*c)/2));b=Math.max(0,Math.round((b-this.height()*c)/2));this.move(a,b)}od(){super.od();Bd(this.displayObject())}}
;class xK extends wK{constructor(a,b){super("info_panel");qu(this,b);b=new O({O:"label"});b.Eb(a);b.zh("alert");b.Gc("live","assertive");pu(this,b)}};class yK extends xu{constructor(a){super(a,"input");this.Ka().type="password"}value(){return this.Ka().value}};function zK(a,b,c,d=!0){a=new O({nh:a,O:b});a.Eb(c);a.pa(d);return a}function AK(a){x(a,a.gi.Ka(),"input",()=>{a.$F.kb(!!a.gi.value())});x(a,a.gi.Ka(),"keypress",b=>{13==b.keyCode&&a.vv()})}
class BK extends wK{constructor(a,b,c,d){super("password_form");this.zh("dialog");this.setAttribute("tabindex","-1");this.vv=this.vv.bind(this,d);this.NA=zK("LABEL","password_label",a);pu(this,this.NA);this.gi=new yK("password_field");pu(this,this.gi);this.Su=zK("DIV","wrong_password_label",b,!1);pu(this,this.Su);this.$F=this.eu("btn_ok",c,this.vv);pu(this,this.$F);a=kd();b=kd();this.NA.setAttribute("id",a);this.NA.setAttribute("for",b);this.gi.setAttribute("id",b);this.gi.Gc("labelledby",a);this.gi.Gc("required",
!0);this.Su.zh("alert");this.Su.Gc("live","assertive");AK(this);mf||this.gi.displayObject().focus()}eu(a,b,c){a=new WD({O:a});a.Eb(b);a.kb(!1);y(this,a.ta,c,this);return a}vv(...a){a=a[0];const b=this.gi.value();b&&(a(b),this.Su.pa(!0))}};class CK extends vK{constructor(a,b,c,d){super("password",a,!0,c);a=new xu("password_field");this.za(a);this.$h.kb(!1);const e=new yK("");a.za(e);const f=new xu("wrong_password_label");f.Eb(b);f.pa(!1);this.za(f);const h=()=>{const g=e.value();g&&(d(g),f.pa(!0))};me(e.Ka(),"input",()=>{this.$h.kb(!!e.value())},!1,this);me(e.Ka(),"keypress",g=>{13==g.keyCode&&h()},!1,this);this.$h.ta.addHandler(h,this)}};class DK extends Jv{zk(){super.zk();E(this.background(),"display","none");E(this.content(),"display","none")}};function EK(a){const b=Object.assign({},a),c={};for(const d in b)"object"==typeof b[d]&&(b[d]=EK(b[d]),a=b[d],a._d&&(c[a._d]=a));b.toString=()=>b._;b.v1=d=>c[d];return b};const FK={type:"t",id:"i",url:"u",target:"g",Zs:"S",yy:"s",zy:"n",uy:"r"};var GK={hF:{_:"s",text:{_:"t"},qF:{_:"f",gW:{_:"p",Ce:"s",length:"l",fm:"b",oy:{_:"r",Ce:"s",length:"l",bold:"b",italic:"i",oX:"u",Ro:Object.assign({_:"h"},FK)}}},jM:{_:"a"},Ro:Object.assign({_:"h"},FK),wN:{_:"b"},Of:{_:"s"},Fe:{_:"v"},FV:{_:"T"}}};const HK={};for(const a in GK)GK.hasOwnProperty(a)&&(HK[a]=EK(GK[a]));class IK{constructor(a,b,c){this.type=a;this.id=b;this.uy=this.zy=this.yy=this.target=this.url=this.Zs=void 0;this.AV=c}};const JK=new Map;function KK(a,b,c){c=new IK(a[b.type],a[b.id],c);c.Zs=a[b.Zs];c.url=a[b.url];c.target=a[b.target];c.yy=a[b.yy];c.zy=a[b.zy];a=a[b.uy];"boolean"===typeof a&&(c.uy=a.toString());a=JK.get(c.type);if(void 0===a)throw Error("unknown hyperlink type");return a(c)}function LK(a,b){return`<a ${`id="${a.id}"`} ${`href="${a.url?a.url:"#"}"`} ${a.target?`target="${a.target}"`:""} ${a.Zs?`title="${a.Zs}"`:""} ${`onclick="${b}"`}>${a.AV||""}</a>`}JK.set("u",function(a){return LK(a,"return document.getElementById('$coreSprPlaceholder').getCore().gotoLink(this);")});
JK.set("N",function(a){return LK(a,`document.getElementById('$coreSprPlaceholder').getCore().gotoSlide(${a.yy}, this);return false;`)});JK.set("f",function(a){return LK(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoFirstSlide(this);return false;")});JK.set("l",function(a){return LK(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoLastSlide(this);return false;")});JK.set("v",function(a){return LK(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoLastViewedSlide(this);return false;")});
JK.set("n",function(a){return LK(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoNextSlide(this);return false;")});JK.set("p",function(a){return LK(a,"document.getElementById('$coreSprPlaceholder').getCore().gotoPreviousSlide(this);return false;")});JK.set("s",function(a){return LK(a,`document.getElementById('$coreSprPlaceholder').getCore().startSlideshow(this, '${a.zy}', ${a.uy});return false;`)});JK.set("e",function(a){return LK(a,"document.getElementById('$coreSprPlaceholder').getCore().endSlideshow(this);return false;")});function MK(a,b){a:switch(b[0].fm){case "n":var c="ol";break a;case "u":c="ul";break a;default:c="p"}"p"==c?b.forEach(d=>{a+=`<p>${d.wE}</p>`}):(a+=`<${c}>`,b.forEach(d=>{a+=`<li>${d.wE}</li>`}),a+=`</${c}>`);return a}function NK(a){let b="";const c=[];a.forEach(d=>{d.fm!=b&&(c.push([]),b=d.fm);c[c.length-1].push(d)});return c};function OK(a,b){const c=a[b.text];a=a[b.qF];if(!c||!a)return c?`<span>${c}</span>`:"";b=PK(c,a,b);return NK(b).reduce(MK,"")}function PK(a,b,c){const d=c.qF.gW;return b[d].map(e=>QK(a,e,d))}function QK(a,b,c){const {Ce:d,length:e,fm:f,oy:h,MW:g}={Ce:b[c.Ce],length:b[c.length],fm:b[c.fm],oy:b[c.oy],MW:c.oy},k=a.substr(d,e);return{wE:h.map(l=>RK(k,l,g)).join(""),fm:f}}
function RK(a,b,c){var d=b[c.Ce],e=b[c.length],f=b[c.bold]||!1,h=b[c.italic]||!1,g=b[c.oX]||!1,k=b[c.Ro],l=c.Ro;return(new dG(a)).then(m=>m.substr(d,e)).then(m=>m.replace(/\u000b/g,"<br />")).then(m=>SK(m)).then(m=>{h&&(m=`<${"i"}>${m}</${"i"}>`);return m}).then(m=>{f&&(m=`<${"b"}>${m}</${"b"}>`);return m}).then(m=>{g&&(m=`<${"u"}>${m}</${"u"}>`);return m}).then(m=>{k&&(m=KK(k,l,m));return m}).result()}
function SK(a){return(new dG(a)).then(b=>b.replace(/(\r\n|\r|\n)+/g," ")).then(b=>b.replace(/\xa0|[ \t]+/g," ")).result()};function TK(a,b){const c=a[b.text];a=a[b.qF];return c&&a?PK(c,a,b).map(d=>d.wE.trim()).join(" "):""};function UK(a,b){return a[b.FV]?(new dG(OK(a,b))).then(c=>c?`<h2>${c}</h2>`:"").result():""};function VK(a,b,c){return a.map(d=>{var e=d[b.Of]||d[b.Fe];if(!(e=e?c.get(e):""))if(d[b.wN]&&(d[b.text]||d[b.jM]||d[b.Ro])){e=d[b.wN];var f=d[b.jM]||TK(d,b)||"";e=`<img src="${e}" alt="${f}">`;e=(f=d[b.Ro])?KK(f,b.Ro,e):e}else e="";return e||UK(d,b)||OK(d,b)}).join("")};function WK(a,b){b.yd()?XK(a,b):Ie(a,b.og,()=>XK(a,b))}function XK(a,b){var c=b.Dp;b=eG(b.slide());c=JSON.parse(c);const d=HK.hF;b=VK(c[d],d,b).replace(/\$coreSprPlaceholder/g,a.Tj);b=yd(Hc(b));a.Ea.appendChild(b);Dt(a.Ea,"main");(b=a.Ea.querySelector("h2"))?(b.id=kd(),Et(a.Ea,"labelledby",b.id)):Et(a.Ea,"label",a.rd.PB_ACCESSIBLE_ARIA_LABEL_SLIDE)}
class YK extends Vh{constructor(a,b,c){super();this.Mg=a;this.rd=b;this.Tj=c;this.QK=kd();b=w("DIV");td(b,{"class":"ppt-accessible-slide-display"});this.ng=b;this.X=null;b=w("DIV");td(b,{"class":"ppt-accessible-slide-content"});b.setAttribute("tabindex","-1");b.id=this.QK;this.Ea=b;b=w("A");td(b,{"class":"ppt-accessible-skip-link"});b.innerText=this.rd.PB_ACCESSIBLE_ARIA_LABEL_BACK_TO_BEGIN;b.href=`#${this.QK}`;c=w("DIV");td(c,{"class":"ppt-accessible-skip-link-container"});c.appendChild(b);this.UF=
c;WK(this,a)}hd(){}um(a){Lg(this.X,a)}width(){return 0}height(){return 0}slide(){return this.X}content(){return this.Ea}background(){throw Error("no background in accessible mode");}resize(){}zk(){this.sj();this.X=w("DIV");td(this.X,{"class":"ppt-accessible-slide"});this.X.appendChild(this.Ea);this.X.appendChild(this.UF);this.ng.appendChild(this.X)}Ki(){this.sj()}NM(){}clone(){throw Error("no clone in accessible mode");}Kx(){throw Error("no background in accessible mode");}sj(){this.X&&(Bd(this.Ea),
Bd(this.UF),Bd(this.X),this.X=null)}};class ZK extends Lv{constructor(a){super(a);this.Fd=null;this.GH=K(this)}interactionPlayer(){return this.Fd}WE(a){this.Fd=a;this.GH.D(this.Fd)}};class $K extends Xr{constructor(a,b,c,d,e,f){super(a,b,c,d,e,f);f&&f.yd()&&Ja((f.Ea||document).getElementsByTagName("IMG"),h=>{h.style.transform=""})}};class aL extends Lv{constructor(a){super(a);this.Vc=null;this.bK=K(this)}quizPlayer(){return this.Vc}aF(a){this.Vc=a;this.bK.D()}};function bL(a){const b=document.createElement("div");b.style.width=`${a.width()}px`;b.style.height=`${a.height()}px`;b.style.backgroundColor=a.DO;b.style.position="relative";return b}class cL extends Xr{constructor(a,b,c,d){super(a,-1,b,c);this.DO=d||"#000000";Tr(this,bL(this),bL(this))}};function dL(a,b){a.Im=b;a.pC.appendChild(b.ng)}function eL(a){a.K.splice(0,a.K.length)}class fL{constructor(a){this.K=[];this.pC=a;this.Im=null}};function gL(a){E(a.Cr,"position","normal"==a.ya?"absolute":"")}function hL(a){a.Lt.forEach(b=>{b.yd()?a.zK(b):Ie(a,b.og,a.zK,a)})}
function iL(a){Le(a,...a.ub);a.ub.splice(0,a.ub.length);zd(a.Cr);eL(a.Vf);dL(a.Vf,a.Im);jL(a);kL(a);a.Lt.forEach(b=>{if(b instanceof aL)lL(a,new Kv(a.Vf,a.ub.length,a.la,a.ha,a.Iq,b,a.ya));else if(b instanceof ZK){a:switch(a.ya){case "normal":b=new Jv(a.Vf,a.ub.length,a.la,a.ha,a.Iq,b,a.ya);break a;case "accessible":b=new DK(a.Vf,a.ub.length,a.la,a.ha,a.Iq,b,a.ya);break a;default:throw Error("unknown presentation view mode");}lL(a,b)}else if(b instanceof Mv)lL(a,new Nv(a.Vf,a.ub.length,a.la,a.ha,
a.Iq,b,a.ya));else{a:switch(a.ya){case "normal":b=new $K(a.Vf,a.ub.length,a.la,a.ha,a.Iq,b);break a;case "accessible":b=new YK(b,a.rd,a.Tj);break a;default:throw Error("unknown presentation view mode");}lL(a,b)}})}function jL(a){a.Kz.forEach((b,c)=>{ih(c,`${b.origin.x}px ${b.origin.y}px`);Jn(c,b.transform)})}function kL(a){Array.from(a.Kz.keys()).forEach(b=>{b.style.width="";b.style.height=""})}function lL(a,b){Ke(a,b);var c=a.Vf;c.K.push(b);c.pC.appendChild(b.ng);a.ub.push(b)}
class mL extends Vh{constructor({jF:a,Zl:b,width:c,height:d,PV:e,Cy:f,backgroundColor:h,xF:g,messages:k}){super();this.Lt=b;this.la=c;this.ha=d;this.Iq=e;this.Tj=f;this.ya=g;this.rd=k;this.Kz=new Map;this.ub=[];this.Cr=w("DIV");Hn(this.Cr,"slide-displays-root");a.appendChild(this.Cr);gL(this);this.Vf=new fL(this.Cr);this.Im=new cL(this.Vf,c,d,h);hL(this);iL(this)}width(){return this.la}height(){return this.ha}background(){return this.Im}resize(a,b){if(this.la!=a||this.ha!=b)this.la=a,this.ha=b,this.Im.resize(a,
b),this.ub.forEach(c=>c.resize(a,b))}Bh(a){this.ya!=a&&(this.ya=a,gL(this),iL(this))}zK(a){const b=Array.from(sd("IMG",null,a.Ea));a=Array.from(sd("IMG",null,a.slideBackground()));b.concat(a).forEach(c=>{const d=Mn(c)||new nl,e=Nn(c)||new Vc;this.Kz.set(c,{transform:d,origin:e})})}};class nL{constructor(a,b,c,d){this.X=a;this.Yc=b;this.Xc=c;this.kc=d;this.Wc=this.Fd=this.Vc=this.Dp=this.Ea=null}slide(){return this.X}slideWidth(){return this.Yc}slideHeight(){return this.Xc}quizPlayer(){return this.Vc}aF(a){this.Vc=a}interactionPlayer(){return this.Fd}WE(a){this.Fd=a}scenarioPlayer(){return this.Wc}bF(a){this.Wc=a}pk(){return this.kc}};class oL{constructor(a){this.Me=0;this.WT=void 0!==a?a:0;this.Dq=new B;this.Fq=new B;this.VB=new B;this.jj=null}weight(){return this.WT}progress(){return this.Me}context(){return this.jj}start(a){this.jj=a}Js(){return this.Dq}Ks(){return this.Fq}Ml(a){this.Me!=a&&(this.Me=a,this.VB.D(this))}le(){this.Me=1;this.Dq.D(this)}Eq(){this.Fq.D(this)}};class pL extends oL{constructor(a){super();this.vz=a}start(a){super.start(a);const b=qd(document,this.vz);b?(a.Ea=b,this.le()):this.Eq()}};var qL,rL,sL=[],tL=new B,uL=new B,vL=new B;q("iSpring.InteractionPlayerFactory.registerCreateQuizPlayerFunction",function(a){qL=a;tL.D()});q("iSpring.InteractionPlayerFactory.registerCreateScenarioPlayerFunction",function(a){rL=a;uL.D()});q("iSpring.InteractionPlayerFactory.registerCreateInteractionPlayerFunction",function(a,b){sL[a]=b;vL.D(a)});function wL(a,b,c,d,e,f,h,g,k,l,m,p){const r=qL;if(!r)throw Error("quiz player is not loaded");r(a,b,c,d,e,f,h,g,k,l,m,p)}
function xL(a,b,c,d,e,f,h,g,k,l,m,p){const r=sL[a];if(!r)throw Error(a+" player is not loaded");r(b,c,d,e,f,h,g,k,l,m,p)}function yL(a,b,c,d,e,f,h,g,k,l,m,p,r,t,v,z,F){const D=rL;if(!D)throw Error("scenario player is not loaded");D(a,b,c,d,e,f,h,g,k,l,m,p,r,t,v,z,F)};function zL(a,b,c){AL[b]=c;a="q_"+a;window[a]||(window[a]=function(d,e,f,h,g){(0,AL[d])(e,f,h,g);AL[d]=null})}function BL(a,b,c){AL[b]=c;a="i_"+a;window[a]||(window[a]=function(d,e,f,h){const g=AL[d];g&&(g(e,f,h),AL[d]=null)})}function CL(a,b,c){AL[b]=c;a="s_"+a;window[a]||(window[a]=function(d,e,f,h,g,k,l,m){const p=AL[d];p&&(p(e,f,h,g,k,l,m),AL[d]=null)})}function DL(a,b,c){AL[b]=c;a="sl_"+a;window[a]||(window[a]=function(d,e,f){const h=AL[d];h&&(h(e,f||null),AL[d]=null)})}
function EL(a){Bd(a.EK);a.EK=void 0}function FL(a,b,c,d){const e=a.Wk.substr(0,a.Wk.lastIndexOf("/")+1);var f=vd("div");const h=vd("div");var g=new O;const k=a.context();g.resize(k.slideWidth(),k.slideHeight());f.appendChild(g.displayObject());f.appendChild(h);k.Ea=f;f=GL(a);g=k.slide();const l=g.cE(),m=HL(a.Oj.Fu,a.Oj.jb()),p=xL.bind(void 0,l,b,c,d,h,f,k.slideWidth(),k.slideHeight(),a.GP.bind(a),e,g.index(),m);void 0!==sL[l]?p():(vL.addHandler(r=>{r==l&&p()}),vh(g.Ri()))}
function kM(a,b,c,d,e,f,h,g){const k=a.Wk.substr(0,a.Wk.lastIndexOf("/")+1);var l=vd("div");const m=vd("div");var p=new O;const r=a.context();p.resize(r.slideWidth(),r.slideHeight());l.appendChild(p.displayObject());l.appendChild(m);r.Ea=l;l=GL(a);p=r.slide();const t=lM(a.Oj.Fu),v=yL.bind(void 0,b,c,d,e,m,l,r.slideWidth(),r.slideHeight(),a.IP.bind(a),k,p.index(),f,h,g,a.Oj.Xl().enabled(),t);void 0!==rL?v():(uL.addHandler(()=>{v()}),vh(p.Ri()))}
function GL(a){const b=vd("div");a.context().pk().appendChild(b);Hn(b,"framesLayerContent");return b}
class mM extends oL{constructor(a,b,c,d){super(70);this.Vv=a;this.zb=b;this.Wk=c;this.Oj=d}start(a){super.start(a);const b=a.slide()instanceof sn,c=a.slide()instanceof ek;a=a.slide()instanceof zn;b?zL(this.Vv,this.zb,this.mR.bind(this)):c?BL(this.Vv,this.zb,this.ZQ.bind(this)):a?CL(this.Vv,this.zb,this.sR.bind(this)):DL(this.Vv,this.zb,this.wR.bind(this));this.EK=vh(this.Wk)}wR(a,b){a=uf&&rf&&navigator.connection&&navigator.connection.saveData?a.replace(/<img/g,'<img loading="eager"'):a;var c=vd("div");
c.innerHTML=a;a=void 0!==c.firstElementChild?c.firstElementChild:Dd(c.firstChild);c=this.context();c.Ea=a;c.Dp=b;this.le();EL(this)}mR(a,b,c,d){const e=this.Wk.substr(0,this.Wk.lastIndexOf("/")+1);var f=vd("div");const h=vd("div");var g=new O;const k=this.context();c=k.slide();c.Xy&&(ou(g,"background",`url(${c.Xy})`),ou(g,"background-size","100% 100%"));g.resize(k.slideWidth(),k.slideHeight());f.appendChild(g.displayObject());f.appendChild(h);k.Ea=f;f=GL(this);g=nM(this.Oj.Fu,this.Oj.jb());const l=
k.slide();a=wL.bind(void 0,a,b,h,f,k.slideWidth(),k.slideHeight(),this.HP.bind(this),e,c.index(),d,g,l.Jv);void 0!==qL?a():(tL.addHandler(a),vh(c.Ri()));EL(this)}ZQ(a,b,c){FL(this,a,b,c);EL(this)}sR(a,b,c,d,e,f,h){kM(this,a,b,c,d,e,f,h);EL(this)}HP(a){this.context().aF(a);this.le()}GP(a){this.context().WE(a);this.le()}IP(a){this.context().bF(a);this.le()}}var AL=[];function oM(){};var pM;function qM(){}va(qM,oM);qM.prototype.createInstance=function(){a:{if(!this.MM&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){const b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(let c=0;c<b.length;c++){const d=b[c];try{new ActiveXObject(d);var a=this.MM=d;break a}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}a=this.MM}return a?new ActiveXObject(a):new XMLHttpRequest};
pM=new qM;function rM(a){const b=[];Object.entries(a).forEach(([c,d])=>sM(c,d,b));return b.join("&")}function sM(a,b,c){Array.isArray(b)?b.forEach(d=>sM(a,d,c)):null!=b&&c.push(`${a}=${encodeURIComponent(String(b))}`)};function tM(){this.Sb=new B}tM.prototype.response=function(){return this.lK};tM.prototype.send=function(a,b,c){var d;if(d=Ef){var e=window.location.toString();d=a.match(mt);e=e.match(mt);d=!(d[3]==e[3]&&d[1]==e[1]&&d[4]==e[4])}d?uM(this,a,b,c):vM(this,a,b,c)};
function uM(a,b,c,d){const e=new XDomainRequest;b=wM(b);e.onload=function(){a.lK=e.responseText;a.Sb.D(!0)};e.onerror=function(){a.Sb.D(!1)};e.ontimeout=function(){Ef&&window.console.log("ontimeout")};e.onprogress=function(){Ef&&window.console.log("progress")};try{e.open(c,b),e.send(rM(d))}catch(f){e.onerror()}}
function vM(a,b,c,d){const e=pM.createInstance();d=rM(d);"GET"==c&&(b+="?"+d);e.open(c,b,!0);e.onreadystatechange=function(){try{4==e.readyState&&(200==e.status?(a.lK=e.responseText,a.Sb.D(!0)):a.Sb.D(!1))}catch(f){a.Sb.D(!1)}};try{"POST"==c?(e.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),e.send(d)):e.send()}catch(f){a.Sb.D(!1)}}
function wM(a){const b=window.location.toString().match(mt)[1]||null;if(null!=b&&"file"!=b){const c=a.match(mt)[1]||null;null!=c&&(a=b+a.substr(c.length))}return a};class xM extends Vh{constructor(){super();this.Sb=K(this);this.Xk=null}load(a){const b=new tM;Ie(this,b.Sb,()=>{this.Xk=uo(b.response());this.Sb.D(this.Xk)});b.send(a,"GET",{})}};let yM=null,zM=0;function AM(a,b){if(Ef)if(a=`@import "${b}";`,!yM||30<=zM)yM=uo(a).styleSheet,zM=1;else{var c=a;a=yM;b=void 0;if(void 0==b||0>b)b=to(a).length;if(a.insertRule)a.insertRule(c,b);else if(c=/^([^\{]+)\{([^\{]+)\}/.exec(c),3==c.length)a.addRule(c[1],c[2],b);else throw Error("Your CSSRule appears to be ill-formatted.");++zM}else a.Cq=vd("link",{rel:"stylesheet",type:"text/css",href:b}),sd("head")[0].appendChild(a.Cq)}
class BM{constructor(){this.Cq=null;this.Sb=new B}load(a){const b=Fb||Eb?ro:so,c=b().length;AM(this,a);const d=this,e=setInterval(()=>{try{if(null!=d.Cq&&null!=d.Cq.sheet||b().length!=c)clearInterval(e),d.Sb.D(this.Cq)}catch(f){}},100)}};class CM extends oL{constructor(a){super(30);this.dP=a;this.Xk=null}get HU(){return this.Xk}start(a){super.start(a);a=wh()||Ef?new BM:new xM;a.Sb.addHandler(b=>{this.Xk=b;this.le()},this);a.load(this.dP)}};class DM extends oL{constructor(){super();this.Zt=this.Yt=0;this.XT=1}weight(){return this.XT*this.Yt}start(a){super.start(a);var b=a.Ea;if(b){a={};b=b.querySelectorAll("span");for(var c=0;c<b.length;++c){var d=b[c];let g=tg(d,"fontFamily");if(g){var e=g.indexOf(",");0<=e&&(g=g.substr(0,e));e=[];Nd(d,e,!0);d=e.join("");d=d.replace(/ \xAD /g," ").replace(/\xAD/g,"");d=d.replace(/\u200B/g,"");d=d.replace(/ +/g," ");" "!=d&&(d=d.replace(/^\s*/,""));d=ib(d);0<d.length&&(g in a||(a[g]=""),a[g]+=d)}}for(f in a)a.hasOwnProperty(f)&&
(b=a[f].split(""),ab(b),a[f]=b.join(""));var f=a;a=0;for(var h in f)a++;this.Yt=a;h=this.SQ.bind(this);a=this.RQ.bind(this);for(const g in f)if(f.hasOwnProperty(g)){b=f[g];a:{for(c=0;c<b.length;++c)if(61440<=b.charCodeAt(c)&&61695>=b.charCodeAt(c)){c=!0;break a}c=!1}Lt(g,c?b.substr(0,1):"0",h,a)}this.wi()}else this.le()}SQ(){++this.Zt;this.wi()}RQ(){++this.Zt;this.wi()}wi(){this.Zt==this.Yt?this.le():this.Ml(this.Zt/this.Yt)}};class EM extends oL{constructor(){super();this.ZT=1;this.Tm=0;this.Gq=[];this.PG={};this.ru=-1}weight(){return this.ZT*this.Tm}start(a){super.start(a);if(a=a.Ea){a=a.querySelectorAll("img");this.Tm=a.length;for(let b=0;b<this.Tm;++b){const c=a[b];c.complete&&0<c.naturalWidth||"data:"==c.src.substr(0,5)||(this.Gq.push(c),c.onload=this.WQ.bind(this,c),c.onerror=this.UQ.bind(this,c))}this.ru=setInterval(this.vP.bind(this),500);this.wi()}else this.le()}vP(){for(let b=0;b<this.Gq.length;++b){var a=this.Gq[b];
if(a.complete&&0==a.naturalWidth){const c=a.src;a.removeAttribute("src");a.src=c}}}UQ(a){const b=ma(a)+"";b in this.PG?this.ov(a):this.PG[b]=1}WQ(a){this.ov(a)}ov(a){a.onload=a.onerror=null;Ta(this.Gq,a);this.wi()}wi(){const a=this.Tm-this.Gq.length;a==this.Tm?(this.le(),0<this.ru&&(clearInterval(this.ru),this.ru=-1)):this.Ml(a/this.Tm)}};function FM(a,b){b.VB.addHandler(a.XI,a);b.Js().addHandler(a.Gn,a);b.Ks().addHandler(a.zB,a)}function GM(a,b){b.VB.removeHandler(a.XI,a);b.Js().removeHandler(a.Gn,a);b.Ks().removeHandler(a.zB,a)}class HM extends oL{constructor(a,b){super(b);this.Rh=a;this.Pp=0}wi(){let a=0,b=0;const c=this.Rh.length;for(let d=0;d<c;++d){const e=this.Rh[d];a+=e.weight();b+=e.progress()*e.weight()}this.Ml(0<a?b/a:this.Pp/c)}XI(){this.wi()}Gn(a){GM(this,a);++this.Pp;this.wi()}zB(a){GM(this,a);this.Eq()}};class IM extends HM{constructor(a,b){super(a,b);this.$z=!1}start(a){super.start(a);for(let b=0;b<this.Rh.length;++b){const c=this.Rh[b];FM(this,c);c.start(a);if(this.$z)break}}Gn(a){super.Gn(a);this.Pp==this.Rh.length&&this.le()}zB(){if(!this.$z){this.$z=!0;for(let a=0;a<this.Rh.length;++a)GM(this,this.Rh[a]);this.Eq()}}};class JM extends IM{constructor(){super([new EM,new DM],60)}start(a){const b=a.Ea;if(b){const c=w("div");E(c,{width:"1px",height:"1px",position:"absolute",overflow:"hidden",top:"0"});I(c,0);c.appendChild(b);fa.document.body.appendChild(c)}super.start(a)}Eq(){var a=this.context();(a=a&&a.Ea)&&(a=Fd(a))&&Bd(a);super.Eq()}le(){var a=this.context();(a=a&&a.Ea)&&(a=Fd(a))&&Bd(a);super.le()}};function KM(a){if(a.Pp>=a.Rh.length)a.le();else{var b=a.context(),c=a.Rh[a.Pp];FM(a,c);c.start(b)}}class LM extends HM{constructor(a){super(a)}start(a){super.start(a);KM(this)}Gn(a){super.Gn(a);KM(this)}};const MM=mf?[0,1,2,-1,3,4,-2,5]:[0,1,2,-1,3,4,-2,5,6,7,8,9,10];
function NM(a,b){a.Tu=b;const c=a.Br[b];c.R=1;const d=c.slide();var e=a.EO;const f=[],h=d.src();if(!h)throw Error("slide src can't be null");let g=null;h instanceof gI?(b=new mM(a.I.uniqueId(),b,e+h.DP,a.I.settings()),h.sG?(g=new CM(e+h.sG),f.push(new IM([g,b],20))):f.push(b)):(e=h.lk(),f.push(new pL(e)));"slide"==d.type()&&f.push(new JM);e=new nL(d,a.I.slideWidth(),a.I.slideHeight(),a.kc);const k=new LM(f);y(a,k.Js(),l=>{Ne(a,k);var m=l.context();d.LH=!0;l=m.Ea;const p=Cd(l);c.vk(p[1],p[0],m.Dp);
c instanceof aL?(m=m.quizPlayer(),c.aF(m)):c instanceof ZK?(m=m.interactionPlayer(),c.WE(m)):c instanceof Mv&&(m=m.scenarioPlayer(),c.bF(m));d instanceof on&&(l=a.rC.create(d,l,g?g.HU:null),OM(l.aS.Zn,l.WS),l.EC&&l.vJ());PM(a);a.og.D(d)});y(a,k.Ks(),()=>{Ne(a,k);PM(a);a.YS.D(d)});k.start(e)}function BF(a){Zf(a.bQ,100,a)}function PM(a){a.ZH[a.Tu]=!0;a.Tu=void 0;BF(a)}
class QM extends Vh{constructor(a,b){super();this.I=a;this.rC=b;this.EO="";a=a.slides();b=[];for(let d=0;d<a.count();++d){var c=a.getSlide(d);c=c instanceof sn?new aL(c):c instanceof ek?new ZK(c):c instanceof zn?new Mv(c):new Lv(c);b.push(c)}this.Br=b;this.kc=null;this.ZH={};this.Tu=void 0;this.og=K(this);this.YS=K(this);this.Ra=!0}bQ(){if(this.Ra&&void 0===this.Tu){for(let b=0;b<MM.length;++b){const c=this.H+MM[b];if(0<=c&&c<this.Br.length&&void 0===this.ZH[c]){var a=c;break}}void 0!==a&&NM(this,
a)}}sm(a){this.H=a;BF(this)}Mo(a){switch(this.Br[a].state()){case 2:return 2;case 1:return 1;default:return 0}}kb(a){(this.Ra=a)&&BF(this)}};function YC(a,{jF:b,width:c,height:d,OV:e,backgroundColor:f,xF:h}){const g=[];for(let k=0;k<a.tc.Br.length;++k)g.push(a.tc.Br[k]);return new mL({jF:b,Zl:g,width:c,height:d,PV:e,Cy:a.Tj,backgroundColor:f,xF:h,messages:a.rd})}class RM{constructor(a,b,c){this.tc=a;this.Tj=b;this.rd=c}};function SM(a,b,c){a=a.I.settings().jb();return a.hasOwnProperty(b)?a[b]:c}function TM(a,b){const c=new (Ff?CK:BK)(SM(a,"PB_ENTER_PASSWORD","Enter a password to watch the presentation:"),SM(a,"PB_INCORRECT_PASSWORD","The password is incorrect. Please try again"),SM(a,"PB_MESSAGE_BOX_OK","OK"),d=>{d==b&&(c.ze(),UM(a))})}function UM(a){var b=new RM(new QM(a.I,a.rC),a.I.settings().Cy(),a.I.settings().jb()||{});b=new MF(a.I,a.ZR,b);a.Kn.D(b)}
class VM extends Vh{constructor(a,b,c){super();this.I=a;this.ZR=b;this.rC=c;this.Kn=K(this)}mk(){var a=this.I.settings().gp(),b=a.Cx(),c;if(c=b){a:{c=window.location.hostname;for(var d=0;d<b.length;++d)if(c==b[d]||hb(c,"."+b[d])){b=!0;break a}b=!1}c=!b}if(c)a=SM(this,"PB_DOMAIN_RESTRICTION","Sorry, the presentation's creator disabled viewing the presentation at this domain"),Ff?new vK("domain",a,!1):new xK(a,"domain");else{if(b=d=a.tp()){a:{b=new Qk;c=d.getStartDate();d=d.xs;if(c&&d){const e=0>Tk(b,
d),f=0>=Tk(c,b);if(0>Tk(c,d)){b=e&&f;break a}if(0>Tk(d,c)){b=e||f;break a}}b=c&&0>Tk(b,c)?!1:!(d&&0<=Tk(b,d))}b=!b}b?(a=SM(this,"PB_TIME_RESTRICTION","Sorry, the presentation's creator disabled viewing the presentation at the moment"),Ff?new vK("time",a,!1):new xK(a,"time")):a.GB?TM(this,a.password()):UM(this)}}};function WM(a){a=a.querySelectorAll("*");const b=[];for(const c of a)/^txt\w*/.test(c.id)&&b.push(c);return b}function XM(a,b){const c=new Map;WM(a).forEach(d=>{var e=b.find(f=>!!f.selectorText.match(d.id));(e=e?e.style:null)&&c.set(d,e)});return c}function OM(a,b){a.forEach(c=>{jn(c).forEach(d=>{const e=b.querySelector("#"+d.id);vg(e,0,0);var f=d.ia.left,h=d.ia.top;f=(new nl).setTransform(1,0,0,1,f,h);f=ol(d.Qf.clone(),ol(f,d.hf));Jn(e,f)})})};function YM(a,b){const c=[];a.gX.forEach((d,e)=>{b(d)&&c.push({element:e,wM:d})});return c}class ZM{constructor(a,b,c){this.aS=a;this.WS=b;this.Xk=c;this.EC=null;if(c&&c.sheet)try{this.EC=XM(b,Array.from(c.sheet.cssRules))}catch(d){}}get styleSheet(){return this.Xk.sheet}get gX(){return this.EC}};function $M(a){return YM(a,b=>/text-decoration-line: underline/.test(b.cssText))}
class aN extends ZM{vJ(){for(const {element:e,wM:f}of $M(this)){var a=e,b={},c=f.cssText.match(/text-decoration-.*?(?=;)/g);if(c)for(const h of c){const [g,k]=h.split(": ");b[g]=k}a:{var d=b;c=["solid","dashed","dotted","double"];if(d.hasOwnProperty("text-decoration-style")&&(d=d["text-decoration-style"],-1!=c.indexOf(d))){c=d;break a}c="solid"}if((d=b["text-decoration-thickness"]||"")&&"double"==c){const h=2*parseFloat(d);isNaN(h)||(d=`${h}px`)}a.style.borderBottom=`${c} ${d} ${b["text-decoration-color"]||
""}`}for(const {element:e}of this.kA())e.style.textDecoration="line-through"}kA(){return YM(this,a=>/text-decoration-line: underline line-through/.test(a.cssText))}};class bN extends ZM{vJ(){this.kA().forEach(({element:a,wM:b})=>{b.removeProperty("text-decoration-line");b.setProperty("text-decoration-line","underline");const c=b.getPropertyValue("text-decoration-thickness");b=b.getPropertyValue("color")||"black";this.styleSheet.insertRule(`#${a.id}::after {
				position: absolute;
				content: '';
				width: 100%;
				height: 0;
				border-top: ${c} solid ${b};
				top: 0;
    			right: 0;
    			bottom: 0;
    			left: 0;
				margin: auto;
			}`)})}kA(){return YM(this,a=>/text-decoration-line: underline line-through/.test(a.cssText))}};class cN{create(a,b,c){return Fb?new aN(a,b,c):new bN(a,b,c)}};function dN(a,b,c,d){var e=(new sK(c)).load(b);b=parseInt(u(b,c.pW,"2007"),10);c=new cN;a.NJ.D(e);e=new VM(e,b,c);Ie(a,e.Kn,f=>{f.view().Vi().id=d;Hn(f.view().displayObject(),d);a.Kn.D(f)});e.mk()}function eN(a,b,c,d){YH(b,e=>{e=JSON.parse(e);if(!e)throw Error("invalid presentation json!");dN(a,e,c,d)})}class fN extends Vh{constructor(){super();this.Kn=K(this);this.NJ=K(this)}mk(a,b,c){la(a)?dN(this,a,b,c):eN(this,a,b,c)}};class gN{constructor({sidePanelPosition:a,outlinePosition:b,colors:c,messages:d,showPlayersPanels:e=!1,showTitlePanel:f=!0,accessibilityModeEnabled:h,miniskinCustomizationEnabled:g,fontFamily:k,borderRadius:l,FE:m}){this.QS=a;this.PR=b;this.OS=f;this.Qa=c;this.rd=d;this.NS=e;this.Qy=h;this.sQ=g;this.il=k;this.Qk=l;this.HJ=m}sidePanelPosition(){return this.QS}showTitlePanel(){return this.OS}outlinePosition(){return this.PR}showPlayersPanels(){return this.NS}colors(){return this.Qa}messages(){return this.rd}accessibilityModeEnabled(){return this.Qy}miniskinCustomizationEnabled(){return this.sQ}fontFamily(){return this.il}borderRadius(){return this.Qk}isInheritSettings(){return"universal"===
this.HJ?!0:"videolecture"===this.HJ&&Ff}};function nM(a,b=null){return new gN({sidePanelPosition:"none",outlinePosition:"none",colors:{},messages:b,showPlayersPanels:!0,accessibilityModeEnabled:a.accessibilityModeEnabled,miniskinCustomizationEnabled:!1,fontFamily:a.il,borderRadius:a.Qk,FE:"none"})}
function HL(a,b=null){return new gN({sidePanelPosition:"none",outlinePosition:"none",colors:{},messages:b,showPlayersPanels:!0,accessibilityModeEnabled:a.accessibilityModeEnabled,miniskinCustomizationEnabled:!1,fontFamily:a.il,borderRadius:a.Qk,FE:"none"})}function lM(a){return new gN({sidePanelPosition:"none",outlinePosition:"none",colors:{},messages:{},accessibilityModeEnabled:a.accessibilityModeEnabled,miniskinCustomizationEnabled:!1,fontFamily:a.il,borderRadius:a.Qk,FE:"none"})}
class hN extends Vh{constructor(){super();this.NB=this.pr=this.accessibilityModeEnabled=!1;this.Qa={};this.il="";this.Qk=0;this.MO=K(this)}get DE(){return this.NB}set DE(a){this.NB!=a&&(this.NB=a,this.MO.D())}colors(){return this.Qa}get fontFamily(){return this.il}set fontFamily(a){this.il=a}get borderRadius(){return this.Qk}set borderRadius(a){this.Qk=a}get rm(){return this.pr}set rm(a){this.pr=a}};class iN{constructor(){const a={colors:{A:"colors"},WU:{A:"enablePlaybackRateControl"},fontFamily:{A:"fontFamily"},borderRadius:{A:"borderRadius"},rm:{A:"rotatePromptEnabled"}},b=QJ();ZH(a,b);this.Da=a}iE(a){const b=new hN;a=a||{};b.DE=a[this.Da.WU];var c=XF(a[this.Da.colors]);b.Qa=c;b.fontFamily=a[this.Da.fontFamily]||"";b.borderRadius=a[this.Da.borderRadius]||0;let d;b.rm=null!=(d=a[this.Da.rm])?d:!1;return b}};function jN(a,b,c,d,e){return new Promise(f=>{const h=mf||Ff;Wf();const g=new fN;e&&g.Kn.addHandler(e);let k=null,l=null;const m=new YF;let p,r;g.NJ.addHandler(t=>{l=t;t=new iN;const v=l.settings();p=new IH(v.Xl().enabled());k=t.iE(l.settings().skin());k.accessibilityModeEnabled=p.Yl();l.settings().Fu=k;t=k.colors();r=new $F({presentation:l,mW:d,colors:t,ME:m});ZF(r,p.mode());h&&(l.settings().hk().bA=!0)});g.Kn.addHandler(t=>{const v=l.settings().jb()||{},z=new QF(v),F=t.view().playbackController();
F.EE().ro=k.DE;GH(p,F);const D=new VH({nm:t,messages:v,lk:c,ME:m,Yl:p.Yl(),rm:k.rm});HH(p,D);const G=JH(p,D,c,v),Q=L=>{t.Bh(L);if(D.Rj){Bd(D.Rj.displayObject());var M=D.pi;M.yu=null;M.jj=null;Le(D,D.Rj);D.Rj=null}"normal"==L?D.Rj=UH(D):"accessible"==L&&(D.Rj=new FG({Ad:D.Yq,messages:D.rd,skinSettings:{D1:!1,showSlideList:!1,A1:!1,C1:!1,B1:!1}}));Ke(D,D.Rj);M=D.Rj.displayObject();D.RS.appendChild(M);D.pi.Ex();M=D.Yq.view().playbackController();const R=M.currentSlideIndex();-1!=R&&(M.slideChangeEvent().D(R),
Zj(M.Qb()),D.Yq.audioNarrationController().xM(),D.Yq.videoNarrationController().xM(),M.Em.D());"accessible"==L&&document.body.removeAttribute("style");D.LF.D(L);G&&("accessible"==L?(G.setAttribute("title",v.PB_ACCESSIBLE_SKIN_ENABLE_NORMAL_MODE),G.it(-1),G.Gc("hidden",!0)):(G.setAttribute("title",v.PB_ACCESSIBLE_SKIN_ENABLE_ACCESSIBILITY_MODE),G.it(0),G.displayObject().removeAttribute("aria-hidden")))};Q(p.mode());p.PJ.addHandler(L=>{ZF(r,L);Q(L)});f(new WH({nm:t,skinSettings:k,jb:z}))});g.mk(a,b,
d)})};function kN(a){this.Tx=a}kN.prototype.set=function(a,b){void 0===b?this.Tx.remove(a):this.Tx.set(a,hg(new gg,b))};kN.prototype.get=function(a){let b;try{b=this.Tx.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};kN.prototype.remove=function(a){this.Tx.remove(a)};function lN(){};function mN(){}va(mN,lN);mN.prototype.Fx=function(){let a=0;for(const b of this)a++;return a};mN.prototype[Symbol.iterator]=function(){return Ll(this.lf(!0)).Gy()};mN.prototype.clear=function(){const a=Array.from(this);for(const b of a)this.remove(b)};function nN(a){this.Pf=a}va(nN,mN);n=nN.prototype;n.eE=function(){if(!this.Pf)return!1;try{return this.Pf.setItem("__sak","1"),this.Pf.removeItem("__sak"),!0}catch(a){return!1}};n.set=function(a,b){try{this.Pf.setItem(a,b)}catch(c){if(0==this.Pf.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};n.get=function(a){a=this.Pf.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};n.remove=function(a){this.Pf.removeItem(a)};
n.Fx=function(){return this.Pf.length};n.lf=function(a){var b=0,c=this.Pf,d=new hk;d.next=function(){if(b>=c.length)return ik;var e=c.key(b++);if(a)return jk(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return jk(e)};return d};n.clear=function(){this.Pf.clear()};n.key=function(a){return this.Pf.key(a)};function oN(){var a=null;try{a=window.localStorage||null}catch(b){}this.Pf=a}va(oN,nN);function pN(a,b){this.CN=a;this.Ud=null;if(Fb&&!(9<=Number(bc))){qN||(qN=new Pl);this.Ud=qN.get(a);this.Ud||(b?this.Ud=document.getElementById(b):(this.Ud=document.createElement("userdata"),this.Ud.addBehavior("#default#userData"),document.body.appendChild(this.Ud)),qN.set(a,this.Ud));try{this.Ud.load(this.CN)}catch(c){this.Ud=null}}}va(pN,mN);var rN={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},qN=null;
function sN(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return rN[b]})}n=pN.prototype;n.eE=function(){return!!this.Ud};n.set=function(a,b){this.Ud.setAttribute(sN(a),b);tN(this)};n.get=function(a){a=this.Ud.getAttribute(sN(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};n.remove=function(a){this.Ud.removeAttribute(sN(a));tN(this)};n.Fx=function(){return uN(this).attributes.length};
n.lf=function(a){var b=0,c=uN(this).attributes,d=new hk;d.next=function(){if(b>=c.length)return ik;var e=c[b++];if(a)return jk(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return jk(e)};return d};n.clear=function(){for(var a=uN(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);tN(this)};
function tN(a){try{a.Ud.save(a.CN)}catch(b){throw"Storage mechanism: Quota exceeded";}}function uN(a){return a.Ud.XMLDocument.documentElement};function vN(a,b){this.Ms=a;this.$o=b+"::"}va(vN,mN);vN.prototype.set=function(a,b){this.Ms.set(this.$o+a,b)};vN.prototype.get=function(a){return this.Ms.get(this.$o+a)};vN.prototype.remove=function(a){this.Ms.remove(this.$o+a)};vN.prototype.lf=function(a){const b=this.Ms[Symbol.iterator](),c=this,d=new hk;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.$o.length)!=c.$o;){e=b.next();if(e.done)return e;e=e.value}return jk(a?e.slice(c.$o.length):c.Ms.get(e))};return d};function wN(){}va(wN,lN);wN.prototype.set=function(){};wN.prototype.get=function(){return null};wN.prototype.remove=function(){};function xN(a){a=yN().get(a);return void 0!==a?a:null}var zN=null;function yN(){if(!zN){var a=new oN;(a=a.eE()?new vN(a,"ispring"):null)||(a=new pN("ispring"),a=a.eE()?a:null);zN=new kN(a||new wN)}return zN};function AN(a,b){const c=a.nm(),d=c.presentation().uniqueId();void 0===b&&(b=xN(d));c.stateChangedEvent().addHandler(e=>{if(!e.actionPrevented()){e.preventAction();e=c.persistState();const f=yN();try{f.set(d,e)}catch(h){}}},null,99);c.start(b)};function BN(){const a={id:{A:"i"},title:{A:"t"},courseTitle:{A:"ct"},slideWidth:{A:"w"},slideHeight:{A:"h"},tM:{A:"c"},pW:{A:"pv"},slides:{A:"s",id:{A:"I"},kt:{A:"st",slide:{A:"s"},quiz:{A:"q"},interaction:{A:"i"},scenario:{A:"S"}},title:{A:"t"},visible:{A:"v"},vM:{A:"c"},src:{A:"s"},zN:{A:"sl"},lk:{A:"o"},ZV:{A:"n"},zV:{A:"N"},m1:{A:"an"},text:{A:"x"},Fy:{A:"T",Ds:{A:"i"},width:{A:"w"},height:{A:"h"}},hs:{A:"a"},kU:{A:"d"},nestingLevel:{A:"l"},rW:{A:"p"},pU:{A:"B"},LM:{A:"hi"},De:{A:"e",jN:{A:"p"},
iN:{A:"a"}},timeline:{A:"i"},transition:{A:"q",type:{A:"t"},duration:{A:"d"},Of:{A:"s"}},sb:{A:"S",id:{A:"i"},ik:{A:"a"},slides:{A:"s"},repeat:{A:"r",NN:{A:"s"},MN:{A:"c"},ON:{A:"n"}},volume:{A:"v"},effect:{A:"e"},Hf:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},Fb:{A:"V",id:{A:"i"},ik:{A:"a"},slides:{A:"s"},repeat:{A:"r",NN:{A:"s"},MN:{A:"c"},ON:{A:"n"}},zE:{A:"f"},aE:{A:"H"},my:{A:"R"},volume:{A:"v"},Ve:{A:"h"},Hf:{A:"b",name:{A:"n"},time:{A:"t"}},duration:{A:"d"}},xt:{A:"wo",containerId:{A:"c"},
url:{A:"u"},timeout:{A:"to"},width:{A:"w"},height:{A:"h"},SD:{A:"f"},us:{A:"ds"}},FX:{A:"y",containerId:{A:"c"},Fe:{A:"v"},width:{A:"w"},height:{A:"h"},timeOffset:{A:"to"}},EX:{A:"yk",containerId:{A:"c"},Fe:{A:"v"},width:{A:"w"},height:{A:"h"},timeOffset:{A:"to"},clientId:{A:"cl"}},hm:{A:"m",name:{A:"n"},params:{A:"p",name:{A:"n"},value:{A:"v"}}},Te:{A:"b",action:{type:{A:"t",YV:{A:"n"},gotoSlide:{A:"g"}},slideIndex:{A:"s"}},Oi:{A:"n"},fp:{A:"p"}},im:{A:"r",lock:{A:"l"}},Tf:{A:"z",id:{A:"i"},sp:{A:"t"},
Bk:{A:"r"},Dh:{A:"bg"},tF:{A:"tt"},oh:{A:"b"},Bg:{A:"hF"},Jg:{A:"vF"},rotation:{A:"R"},slides:{A:"s"}},OD:{A:"f",containerId:{A:"c"},width:{A:"w"},height:{A:"h"},url:{A:"u"},timeOffset:{A:"to"},bgColor:{A:"b"},KN:{A:"t"}},YW:{A:"si",hF:{A:"shapes",item:{id:{A:"id"},oh:{A:"bbox"},hf:{A:"transformBefore"},Qf:{A:"transformAfter"}},hb:{A:"bg"},Hg:{A:"textItems"},kk:{A:"childItems"},name:{A:"name"},type:{A:"type"},fX:{A:"subType"},text:{A:"text"},oh:{A:"bbox"},Bg:{A:"hFlip"},Jg:{A:"vFlip"},rotation:{A:"rotation"},
wk:{A:"lineWeight"},Xe:{A:"normalizedPic"},sV:{A:"hasTransparency"},Pb:{A:"crop",left:{A:"l"},top:{A:"t"},right:{A:"r"},bottom:{A:"b"}},line:{A:"line"},fill:{A:"fill"},gm:{A:"glow"},pm:{A:"reflection"},vm:{A:"shadow"},xm:{A:"softEdge"},zm:{A:"threeD"}}},yW:{A:"qb"},zW:{A:"qB",ks:{A:"i"},NE:{A:"r"},mD:{A:"n",pD:{A:"t"},jD:{A:"a"},kD:{A:"p"}},ND:{A:"f",km:{A:"p",type:{A:"t",wD:{A:"w"},gotoNextSlide:{A:"n"},gotoSlide:{A:"s"}},slideIndex:{A:"s"}},MD:{A:"f"}}},AW:{A:"qt"},PW:{A:"sB",ls:{A:"i"},mD:{A:"n",
pD:{A:"t"},jD:{A:"a"},kD:{A:"p"}},ND:{A:"f",km:{A:"p",type:{A:"t",wD:{A:"w"},gotoNextSlide:{A:"n"},gotoSlide:{A:"s"}},slideIndex:{A:"s"}},MD:{A:"f"}}},cE:{A:"it"},Ri:{A:"pp"},CV:{A:"ip",navigationType:{A:"nt"},js:{A:"ai"}}},settings:{A:"e",navigation:{A:"n",vh:{A:"m",enabled:{A:"e"},target:{A:"t",step:{A:"s"},slide:{A:"l"}}},keyboard:{A:"k",enabled:{A:"e"},actions:{A:"a",name:{A:"n",jW:{A:"pp"},Vx:{A:"ns"},sW:{A:"ps"},XV:{A:"nt"},tW:{A:"pt"},RW:{A:"sf"},QW:{A:"sb"},cV:{A:"fs"},GV:{A:"ls"},gE:{A:"lv"},
$W:{A:"ss"},XW:{A:"se"},vX:{A:"vu"},uX:{A:"vd"},iX:{A:"tf"},jX:{A:"ts"}},wm:{A:"s",key:{A:"k"},xx:{A:"c"},shift:{A:"s"}}}},Ko:{A:"g",zF:{A:"z"}}},playback:{A:"p",RE:{A:"s"},Fc:{A:"a"},resume:{A:"r",prompt:{A:"p"},lU:{A:"a"},VV:{A:"n"}},uh:{A:"l"},navigationType:{A:"n",t1:{A:"n"},HW:{A:"r"},SW:{A:"s"}}},hk:{A:"a",fitToWindow:{A:"f"}},Bm:{A:"w",link:{url:{A:"u"},target:{A:"t"}},wy:{A:"s"},ey:{A:"p"}},gp:{A:"P",password:{A:"p"},tp:{A:"t",QU:{A:"a"},RU:{A:"u"}},Cx:{A:"d"}},Xl:{A:"A",enabled:{A:"e"}}},
Ay:{A:"S",name:{A:"n"},slides:{A:"s"}},Sx:{A:"sS"},skinSettings:{A:"k"},jb:{A:"I"},ns:{A:"b",content:{A:"c"},contentHover:{A:"ch"},url:{A:"u"},width:{A:"w"},height:{A:"h"},up:{A:"t"},language:{A:"l"},Co:{A:"x"},Bo:{A:"d"},Do:{A:"xx"},Eo:{A:"xy"}},wt:{A:"W",src:{A:"s"},left:{A:"l"},top:{A:"t"},width:{A:"w"},height:{A:"h"},opacity:{A:"o"},url:{A:"u"},target:{A:"T"}},fonts:{A:"f",name:{A:"n"},localName:{A:"l"},urls:{A:"u"},zX:{A:"A"},yF:{A:"D"},mU:{A:"a"},MU:{A:"d"},u1:{A:"g"},bold:{A:"b"},italic:{A:"i"}},
ph:{A:"C",logo:{A:"l",Ds:{A:"i"},width:{A:"w"},height:{A:"h"}},Jk:{A:"w"},Ky:{A:"t"}},om:{A:"p",name:{A:"n"},fE:{A:"j"},rD:{A:"b"},Jk:{A:"w"},email:{A:"e"},phone:{A:"p"},ph:{A:"C"},Yx:{A:"P",Ds:{A:"i"},width:{A:"w"},height:{A:"h"}}},sb:{A:"o",id:{A:"i"},Ve:{A:"h"},wc:{A:"s"}},Fb:{A:"v",id:{A:"i"},Ve:{A:"h"},poster:{A:"p"},wc:{A:"s"}},hc:{A:"n",yg:{A:"a"},Fh:{A:"v"},track:{Ns:{A:"i"},volume:{A:"v"},startTimestamp:{A:"st"},endTimestamp:{A:"et"},timestamp:{slideIndex:{A:"s"},stepIndex:{A:"t"},timeOffset:{A:"i"}}}},
hp:{A:"r",type:{A:"t",nU:{A:"a"},EW:{A:"r"}},title:{A:"i"},url:{A:"u"},target:{A:"a"}},lm:{A:"P",loop:{A:"l"},sb:{A:"s"}}},b=QJ();ZH(a,b);return a};q("PresentationPlayer.start",function(a,b,c,d,e){jN(a,BN(),b,c,d).then(f=>{AN(f,e)})});let Xf=()=>!1;function Me(a){a&&("function"===typeof a.ze&&a.ze(),a.disposed=!0)}function CN(a,b){Xf()&&(b?fa.console.error(a):fa.console.warn(a))}function Ue(a,b){const c=a.stack||a.toString();0>String(c).indexOf(a.message)&&CN(a.message,b);CN(c,b)}window.onerror=function(...a){const [b,,,,c]=a;c?Ue(c,!0):CN(b,!0);return!0};Fa=a=>{try{throw Error(a.message);}catch(b){Ue(b,!1)}};
fa.console||(window._log="",fa.console={log:function(a){window._log+="\n"+a},warn:function(a){window._log+="\nwarn: "+a},error:function(a){window._log+="\nerror: "+a}});})();
/*! iScroll v5.2.0-snapshot ~ (c) 2008-2018 Matteo Spinelli ~ http://cubiq.org/license */
!function(t,i,s){function e(s,e){this.wrapper="string"==typeof s?i.querySelector(s):s,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!h.hasPointer,disableTouch:h.hasPointer||!h.hasTouch,disableMouse:h.hasPointer||h.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,onScrollHandler:Function.prototype,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(A|INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:"undefined"==typeof t.onmousedown};for(var o in e)this.options[o]=e[o];this.translateZ=this.options.HWCompositing&&h.hasPerspective?" translateZ(0)":"",this.options.useTransition=h.hasTransition&&this.options.useTransition,this.options.useTransform=h.hasTransform&&this.options.useTransform,this.options.eventPassthrough=this.options.eventPassthrough===!0?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?h.ease[this.options.bounceEasing]||h.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,this.options.tap===!0&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function o(t,s,e){var o=i.createElement("div"),n=i.createElement("div");return e===!0&&(o.style.cssText="position:absolute;z-index:9999",n.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),n.className="iScrollIndicator","h"==t?(e===!0&&(o.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",n.style.height="100%"),o.className="iScrollHorizontalScrollbar"):(e===!0&&(o.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",n.style.width="100%"),o.className="iScrollVerticalScrollbar"),o.style.cssText+=";overflow:hidden",s||(o.style.pointerEvents="none"),o.appendChild(n),o}function n(s,e){this.wrapper="string"==typeof e.el?i.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=s,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var o in e)this.options[o]=e[o];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(h.addEvent(this.indicator,"touchstart",this),h.addEvent(t,"touchend",this)),this.options.disablePointer||(h.addEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.addEvent(t,h.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(h.addEvent(this.indicator,"mousedown",this),h.addEvent(t,"mouseup",this))),this.options.fade){this.wrapperStyle[h.style.transform]=this.scroller.translateZ;var n=h.style.transitionDuration;if(!n)return;this.wrapperStyle[n]=h.isBadAndroid?"0.0001ms":"0ms";var a=this;h.isBadAndroid&&r(function(){"0.0001ms"===a.wrapperStyle[n]&&(a.wrapperStyle[n]="0s")}),this.wrapperStyle.opacity="0"}}var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(i){t.setTimeout(i,1e3/60)},h=function(){function e(t){return r!==!1&&(""===r?t:r+t.charAt(0).toUpperCase()+t.substr(1))}var o={},n=i.createElement("div").style,r=function(){for(var t,i=["t","webkitT","MozT","msT","OT"],s=0,e=i.length;s<e;s++)if(t=i[s]+"ransform",t in n)return i[s].substr(0,i[s].length-1);return!1}();o.getTime=Date.now||function(){return(new Date).getTime()},o.extend=function(t,i){for(var s in i)t[s]=i[s]},o.addEvent=function(t,i,s,e){t.addEventListener(i,s,!!e)},o.removeEvent=function(t,i,s,e){t.removeEventListener(i,s,!!e)},o.prefixPointerEvent=function(i){return t.MSPointerEvent?"MSPointer"+i.charAt(7).toUpperCase()+i.substr(8):i},o.momentum=function(t,i,e,o,n,r){var h,a,l=t-i,c=s.abs(l)/e;return r=void 0===r?6e-4:r,h=t+c*c/(2*r)*(l<0?-1:1),a=c/r,h<o?(h=n?o-n/2.5*(c/8):o,l=s.abs(h-t),a=l/c):h>0&&(h=n?n/2.5*(c/8):0,l=s.abs(t)+h,a=l/c),{destination:s.round(h),duration:a}};var h=e("transform");return o.extend(o,{hasTransform:h!==!1,hasPerspective:e("perspective")in n,hasTouch:"ontouchstart"in t,hasPointer:!(!t.PointerEvent&&!t.MSPointerEvent),hasTransition:e("transition")in n}),o.isBadAndroid=function(){var i=t.navigator.appVersion;if(/Android/.test(i)&&!/Chrome\/\d/.test(i)){var s=i.match(/Safari\/(\d+.\d)/);return!(s&&"object"==typeof s&&s.length>=2)||parseFloat(s[1])<535.19}return!1}(),o.extend(o.style={},{transform:h,transitionTimingFunction:e("transitionTimingFunction"),transitionDuration:e("transitionDuration"),transitionDelay:e("transitionDelay"),transformOrigin:e("transformOrigin"),touchAction:e("touchAction")}),o.hasClass=function(t,i){var s=new RegExp("(^|\\s)"+i+"(\\s|$)");return s.test(t.className)},o.addClass=function(t,i){if(!o.hasClass(t,i)){var s=t.className.split(" ");s.push(i),t.className=s.join(" ")}},o.removeClass=function(t,i){if(o.hasClass(t,i)){var s=new RegExp("(^|\\s)"+i+"(\\s|$)","g");t.className=t.className.replace(s," ")}},o.offset=function(t){for(var i=-t.offsetLeft,s=-t.offsetTop;t=t.offsetParent;)i-=t.offsetLeft,s-=t.offsetTop;return{left:i,top:s}},o.isHyperlink=function(t){if(!t)return!1;for(;t;){if("A"==t.nodeName.toLocaleUpperCase())return!0;t=t.parentNode}return!1},o.preventDefaultException=function(t,i){if(o.isHyperlink(t))return!0;for(var s in i)if(i[s].test(t[s]))return!0;return!1},o.extend(o.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),o.extend(o.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return s.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){var i=4;return(t-=1)*t*((i+1)*t+i)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){var i=.22,e=.4;return 0===t?0:1==t?1:e*s.pow(2,-10*t)*s.sin((t-i/4)*(2*s.PI)/i)+1}}}),o.tap=function(t,s){var e=i.createEvent("Event");e.initEvent(s,!0,!0),e.pageX=t.pageX,e.pageY=t.pageY,t.target.dispatchEvent(e)},o.click=function(s){var e,o=s.target;/(SELECT|INPUT|TEXTAREA)/i.test(o.tagName)||(e=i.createEvent(t.MouseEvent?"MouseEvents":"Event"),e.initEvent("click",!0,!0),e.view=s.view||t,e.detail=1,e.screenX=o.screenX||0,e.screenY=o.screenY||0,e.clientX=o.clientX||0,e.clientY=o.clientY||0,e.ctrlKey=!!s.ctrlKey,e.altKey=!!s.altKey,e.shiftKey=!!s.shiftKey,e.metaKey=!!s.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,o.dispatchEvent(e))},o.getTouchAction=function(t,i){var s="none";return"vertical"===t?s="pan-y":"horizontal"===t&&(s="pan-x"),i&&"none"!=s&&(s+=" pinch-zoom"),s},o.getRect=function(t){if(t instanceof SVGElement){var i=t.getBoundingClientRect();return{top:i.top,left:i.left,width:i.width,height:i.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}},o}();e.prototype={version:"5.2.0-snapshot",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},setScrollHeight:function(t){this.scrollHeight=t,this.refresh()},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=h.eventType[t.type]){var i;if(i=t.which?t.button:t.button<2?0:4==t.button?1:2,0!==i)return}if(this.enabled&&(!this.initiated||h.eventType[t.type]===this.initiated)){!this.options.preventDefault||h.isBadAndroid||h.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,o=t.touches?t.touches[0]:t;this.initiated=h.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=h.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(s.round(e.x),s.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=o.pageX,this.pointY=o.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o,n,r=t.touches?t.touches[0]:t,a=r.pageX-this.pointX,l=r.pageY-this.pointY,c=h.getTime();if(this.pointX=r.pageX,this.pointY=r.pageY,this.distX+=a,this.distY+=l,o=s.abs(this.distX),n=s.abs(this.distY),!(c-this.endTime>300&&o<10&&n<10)){if(this.directionLocked||this.options.freeScroll||(o>n+this.options.directionLockThreshold?this.directionLocked="h":n>=o+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}a=this.hasHorizontalScroll?a:0,l=this.hasVerticalScroll?l:0,i=this.x+a,e=this.y+l,(i>0||i<this.maxScrollX)&&(i=this.options.bounce?this.x+a/3:i>0?0:this.maxScrollX),(e>0||e<this.maxScrollY)&&(e=this.options.bounce?this.y+l/3:e>0?0:this.maxScrollY),this.directionX=a>0?-1:a<0?1:0,this.directionY=l>0?-1:l<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(i,e),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&h.eventType[t.type]===this.initiated){this.options.preventDefault&&!h.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var i,e,o=(t.changedTouches?t.changedTouches[0]:t,h.getTime()-this.startTime),n=s.round(this.x),r=s.round(this.y),a=s.abs(n-this.startX),l=s.abs(r-this.startY),c=0,p="";if(this.isInTransition=0,this.initiated=0,this.endTime=h.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(n,r),!this.moved)return this.options.tap&&h.tap(t,this.options.tap),this.options.click&&h.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&o<200&&a<100&&l<100)return void this._execEvent("flick");if(this.options.momentum&&o<300&&(i=this.hasHorizontalScroll?h.momentum(this.x,this.startX,o,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:n,duration:0},e=this.hasVerticalScroll?h.momentum(this.y,this.startY,o,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},n=i.destination,r=e.destination,c=s.max(i.duration,e.duration),this.isInTransition=1),this.options.snap){var d=this._nearestSnap(n,r);this.currentPage=d,c=this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-d.x),1e3),s.min(s.abs(r-d.y),1e3)),300),n=d.x,r=d.y,this.directionX=0,this.directionY=0,p=this.options.bounceEasing}return n!=this.x||r!=this.y?((n>0||n<this.maxScrollX||r>0||r<this.maxScrollY)&&(p=h.ease.quadratic),void this.scrollTo(n,r,c,p)):void this._execEvent("scrollEnd")}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var i=this.x,s=this.y;return t=t||0,!this.hasHorizontalScroll||this.x>0?i=0:this.x<this.maxScrollX&&(i=this.maxScrollX),!this.hasVerticalScroll||this.y>0?s=0:this.y<this.maxScrollY&&(s=this.maxScrollY),(i!=this.x||s!=this.y)&&(this.scrollTo(i,s,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){h.getRect(this.wrapper),this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight;var t=h.getRect(this.scroller);this.scrollHeight&&(t.height=this.scrollHeight),this.scrollerWidth=t.width,this.scrollerHeight=t.height,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,h.hasPointer&&!this.options.disablePointer&&(this.wrapper.style[h.style.touchAction]=h.getTouchAction(this.options.eventPassthrough,!0),this.wrapper.style[h.style.touchAction]||(this.wrapper.style[h.style.touchAction]=h.getTouchAction(this.options.eventPassthrough,!1))),this.wrapperOffset=h.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,i){this._events[t]||(this._events[t]=[]),this._events[t].push(i)},off:function(t,i){if(this._events[t]){var s=this._events[t].indexOf(i);s>-1&&this._events[t].splice(s,1)}},_execEvent:function(t){if(this._events[t]){var i=0,s=this._events[t].length;if(s)for(;i<s;i++)this._events[t][i].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,i,s,e){t=this.x+t,i=this.y+i,s=s||0,this.scrollTo(t,i,s,e)},scrollTo:function(t,i,s,e){e=e||h.ease.circular,this.isInTransition=this.options.useTransition&&s>0;var o=this.options.useTransition&&e.style;!s||o?(o&&(this._transitionTimingFunction(e.style),this._transitionTime(s)),this._translate(t,i)):this._animate(t,i,s,e.fn)},scrollToElement:function(t,i,e,o,n){if(t=t.nodeType?t:this.scroller.querySelector(t)){var r=h.offset(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top;var a=h.getRect(t),l=h.getRect(this.wrapper);e===!0&&(e=s.round(a.width/2-l.width/2)),o===!0&&(o=s.round(a.height/2-l.height/2)),r.left-=e||0,r.top-=o||0,r.left=r.left>0?0:r.left<this.maxScrollX?this.maxScrollX:r.left,r.top=r.top>0?0:r.top<this.maxScrollY?this.maxScrollY:r.top,i=void 0===i||null===i||"auto"===i?s.max(s.abs(this.x-r.left),s.abs(this.y-r.top)):i,this.scrollTo(r.left,r.top,i,n)}},_transitionTime:function(t){if(this.options.useTransition){t=t||0;var i=h.style.transitionDuration;if(i){if(this.scrollerStyle[i]=t+"ms",!t&&h.isBadAndroid){this.scrollerStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.scrollerStyle[i]&&(s.scrollerStyle[i]="0s")})}if(this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTime(t)}}},_transitionTimingFunction:function(t){if(this.scrollerStyle[h.style.transitionTimingFunction]=t,this.indicators)for(var i=this.indicators.length;i--;)this.indicators[i].transitionTimingFunction(t)},_translate:function(t,i){if(this.options.useTransform?this.scrollerStyle[h.style.transform]="translate("+t+"px,"+i+"px)"+this.translateZ:(t=s.round(t),i=s.round(i),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=i+"px"),this.x=t,this.y=i,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].updatePosition();this.options.onScrollHandler()},_initEvents:function(i){var s=i?h.removeEvent:h.addEvent,e=this.options.bindToWrapper?this.wrapper:t;s(t,"orientationchange",this),s(t,"resize",this),this.options.click&&s(this.wrapper,"click",this,!0),this.options.disableMouse||(s(this.wrapper,"mousedown",this),s(e,"mousemove",this),s(e,"mousecancel",this),s(e,"mouseup",this)),h.hasPointer&&!this.options.disablePointer&&(s(this.wrapper,h.prefixPointerEvent("pointerdown"),this),s(e,h.prefixPointerEvent("pointermove"),this),s(e,h.prefixPointerEvent("pointercancel"),this),s(e,h.prefixPointerEvent("pointerup"),this)),h.hasTouch&&!this.options.disableTouch&&(s(this.wrapper,"touchstart",this),s(e,"touchmove",this),s(e,"touchcancel",this),s(e,"touchend",this)),s(this.scroller,"transitionend",this),s(this.scroller,"webkitTransitionEnd",this),s(this.scroller,"oTransitionEnd",this),s(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var i,s,e=t.getComputedStyle(this.scroller,null);return this.options.useTransform?(e=e[h.style.transform].split(")")[0].split(", "),i=+(e[12]||e[4]),s=+(e[13]||e[5])):(i=+e.left.replace(/[^-\d.]/g,""),s=+e.top.replace(/[^-\d.]/g,"")),{x:i,y:s}},_initIndicators:function(){function t(t){if(h.indicators)for(var i=h.indicators.length;i--;)t.call(h.indicators[i])}var i,s=this.options.interactiveScrollbars,e="string"!=typeof this.options.scrollbars,r=[],h=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(i={el:o("v",s,this.options.scrollbars),interactive:s,defaultScrollbars:!0,customStyle:e,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(i.el),r.push(i)),this.options.scrollX&&(i={el:o("h",s,this.options.scrollbars),interactive:s,defaultScrollbars:!0,customStyle:e,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(i.el),r.push(i))),this.options.indicators&&(r=r.concat(this.options.indicators));for(var a=r.length;a--;)this.indicators.push(new n(this,r[a]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){t(function(){this.fade()})}),this.on("scrollCancel",function(){t(function(){this.fade()})}),this.on("scrollStart",function(){t(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){t(function(){this.fade(1,!0)})})),this.on("refresh",function(){t(function(){this.refresh()})}),this.on("destroy",function(){t(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){h.addEvent(this.wrapper,"wheel",this),h.addEvent(this.wrapper,"mousewheel",this),h.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){clearTimeout(this.wheelTimeout),this.wheelTimeout=null,h.removeEvent(this.wrapper,"wheel",this),h.removeEvent(this.wrapper,"mousewheel",this),h.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault();var i,e,o,n,r=this;if(void 0===this.wheelTimeout&&r._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){r.options.snap||r._execEvent("scrollEnd"),r.wheelTimeout=void 0},400),"deltaX"in t)1===t.deltaMode?(i=-t.deltaX*this.options.mouseWheelSpeed,e=-t.deltaY*this.options.mouseWheelSpeed):(i=-t.deltaX,e=-t.deltaY);else if("wheelDeltaX"in t)i=t.wheelDeltaX/120*this.options.mouseWheelSpeed,e=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)i=e=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;i=e=-t.detail/3*this.options.mouseWheelSpeed}if(i*=this.options.invertWheelDirection,e*=this.options.invertWheelDirection,this.hasVerticalScroll||(i=e,e=0),this.options.snap)return o=this.currentPage.pageX,n=this.currentPage.pageY,i>0?o--:i<0&&o++,e>0?n--:e<0&&n++,void this.goToPage(o,n);o=this.x+s.round(this.hasHorizontalScroll?i:0),n=this.y+s.round(this.hasVerticalScroll?e:0),this.directionX=i>0?-1:i<0?1:0,this.directionY=e>0?-1:e<0?1:0,o>0?o=0:o<this.maxScrollX&&(o=this.maxScrollX),n>0?n=0:n<this.maxScrollY&&(n=this.maxScrollY),this.scrollTo(o,n,0)}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,i,e,o,n,r,a,l=0,c=0,p=0,d=this.options.snapStepX||this.wrapperWidth,u=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(this.options.snap===!0)for(e=s.round(d/2),o=s.round(u/2);p>-this.scrollerWidth;){for(this.pages[l]=[],t=0,n=0;n>-this.scrollerHeight;)this.pages[l][t]={x:s.max(p,this.maxScrollX),y:s.max(n,this.maxScrollY),width:d,height:u,cx:p-e,cy:n-o},n-=u,t++;p-=d,l++}else for(r=this.options.snap,t=r.length,i=-1;l<t;l++)a=h.getRect(r[l]),(0===l||a.left<=h.getRect(r[l-1]).left)&&(c=0,i++),this.pages[c]||(this.pages[c]=[]),p=s.max(-a.left,this.maxScrollX),n=s.max(-a.top,this.maxScrollY),e=p-s.round(a.width/2),o=n-s.round(a.height/2),this.pages[c][i]={x:p,y:n,width:a.width,height:a.height,cx:e,cy:o},p>this.maxScrollX&&c++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1===0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=s.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.x-this.startX),1e3),s.min(s.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,i){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var e=0,o=this.pages.length,n=0;if(s.abs(t-this.absStartX)<this.snapThresholdX&&s.abs(i-this.absStartY)<this.snapThresholdY)return this.currentPage;for(t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),i>0?i=0:i<this.maxScrollY&&(i=this.maxScrollY);e<o;e++)if(t>=this.pages[e][0].cx){t=this.pages[e][0].x;break}for(o=this.pages[e].length;n<o;n++)if(i>=this.pages[0][n].cy){i=this.pages[0][n].y;break}return e==this.currentPage.pageX&&(e+=this.directionX,e<0?e=0:e>=this.pages.length&&(e=this.pages.length-1),t=this.pages[e][0].x),n==this.currentPage.pageY&&(n+=this.directionY,n<0?n=0:n>=this.pages[0].length&&(n=this.pages[0].length-1),i=this.pages[0][n].y),{x:t,y:i,pageX:e,pageY:n}},goToPage:function(t,i,e,o){o=o||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),i>=this.pages[t].length?i=this.pages[t].length-1:i<0&&(i=0);var n=this.pages[t][i].x,r=this.pages[t][i].y;e=void 0===e?this.options.snapSpeed||s.max(s.max(s.min(s.abs(n-this.x),1e3),s.min(s.abs(r-this.y),1e3)),300):e,this.currentPage={x:n,y:r,pageX:t,pageY:i},this.scrollTo(n,r,e,o)},next:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s++,s>=this.pages.length&&this.hasVerticalScroll&&(s=0,e++),this.goToPage(s,e,t,i)},prev:function(t,i){var s=this.currentPage.pageX,e=this.currentPage.pageY;s--,s<0&&this.hasVerticalScroll&&(s=0,e--),this.goToPage(s,e,t,i)},_initKeys:function(i){var s,e={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(s in this.options.keyBindings)"string"==typeof this.options.keyBindings[s]&&(this.options.keyBindings[s]=this.options.keyBindings[s].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(s in e)this.options.keyBindings[s]=this.options.keyBindings[s]||e[s];h.addEvent(t,"keydown",this),this.on("destroy",function(){h.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var i,e=this.options.snap,o=e?this.currentPage.pageX:this.x,n=e?this.currentPage.pageY:this.y,r=h.getTime(),a=this.keyTime||0,l=.25;switch(this.options.useTransition&&this.isInTransition&&(i=this.getComputedPosition(),this._translate(s.round(i.x),s.round(i.y)),this.isInTransition=!1),this.keyAcceleration=r-a<200?s.min(this.keyAcceleration+l,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?o+=e?1:this.wrapperWidth:n+=e?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?o-=e?1:this.wrapperWidth:n-=e?1:this.wrapperHeight;break;case this.options.keyBindings.end:o=e?this.pages.length-1:this.maxScrollX,n=e?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=0,n=0;break;case this.options.keyBindings.left:o+=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:n+=e?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:o-=e?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:n-=e?1:5+this.keyAcceleration>>0;break;default:return}if(e)return void this.goToPage(o,n);o>0?(o=0,this.keyAcceleration=0):o<this.maxScrollX&&(o=this.maxScrollX,this.keyAcceleration=0),n>0?(n=0,this.keyAcceleration=0):n<this.maxScrollY&&(n=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(o,n,0),this.keyTime=r}},_animate:function(t,i,s,e){function o(){var d,u,m,f=h.getTime();return f>=p?(n.isAnimating=!1,n._translate(t,i),void(n.resetPosition(n.options.bounceTime)||n._execEvent("scrollEnd"))):(f=(f-c)/s,m=e(f),d=(t-a)*m+a,u=(i-l)*m+l,n._translate(d,u),void(n.isAnimating&&r(o)))}var n=this,a=this.x,l=this.y,c=h.getTime(),p=c+s;this.isAnimating=!0,o()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":t.defaultPrevented||this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":t.defaultPrevented||this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed}}},n.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(h.removeEvent(this.indicator,"touchstart",this),h.removeEvent(this.indicator,h.prefixPointerEvent("pointerdown"),this),h.removeEvent(this.indicator,"mousedown",this),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),h.removeEvent(t,"touchend",this),h.removeEvent(t,h.prefixPointerEvent("pointerup"),this),h.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(i){var s=i.touches?i.touches[0]:i;i.preventDefault(),i.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=s.pageX,this.lastPointY=s.pageY,this.startTime=h.getTime(),this.options.disableTouch||h.addEvent(t,"touchmove",this),this.options.disablePointer||h.addEvent(t,h.prefixPointerEvent("pointermove"),this),this.options.disableMouse||h.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var i,s,e,o,n=t.touches?t.touches[0]:t;h.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,i=n.pageX-this.lastPointX,this.lastPointX=n.pageX,s=n.pageY-this.lastPointY,this.lastPointY=n.pageY,e=this.x+i,o=this.y+s,this._pos(e,o),t.preventDefault(),t.stopPropagation()},_end:function(i){if(this.initiated){if(this.initiated=!1,i.preventDefault(),i.stopPropagation(),h.removeEvent(t,"touchmove",this),h.removeEvent(t,h.prefixPointerEvent("pointermove"),this),h.removeEvent(t,"mousemove",this),this.scroller.options.snap){var e=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),o=this.options.snapSpeed||s.max(s.max(s.min(s.abs(this.scroller.x-e.x),1e3),s.min(s.abs(this.scroller.y-e.y),1e3)),300);this.scroller.x==e.x&&this.scroller.y==e.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=e,this.scroller.scrollTo(e.x,e.y,o,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var i=h.style.transitionDuration;if(i&&(this.indicatorStyle[i]=t+"ms",!t&&h.isBadAndroid)){this.indicatorStyle[i]="0.0001ms";var s=this;r(function(){"0.0001ms"===s.indicatorStyle[i]&&(s.indicatorStyle[i]="0s")})}},transitionTimingFunction:function(t){this.indicatorStyle[h.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(h.addClass(this.wrapper,"iScrollBothScrollbars"),h.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(h.removeClass(this.wrapper,"iScrollBothScrollbars"),h.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),h.getRect(this.wrapper),this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=s.max(s.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=-this.indicatorWidth+8,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=s.max(s.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=-this.indicatorHeight+8,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),
this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&s.round(this.sizeRatioX*this.scroller.x)||0,i=this.options.listenY&&s.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=s.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=s.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),i<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=s.max(this.indicatorHeight+3*i,8),this.indicatorStyle.height=this.height+"px"),i=this.minBoundaryY):i>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=s.max(this.indicatorHeight-3*(i-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",i=this.maxPosY+this.indicatorHeight-this.height):i=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=i,this.scroller.options.useTransform?this.indicatorStyle[h.style.transform]="translate("+t+"px,"+i+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=i+"px")},_pos:function(t,i){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),i<0?i=0:i>this.maxPosY&&(i=this.maxPosY),t=this.options.listenX?s.round(t/this.sizeRatioX):this.scroller.x,i=this.options.listenY?s.round(i/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,i)},fade:function(t,i){if(!i||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var s=t?250:500,e=t?0:300;t=t?"1":"0",this.wrapperStyle[h.style.transitionDuration]=s+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),e)}}},e.utils=h,"undefined"!=typeof module&&module.exports?module.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):t.IScroll=e}(window,document,Math);!function(e,n,s){function t(e,n){return typeof e===n}function o(){var e,n,s,o,a,i,l;for(var c in f)if(f.hasOwnProperty(c)){if(e=[],n=f[c],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(s=0;s<n.options.aliases.length;s++)e.push(n.options.aliases[s].toLowerCase());for(o=t(n.fn,"function")?n.fn():n.fn,a=0;a<e.length;a++)i=e[a],l=i.split("."),1===l.length?Modernizr[l[0]]=o:(!Modernizr[l[0]]||Modernizr[l[0]]instanceof Boolean||(Modernizr[l[0]]=new Boolean(Modernizr[l[0]])),Modernizr[l[0]][l[1]]=o),r.push((o?"":"no-")+l.join("-"))}}function a(e){var n=c.className,s=Modernizr._config.classPrefix||"";if(u&&(n=n.baseVal),Modernizr._config.enableJSClass){var t=new RegExp("(^|\\s)"+s+"no-js(\\s|$)");n=n.replace(t,"$1"+s+"js$2")}Modernizr._config.enableClasses&&(n+=" "+s+e.join(" "+s),u?c.className.baseVal=n:c.className=n)}function i(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):u?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}var r=[],f=[],l={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var s=this;setTimeout(function(){n(s[e])},0)},addTest:function(e,n,s){f.push({name:e,fn:n,options:s})},addAsyncTest:function(e){f.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=l,Modernizr=new Modernizr;var c=n.documentElement,u="svg"===c.nodeName.toLowerCase();Modernizr.addTest("inlinesvg",function(){var e=i("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)});var p="Moz O ms Webkit",d=l._config.usePrefixes?p.split(" "):[];l._cssomPrefixes=d;var m=function(n){var t,o=g.length,a=e.CSSRule;if("undefined"==typeof a)return s;if(!n)return!1;if(n=n.replace(/^@/,""),t=n.replace(/-/g,"_").toUpperCase()+"_RULE",t in a)return"@"+n;for(var i=0;o>i;i++){var r=g[i],f=r.toUpperCase()+"_"+t;if(f in a)return"@-"+r.toLowerCase()+"-"+n}return!1};l.atRule=m;var g=l._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];l._prefixes=g,o(),a(r),delete l.addTest,delete l.addAsyncTest;for(var v=0;v<Modernizr._q.length;v++)Modernizr._q[v]();e.Modernizr=Modernizr}(window,document);// glMatrix v0.9.5
glMatrixArrayType=typeof Float32Array!="undefined"?Float32Array:typeof WebGLFloatArray!="undefined"?WebGLFloatArray:Array;var vec3={};vec3.create=function(a){var b=new glMatrixArrayType(3);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2]}return b};vec3.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];return b};vec3.add=function(a,b,c){if(!c||a==c){a[0]+=b[0];a[1]+=b[1];a[2]+=b[2];return a}c[0]=a[0]+b[0];c[1]=a[1]+b[1];c[2]=a[2]+b[2];return c};
vec3.subtract=function(a,b,c){if(!c||a==c){a[0]-=b[0];a[1]-=b[1];a[2]-=b[2];return a}c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];return c};vec3.negate=function(a,b){b||(b=a);b[0]=-a[0];b[1]=-a[1];b[2]=-a[2];return b};vec3.scale=function(a,b,c){if(!c||a==c){a[0]*=b;a[1]*=b;a[2]*=b;return a}c[0]=a[0]*b;c[1]=a[1]*b;c[2]=a[2]*b;return c};
vec3.normalize=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=Math.sqrt(c*c+d*d+e*e);if(g){if(g==1){b[0]=c;b[1]=d;b[2]=e;return b}}else{b[0]=0;b[1]=0;b[2]=0;return b}g=1/g;b[0]=c*g;b[1]=d*g;b[2]=e*g;return b};vec3.cross=function(a,b,c){c||(c=a);var d=a[0],e=a[1];a=a[2];var g=b[0],f=b[1];b=b[2];c[0]=e*b-a*f;c[1]=a*g-d*b;c[2]=d*f-e*g;return c};vec3.length=function(a){var b=a[0],c=a[1];a=a[2];return Math.sqrt(b*b+c*c+a*a)};vec3.dot=function(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]};
vec3.direction=function(a,b,c){c||(c=a);var d=a[0]-b[0],e=a[1]-b[1];a=a[2]-b[2];b=Math.sqrt(d*d+e*e+a*a);if(!b){c[0]=0;c[1]=0;c[2]=0;return c}b=1/b;c[0]=d*b;c[1]=e*b;c[2]=a*b;return c};vec3.lerp=function(a,b,c,d){d||(d=a);d[0]=a[0]+c*(b[0]-a[0]);d[1]=a[1]+c*(b[1]-a[1]);d[2]=a[2]+c*(b[2]-a[2]);return d};vec3.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+"]"};var mat3={};
mat3.create=function(a){var b=new glMatrixArrayType(9);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9]}return b};mat3.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return b};mat3.identity=function(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=1;a[5]=0;a[6]=0;a[7]=0;a[8]=1;return a};
mat3.transpose=function(a,b){if(!b||a==b){var c=a[1],d=a[2],e=a[5];a[1]=a[3];a[2]=a[6];a[3]=c;a[5]=a[7];a[6]=d;a[7]=e;return a}b[0]=a[0];b[1]=a[3];b[2]=a[6];b[3]=a[1];b[4]=a[4];b[5]=a[7];b[6]=a[2];b[7]=a[5];b[8]=a[8];return b};mat3.toMat4=function(a,b){b||(b=mat4.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=0;b[4]=a[3];b[5]=a[4];b[6]=a[5];b[7]=0;b[8]=a[6];b[9]=a[7];b[10]=a[8];b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b};
mat3.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+"]"};var mat4={};mat4.create=function(a){var b=new glMatrixArrayType(16);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15]}return b};
mat4.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return b};mat4.identity=function(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1;return a};
mat4.transpose=function(a,b){if(!b||a==b){var c=a[1],d=a[2],e=a[3],g=a[6],f=a[7],h=a[11];a[1]=a[4];a[2]=a[8];a[3]=a[12];a[4]=c;a[6]=a[9];a[7]=a[13];a[8]=d;a[9]=g;a[11]=a[14];a[12]=e;a[13]=f;a[14]=h;return a}b[0]=a[0];b[1]=a[4];b[2]=a[8];b[3]=a[12];b[4]=a[1];b[5]=a[5];b[6]=a[9];b[7]=a[13];b[8]=a[2];b[9]=a[6];b[10]=a[10];b[11]=a[14];b[12]=a[3];b[13]=a[7];b[14]=a[11];b[15]=a[15];return b};
mat4.determinant=function(a){var b=a[0],c=a[1],d=a[2],e=a[3],g=a[4],f=a[5],h=a[6],i=a[7],j=a[8],k=a[9],l=a[10],o=a[11],m=a[12],n=a[13],p=a[14];a=a[15];return m*k*h*e-j*n*h*e-m*f*l*e+g*n*l*e+j*f*p*e-g*k*p*e-m*k*d*i+j*n*d*i+m*c*l*i-b*n*l*i-j*c*p*i+b*k*p*i+m*f*d*o-g*n*d*o-m*c*h*o+b*n*h*o+g*c*p*o-b*f*p*o-j*f*d*a+g*k*d*a+j*c*h*a-b*k*h*a-g*c*l*a+b*f*l*a};
mat4.inverse=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=a[3],f=a[4],h=a[5],i=a[6],j=a[7],k=a[8],l=a[9],o=a[10],m=a[11],n=a[12],p=a[13],r=a[14],s=a[15],A=c*h-d*f,B=c*i-e*f,t=c*j-g*f,u=d*i-e*h,v=d*j-g*h,w=e*j-g*i,x=k*p-l*n,y=k*r-o*n,z=k*s-m*n,C=l*r-o*p,D=l*s-m*p,E=o*s-m*r,q=1/(A*E-B*D+t*C+u*z-v*y+w*x);b[0]=(h*E-i*D+j*C)*q;b[1]=(-d*E+e*D-g*C)*q;b[2]=(p*w-r*v+s*u)*q;b[3]=(-l*w+o*v-m*u)*q;b[4]=(-f*E+i*z-j*y)*q;b[5]=(c*E-e*z+g*y)*q;b[6]=(-n*w+r*t-s*B)*q;b[7]=(k*w-o*t+m*B)*q;b[8]=(f*D-h*z+j*x)*q;
b[9]=(-c*D+d*z-g*x)*q;b[10]=(n*v-p*t+s*A)*q;b[11]=(-k*v+l*t-m*A)*q;b[12]=(-f*C+h*y-i*x)*q;b[13]=(c*C-d*y+e*x)*q;b[14]=(-n*u+p*B-r*A)*q;b[15]=(k*u-l*B+o*A)*q;return b};mat4.toRotationMat=function(a,b){b||(b=mat4.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b};
mat4.toMat3=function(a,b){b||(b=mat3.create());b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[4];b[4]=a[5];b[5]=a[6];b[6]=a[8];b[7]=a[9];b[8]=a[10];return b};mat4.toInverseMat3=function(a,b){var c=a[0],d=a[1],e=a[2],g=a[4],f=a[5],h=a[6],i=a[8],j=a[9],k=a[10],l=k*f-h*j,o=-k*g+h*i,m=j*g-f*i,n=c*l+d*o+e*m;if(!n)return null;n=1/n;b||(b=mat3.create());b[0]=l*n;b[1]=(-k*d+e*j)*n;b[2]=(h*d-e*f)*n;b[3]=o*n;b[4]=(k*c-e*i)*n;b[5]=(-h*c+e*g)*n;b[6]=m*n;b[7]=(-j*c+d*i)*n;b[8]=(f*c-d*g)*n;return b};
mat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],g=a[2],f=a[3],h=a[4],i=a[5],j=a[6],k=a[7],l=a[8],o=a[9],m=a[10],n=a[11],p=a[12],r=a[13],s=a[14];a=a[15];var A=b[0],B=b[1],t=b[2],u=b[3],v=b[4],w=b[5],x=b[6],y=b[7],z=b[8],C=b[9],D=b[10],E=b[11],q=b[12],F=b[13],G=b[14];b=b[15];c[0]=A*d+B*h+t*l+u*p;c[1]=A*e+B*i+t*o+u*r;c[2]=A*g+B*j+t*m+u*s;c[3]=A*f+B*k+t*n+u*a;c[4]=v*d+w*h+x*l+y*p;c[5]=v*e+w*i+x*o+y*r;c[6]=v*g+w*j+x*m+y*s;c[7]=v*f+w*k+x*n+y*a;c[8]=z*d+C*h+D*l+E*p;c[9]=z*e+C*i+D*o+E*r;c[10]=z*
g+C*j+D*m+E*s;c[11]=z*f+C*k+D*n+E*a;c[12]=q*d+F*h+G*l+b*p;c[13]=q*e+F*i+G*o+b*r;c[14]=q*g+F*j+G*m+b*s;c[15]=q*f+F*k+G*n+b*a;return c};mat4.multiplyVec3=function(a,b,c){c||(c=b);var d=b[0],e=b[1];b=b[2];c[0]=a[0]*d+a[4]*e+a[8]*b+a[12];c[1]=a[1]*d+a[5]*e+a[9]*b+a[13];c[2]=a[2]*d+a[6]*e+a[10]*b+a[14];return c};
mat4.multiplyVec4=function(a,b,c){c||(c=b);var d=b[0],e=b[1],g=b[2];b=b[3];c[0]=a[0]*d+a[4]*e+a[8]*g+a[12]*b;c[1]=a[1]*d+a[5]*e+a[9]*g+a[13]*b;c[2]=a[2]*d+a[6]*e+a[10]*g+a[14]*b;c[3]=a[3]*d+a[7]*e+a[11]*g+a[15]*b;return c};
mat4.translate=function(a,b,c){var d=b[0],e=b[1];b=b[2];if(!c||a==c){a[12]=a[0]*d+a[4]*e+a[8]*b+a[12];a[13]=a[1]*d+a[5]*e+a[9]*b+a[13];a[14]=a[2]*d+a[6]*e+a[10]*b+a[14];a[15]=a[3]*d+a[7]*e+a[11]*b+a[15];return a}var g=a[0],f=a[1],h=a[2],i=a[3],j=a[4],k=a[5],l=a[6],o=a[7],m=a[8],n=a[9],p=a[10],r=a[11];c[0]=g;c[1]=f;c[2]=h;c[3]=i;c[4]=j;c[5]=k;c[6]=l;c[7]=o;c[8]=m;c[9]=n;c[10]=p;c[11]=r;c[12]=g*d+j*e+m*b+a[12];c[13]=f*d+k*e+n*b+a[13];c[14]=h*d+l*e+p*b+a[14];c[15]=i*d+o*e+r*b+a[15];return c};
mat4.scale=function(a,b,c){var d=b[0],e=b[1];b=b[2];if(!c||a==c){a[0]*=d;a[1]*=d;a[2]*=d;a[3]*=d;a[4]*=e;a[5]*=e;a[6]*=e;a[7]*=e;a[8]*=b;a[9]*=b;a[10]*=b;a[11]*=b;return a}c[0]=a[0]*d;c[1]=a[1]*d;c[2]=a[2]*d;c[3]=a[3]*d;c[4]=a[4]*e;c[5]=a[5]*e;c[6]=a[6]*e;c[7]=a[7]*e;c[8]=a[8]*b;c[9]=a[9]*b;c[10]=a[10]*b;c[11]=a[11]*b;c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15];return c};
mat4.rotate=function(a,b,c,d){var e=c[0],g=c[1];c=c[2];var f=Math.sqrt(e*e+g*g+c*c);if(!f)return null;if(f!=1){f=1/f;e*=f;g*=f;c*=f}var h=Math.sin(b),i=Math.cos(b),j=1-i;b=a[0];f=a[1];var k=a[2],l=a[3],o=a[4],m=a[5],n=a[6],p=a[7],r=a[8],s=a[9],A=a[10],B=a[11],t=e*e*j+i,u=g*e*j+c*h,v=c*e*j-g*h,w=e*g*j-c*h,x=g*g*j+i,y=c*g*j+e*h,z=e*c*j+g*h;e=g*c*j-e*h;g=c*c*j+i;if(d){if(a!=d){d[12]=a[12];d[13]=a[13];d[14]=a[14];d[15]=a[15]}}else d=a;d[0]=b*t+o*u+r*v;d[1]=f*t+m*u+s*v;d[2]=k*t+n*u+A*v;d[3]=l*t+p*u+B*
v;d[4]=b*w+o*x+r*y;d[5]=f*w+m*x+s*y;d[6]=k*w+n*x+A*y;d[7]=l*w+p*x+B*y;d[8]=b*z+o*e+r*g;d[9]=f*z+m*e+s*g;d[10]=k*z+n*e+A*g;d[11]=l*z+p*e+B*g;return d};mat4.rotateX=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[4],g=a[5],f=a[6],h=a[7],i=a[8],j=a[9],k=a[10],l=a[11];if(c){if(a!=c){c[0]=a[0];c[1]=a[1];c[2]=a[2];c[3]=a[3];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[4]=e*b+i*d;c[5]=g*b+j*d;c[6]=f*b+k*d;c[7]=h*b+l*d;c[8]=e*-d+i*b;c[9]=g*-d+j*b;c[10]=f*-d+k*b;c[11]=h*-d+l*b;return c};
mat4.rotateY=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[0],g=a[1],f=a[2],h=a[3],i=a[8],j=a[9],k=a[10],l=a[11];if(c){if(a!=c){c[4]=a[4];c[5]=a[5];c[6]=a[6];c[7]=a[7];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[0]=e*b+i*-d;c[1]=g*b+j*-d;c[2]=f*b+k*-d;c[3]=h*b+l*-d;c[8]=e*d+i*b;c[9]=g*d+j*b;c[10]=f*d+k*b;c[11]=h*d+l*b;return c};
mat4.rotateZ=function(a,b,c){var d=Math.sin(b);b=Math.cos(b);var e=a[0],g=a[1],f=a[2],h=a[3],i=a[4],j=a[5],k=a[6],l=a[7];if(c){if(a!=c){c[8]=a[8];c[9]=a[9];c[10]=a[10];c[11]=a[11];c[12]=a[12];c[13]=a[13];c[14]=a[14];c[15]=a[15]}}else c=a;c[0]=e*b+i*d;c[1]=g*b+j*d;c[2]=f*b+k*d;c[3]=h*b+l*d;c[4]=e*-d+i*b;c[5]=g*-d+j*b;c[6]=f*-d+k*b;c[7]=h*-d+l*b;return c};
mat4.frustum=function(a,b,c,d,e,g,f){f||(f=mat4.create());var h=b-a,i=d-c,j=g-e;f[0]=e*2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=e*2/i;f[6]=0;f[7]=0;f[8]=(b+a)/h;f[9]=(d+c)/i;f[10]=-(g+e)/j;f[11]=-1;f[12]=0;f[13]=0;f[14]=-(g*e*2)/j;f[15]=0;return f};mat4.perspective=function(a,b,c,d,e){a=c*Math.tan(a*Math.PI/360);b=a*b;return mat4.frustum(-b,b,-a,a,c,d,e)};
mat4.ortho=function(a,b,c,d,e,g,f){f||(f=mat4.create());var h=b-a,i=d-c,j=g-e;f[0]=2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2/i;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=-2/j;f[11]=0;f[12]=-(a+b)/h;f[13]=-(d+c)/i;f[14]=-(g+e)/j;f[15]=1;return f};
mat4.lookAt=function(a,b,c,d){d||(d=mat4.create());var e=a[0],g=a[1];a=a[2];var f=c[0],h=c[1],i=c[2];c=b[1];var j=b[2];if(e==b[0]&&g==c&&a==j)return mat4.identity(d);var k,l,o,m;c=e-b[0];j=g-b[1];b=a-b[2];m=1/Math.sqrt(c*c+j*j+b*b);c*=m;j*=m;b*=m;k=h*b-i*j;i=i*c-f*b;f=f*j-h*c;if(m=Math.sqrt(k*k+i*i+f*f)){m=1/m;k*=m;i*=m;f*=m}else f=i=k=0;h=j*f-b*i;l=b*k-c*f;o=c*i-j*k;if(m=Math.sqrt(h*h+l*l+o*o)){m=1/m;h*=m;l*=m;o*=m}else o=l=h=0;d[0]=k;d[1]=h;d[2]=c;d[3]=0;d[4]=i;d[5]=l;d[6]=j;d[7]=0;d[8]=f;d[9]=
o;d[10]=b;d[11]=0;d[12]=-(k*e+i*g+f*a);d[13]=-(h*e+l*g+o*a);d[14]=-(c*e+j*g+b*a);d[15]=1;return d};mat4.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+", "+a[4]+", "+a[5]+", "+a[6]+", "+a[7]+", "+a[8]+", "+a[9]+", "+a[10]+", "+a[11]+", "+a[12]+", "+a[13]+", "+a[14]+", "+a[15]+"]"};quat4={};quat4.create=function(a){var b=new glMatrixArrayType(4);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3]}return b};quat4.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];return b};
quat4.calculateW=function(a,b){var c=a[0],d=a[1],e=a[2];if(!b||a==b){a[3]=-Math.sqrt(Math.abs(1-c*c-d*d-e*e));return a}b[0]=c;b[1]=d;b[2]=e;b[3]=-Math.sqrt(Math.abs(1-c*c-d*d-e*e));return b};quat4.inverse=function(a,b){if(!b||a==b){a[0]*=1;a[1]*=1;a[2]*=1;return a}b[0]=-a[0];b[1]=-a[1];b[2]=-a[2];b[3]=a[3];return b};quat4.length=function(a){var b=a[0],c=a[1],d=a[2];a=a[3];return Math.sqrt(b*b+c*c+d*d+a*a)};
quat4.normalize=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=a[3],f=Math.sqrt(c*c+d*d+e*e+g*g);if(f==0){b[0]=0;b[1]=0;b[2]=0;b[3]=0;return b}f=1/f;b[0]=c*f;b[1]=d*f;b[2]=e*f;b[3]=g*f;return b};quat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],g=a[2];a=a[3];var f=b[0],h=b[1],i=b[2];b=b[3];c[0]=d*b+a*f+e*i-g*h;c[1]=e*b+a*h+g*f-d*i;c[2]=g*b+a*i+d*h-e*f;c[3]=a*b-d*f-e*h-g*i;return c};
quat4.multiplyVec3=function(a,b,c){c||(c=b);var d=b[0],e=b[1],g=b[2];b=a[0];var f=a[1],h=a[2];a=a[3];var i=a*d+f*g-h*e,j=a*e+h*d-b*g,k=a*g+b*e-f*d;d=-b*d-f*e-h*g;c[0]=i*a+d*-b+j*-h-k*-f;c[1]=j*a+d*-f+k*-b-i*-h;c[2]=k*a+d*-h+i*-f-j*-b;return c};quat4.toMat3=function(a,b){b||(b=mat3.create());var c=a[0],d=a[1],e=a[2],g=a[3],f=c+c,h=d+d,i=e+e,j=c*f,k=c*h;c=c*i;var l=d*h;d=d*i;e=e*i;f=g*f;h=g*h;g=g*i;b[0]=1-(l+e);b[1]=k-g;b[2]=c+h;b[3]=k+g;b[4]=1-(j+e);b[5]=d-f;b[6]=c-h;b[7]=d+f;b[8]=1-(j+l);return b};
quat4.toMat4=function(a,b){b||(b=mat4.create());var c=a[0],d=a[1],e=a[2],g=a[3],f=c+c,h=d+d,i=e+e,j=c*f,k=c*h;c=c*i;var l=d*h;d=d*i;e=e*i;f=g*f;h=g*h;g=g*i;b[0]=1-(l+e);b[1]=k-g;b[2]=c+h;b[3]=0;b[4]=k+g;b[5]=1-(j+e);b[6]=d-f;b[7]=0;b[8]=c-h;b[9]=d+f;b[10]=1-(j+l);b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return b};quat4.slerp=function(a,b,c,d){d||(d=a);var e=c;if(a[0]*b[0]+a[1]*b[1]+a[2]*b[2]+a[3]*b[3]<0)e=-1*c;d[0]=1-c*a[0]+e*b[0];d[1]=1-c*a[1]+e*b[1];d[2]=1-c*a[2]+e*b[2];d[3]=1-c*a[3]+e*b[3];return d};
quat4.str=function(a){return"["+a[0]+", "+a[1]+", "+a[2]+", "+a[3]+"]"};
(function(){var r=Math,d=function(m){return m>>0},v=(/webkit/i).test(navigator.appVersion)?"webkit":(/firefox/i).test(navigator.userAgent)?"Moz":(/trident/i).test(navigator.userAgent)?"ms":"opera" in window?"O":"",w=(/android/gi).test(navigator.appVersion),i=(/iphone|ipad/gi).test(navigator.appVersion),c=(/playbook/gi).test(navigator.appVersion),n=(/hp-tablet/gi).test(navigator.appVersion),k=false,u="ontouchstart" in window&&!n,f=v+"Transform" in document.documentElement.style,g=i||c,o=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(m){return setTimeout(m,1)}})(),l=(function(){return window.cancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout})(),h="onorientationchange" in window?"orientationchange":"resize",b=u?"touchstart":"mousedown",p=u?"touchmove":"mousemove",e=u?"touchend":"mouseup",t=u?"touchcancel":"mouseup",q=v=="Moz"?"DOMMouseScroll":"mousewheel",a="translate"+(k?"3d(":"("),j=k?",0)":")",s=function(y,m){var z=this,A=document,x;z.wrapper=typeof y=="object"?y:A.getElementById(y);z.wrapper.style.overflow="hidden";z.scroller=z.wrapper.children[0];z.options={hScroll:true,vScroll:true,x:0,y:0,bounce:true,bounceLock:false,momentum:true,lockDirection:true,useTransform:true,useTransition:false,topOffset:0,checkDOMChanges:false,handleClick:true,ignoreEmptyScroll:false,minThumbSize:16,hScrollbar:true,vScrollbar:true,fixedScrollbar:w,hideScrollbar:i,fadeScrollbar:i&&k,scrollbarClass:"",zoom:false,zoomMin:1,zoomMax:4,doubleTapZoom:2,wheelAction:"scroll",snap:false,snapThreshold:1,onRefresh:null,onBeforeScrollStart:function(B){B.preventDefault()},onScrollStart:null,onBeforeScrollMove:null,onScrollMove:null,onBeforeScrollEnd:null,onScrollEnd:null,onTouchEnd:null,onDestroy:null,onZoomStart:null,onZoom:null,onZoomEnd:null};for(x in m){z.options[x]=m[x]}z.x=z.options.x;z.y=z.options.y;z.options.useTransform=f?z.options.useTransform:false;z.options.hScrollbar=z.options.hScroll&&z.options.hScrollbar;z.options.vScrollbar=z.options.vScroll&&z.options.vScrollbar;z.options.zoom=z.options.useTransform&&z.options.zoom;z.options.useTransition=g&&z.options.useTransition;if(z.options.zoom&&w){a="translate(";j=")"}z.scroller.style[v+"TransformOrigin"]="0 0";if(z.options.useTransition){z.scroller.style[v+"TransitionProperty"]=z.options.useTransform?"-"+v.toLowerCase()+"-transform":"top left";z.scroller.style[v+"TransitionDuration"]="0";z.scroller.style[v+"TransitionTimingFunction"]="cubic-bezier(0.33,0.66,0.66,1)"}if(z.options.useTransform){z.scroller.style[v+"Transform"]=a+z.x+"px,"+z.y+"px"+j}else{z.scroller.style.cssText+=";position:absolute;top:"+z.y+"px;left:"+z.x+"px"}if(z.options.useTransition){z.options.fixedScrollbar=true}z.refresh();z._bind(h,window);z._bind(b);if(!u){z._bind("mouseout",z.wrapper);if(z.options.wheelAction!="none"){z._bind(q)}}if(z.options.checkDOMChanges){z.checkDOMTime=setInterval(function(){z._checkDOMChanges()},500)}};s.prototype={enabled:true,x:0,y:0,steps:[],scale:1,currPageX:0,currPageY:0,pagesX:[],pagesY:[],aniTime:null,wheelZoomCount:0,handleEvent:function(x){var m=this;switch(x.type){case b:if(!u&&x.button!==0){return}m._start(x);break;case p:m._move(x);break;case e:case t:m._end(x);break;case h:m._resize();break;case q:m._wheel(x);break;case"mouseout":m._mouseout(x);break;case"webkitTransitionEnd":m._transitionEnd(x);break}},_checkDOMChanges:function(){if(this.moved||this.zoomed||this.animating||(this.scrollerW==this.scroller.offsetWidth*this.scale&&this.scrollerH==this.scroller.offsetHeight*this.scale)){return}this.refresh()},_scrollbar:function(m){var y=this,z=document,x;if(!y[m+"Scrollbar"]){if(y[m+"ScrollbarWrapper"]){if(f){y[m+"ScrollbarIndicator"].style[v+"Transform"]=""}y[m+"ScrollbarWrapper"].parentNode.removeChild(y[m+"ScrollbarWrapper"]);y[m+"ScrollbarWrapper"]=null;y[m+"ScrollbarIndicator"]=null}return}if(!y[m+"ScrollbarWrapper"]){x=z.createElement("div");if(y.options.scrollbarClass){x.className=m+y.options.scrollbarClass}else{x.style.cssText="position:absolute;z-index:100;"+(m=="h"?"height:7px;bottom:1px;left:2px;right:"+(y.vScrollbar?"7":"2")+"px":"width:7px;bottom:"+(y.hScrollbar?"7":"2")+"px;top:2px;right:1px")}x.style.cssText+=";pointer-events:none;opacity:"+(y.options.hideScrollbar?"0":"1");y.wrapper.appendChild(x);y[m+"ScrollbarWrapper"]=x;x=z.createElement("div");x.id=m+"Thumb";x.className="thumb";if(!y.options.scrollbarClass){x.style.cssText="position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.5);-"+v+"-background-clip:border-box;-"+v+"-box-sizing:content-box;"+(m=="h"?"height:100%":"width:100%")+";-"+v+"-border-radius:4px;border-radius:4px;"+(m=="h"?"bottom":"right")+":2px;"}x.style.cssText+=";pointer-events:none;-"+v+"-transform:"+a+"0,0"+j;if(y.options.useTransition){x.style.cssText+=";-"+v+"-transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)"}y[m+"ScrollbarWrapper"].appendChild(x);y[m+"ScrollbarIndicator"]=x}if(m=="h"){y.hScrollbarSize=y.hScrollbarWrapper.clientWidth;y.hScrollbarIndicatorSize=r.max(d(y.hScrollbarSize*y.hScrollbarSize/y.scrollerW),y.options.minThumbSize);y.hScrollbarIndicator.style.width=y.hScrollbarIndicatorSize+"px";y.hScrollbarMaxScroll=y.hScrollbarSize-y.hScrollbarIndicatorSize;y.hScrollbarProp=y.hScrollbarMaxScroll/y.maxScrollX}else{y.vScrollbarSize=y.vScrollbarWrapper.clientHeight;y.vScrollbarIndicatorSize=r.max(d(y.vScrollbarSize*y.vScrollbarSize/y.scrollerH),y.options.minThumbSize);y.vScrollbarIndicator.style.height=y.vScrollbarIndicatorSize+"px";y.vScrollbarMaxScroll=y.vScrollbarSize-y.vScrollbarIndicatorSize;y.vScrollbarProp=y.vScrollbarMaxScroll/y.maxScrollY}y._scrollbarPos(m,true)},_resize:function(){var m=this;setTimeout(function(){m.refresh()},w?200:0)},_pos:function(m,z){this._posImpl(m,z);this._scrollbarPos("h");this._scrollbarPos("v")},_posImpl:function(m,z){if(this.zoomed){return}m=this.hScroll?m:0;z=this.vScroll?z:0;if(this.options.useTransform){this.scroller.style[v+"Transform"]=a+m+"px,"+z+"px"+j+" scale("+this.scale+")"}else{m=d(m);z=d(z);this.scroller.style.left=m+"px";this.scroller.style.top=z+"px"}this.x=m;this.y=z;if(this.options.onScrollMove){this.options.onScrollMove.call(this)}},_scrollbarPos:function(m,z){var y=this,A=m=="h"?y.x:y.y,x;if(!y[m+"Scrollbar"]){return}A=y[m+"ScrollbarProp"]*A;if(A<0){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]+d(A*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px"}A=0}else{if(A>y[m+"ScrollbarMaxScroll"]){if(!y.options.fixedScrollbar){x=y[m+"ScrollbarIndicatorSize"]-d((A-y[m+"ScrollbarMaxScroll"])*3);if(x<8){x=8}y[m+"ScrollbarIndicator"].style[m=="h"?"width":"height"]=x+"px";A=y[m+"ScrollbarMaxScroll"]+(y[m+"ScrollbarIndicatorSize"]-x)}else{A=y[m+"ScrollbarMaxScroll"]}}}y[m+"ScrollbarWrapper"].style.opacity=z&&y.options.hideScrollbar?"0":"1";y[m+"ScrollbarIndicator"].style[v+"Transform"]=a+(m=="h"?A+"px,0":"0,"+A+"px")+j},_start:function(E){var D=this,z=u?E.touches[0]:E,A,m,F,C,B;if(!D.enabled){return}if(D.options.onBeforeScrollStart){D.options.onBeforeScrollStart.call(D,E)}if(D.options.useTransition||D.options.zoom){D._transitionTime(0)}D.moved=false;D.animating=false;D.zoomed=false;D.distX=0;D.distY=0;D.absDistX=0;D.absDistY=0;D.dirX=0;D.dirY=0;if(D.options.zoom&&u&&E.touches.length>1){C=r.abs(E.touches[0].pageX-E.touches[1].pageX);B=r.abs(E.touches[0].pageY-E.touches[1].pageY);D.touchesDistStart=r.sqrt(C*C+B*B);D.originX=r.abs(E.touches[0].pageX+E.touches[1].pageX-D.wrapperOffsetLeft*2)/2-D.x;D.originY=r.abs(E.touches[0].pageY+E.touches[1].pageY-D.wrapperOffsetTop*2)/2-D.y;if(D.options.onZoomStart){D.options.onZoomStart.call(D,E)}}if(D.options.momentum){if(D.options.useTransform){A=getComputedStyle(D.scroller,null)[v+"Transform"].replace(/[^0-9-.,]/g,"").split(",");m=A[4]*1;F=A[5]*1}else{m=getComputedStyle(D.scroller,null).left.replace(/[^0-9-]/g,"")*1;F=getComputedStyle(D.scroller,null).top.replace(/[^0-9-]/g,"")*1}if(m!=D.x||F!=D.y){if(D.options.useTransition){D._unbind("webkitTransitionEnd")}else{l(D.aniTime)}D.steps=[];D._pos(m,F)}}D.absStartX=D.x;D.absStartY=D.y;D.startX=D.x;D.startY=D.y;D.pointX=z.pageX;D.pointY=z.pageY;D.startTime=E.timeStamp||Date.now();if(D.options.onScrollStart){D.options.onScrollStart.call(D,E)}D._bind(p);D._bind(e);D._bind(t)},_move:function(E){var C=this,F=u?E.touches[0]:E,A=F.pageX-C.pointX,y=F.pageY-C.pointY,m=C.x+A,G=C.y+y,B,z,x,D=E.timeStamp||Date.now();if(C.options.ignoreEmptyScroll){if(C.maxScrollY==C.minScrollY){y=0}if(C.maxScrollX==0){A=0}}if(C.options.onBeforeScrollMove){C.options.onBeforeScrollMove.call(C,E)}if(C.options.zoom&&u&&E.touches.length>1){B=r.abs(E.touches[0].pageX-E.touches[1].pageX);z=r.abs(E.touches[0].pageY-E.touches[1].pageY);C.touchesDist=r.sqrt(B*B+z*z);C.zoomed=true;x=1/C.touchesDistStart*C.touchesDist*this.scale;if(x<C.options.zoomMin){x=0.5*C.options.zoomMin*Math.pow(2,x/C.options.zoomMin)}else{if(x>C.options.zoomMax){x=2*C.options.zoomMax*Math.pow(0.5,C.options.zoomMax/x)}}C.lastScale=x/this.scale;m=this.originX-this.originX*C.lastScale+this.x,G=this.originY-this.originY*C.lastScale+this.y;this.scroller.style[v+"Transform"]=a+m+"px,"+G+"px"+j+" scale("+x+")";if(C.options.onZoom){C.options.onZoom.call(C,E)}return}C.pointX=F.pageX;C.pointY=F.pageY;if(m>0||m<C.maxScrollX){m=C.options.bounce?C.x+(A/2):m>=0||C.maxScrollX>=0?0:C.maxScrollX}if(G>C.minScrollY||G<C.maxScrollY){G=C.options.bounce?C.y+(y/2):G>=C.minScrollY||C.maxScrollY>=0?C.minScrollY:C.maxScrollY}C.distX+=A;C.distY+=y;C.absDistX=r.abs(C.distX);C.absDistY=r.abs(C.distY);if(C.absDistX<6&&C.absDistY<6){return}if(C.options.lockDirection){if(C.absDistX>C.absDistY+5){G=C.y;y=0}else{if(C.absDistY>C.absDistX+5){m=C.x;A=0}}}C.moved=true;C._pos(m,G);C.dirX=A>0?-1:A<0?1:0;C.dirY=y>0?-1:y<0?1:0;if(D-C.startTime>300){C.startTime=D;C.startX=C.x;C.startY=C.y}if(C.options.onScrollMove){C.options.onScrollMove.call(C,E)}},_end:function(E){if(u&&E.touches.length!=0){return}var C=this,K=u?E.changedTouches[0]:E,F,J,y={dist:0,time:0},m={dist:0,time:0},B=(E.timeStamp||Date.now())-C.startTime,G=C.x,D=C.y,I,H,x,A,z;C._unbind(p);C._unbind(e);C._unbind(t);if(C.options.onBeforeScrollEnd){C.options.onBeforeScrollEnd.call(C,E)}if(C.zoomed){z=C.scale*C.lastScale;z=Math.max(C.options.zoomMin,z);z=Math.min(C.options.zoomMax,z);C.lastScale=z/C.scale;C.scale=z;C.x=C.originX-C.originX*C.lastScale+C.x;C.y=C.originY-C.originY*C.lastScale+C.y;C.scroller.style[v+"TransitionDuration"]="200ms";C.scroller.style[v+"Transform"]=a+C.x+"px,"+C.y+"px"+j+" scale("+C.scale+")";C.zoomed=false;C.refresh();if(C.options.onZoomEnd){C.options.onZoomEnd.call(C,E)}return}if(!C.moved){if(u){if(C.doubleTapTimer&&C.options.zoom){clearTimeout(C.doubleTapTimer);C.doubleTapTimer=null;if(C.options.onZoomStart){C.options.onZoomStart.call(C,E)}C.zoom(C.pointX,C.pointY,C.scale==1?C.options.doubleTapZoom:1);if(C.options.onZoomEnd){setTimeout(function(){C.options.onZoomEnd.call(C,E)},200)}}else{if(this.options.handleClick){C.doubleTapTimer=setTimeout(function(){C.doubleTapTimer=null;F=K.target;while(F.nodeType!=1){F=F.parentNode}if(F.tagName!="SELECT"&&F.tagName!="INPUT"&&F.tagName!="TEXTAREA"){J=document.createEvent("MouseEvents");J.initMouseEvent("click",true,true,E.view,1,K.screenX,K.screenY,K.clientX,K.clientY,E.ctrlKey,E.altKey,E.shiftKey,E.metaKey,0,null);J._fake=true;F.dispatchEvent(J)}},C.options.zoom?250:0)}}}C._resetPos(200);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}if(B<300&&C.options.momentum){y=G?C._momentum(G-C.startX,B,-C.x,C.scrollerW-C.wrapperW+C.x,C.options.bounce?C.wrapperW:0):y;m=D?C._momentum(D-C.startY,B,-C.y,(C.maxScrollY<0?C.scrollerH-C.wrapperH+C.y-C.minScrollY:0),C.options.bounce?C.wrapperH:0):m;G=C.x+y.dist;D=C.y+m.dist;if((C.x>0&&G>0)||(C.x<C.maxScrollX&&G<C.maxScrollX)){y={dist:0,time:0}}if((C.y>C.minScrollY&&D>C.minScrollY)||(C.y<C.maxScrollY&&D<C.maxScrollY)){m={dist:0,time:0}}}if(y.dist||m.dist){x=r.max(r.max(y.time,m.time),10);if(C.options.snap){I=G-C.absStartX;H=D-C.absStartY;if(r.abs(I)<C.options.snapThreshold&&r.abs(H)<C.options.snapThreshold){C.scrollTo(C.absStartX,C.absStartY,200)}else{A=C._snap(G,D);G=A.x;D=A.y;x=r.max(A.time,x)}}C.scrollTo(d(G),d(D),x);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}if(C.options.snap){I=G-C.absStartX;H=D-C.absStartY;if(r.abs(I)<C.options.snapThreshold&&r.abs(H)<C.options.snapThreshold){C.scrollTo(C.absStartX,C.absStartY,200)}else{A=C._snap(C.x,C.y);if(A.x!=C.x||A.y!=C.y){C.scrollTo(A.x,A.y,A.time)}}if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}return}C._resetPos(200);if(C.options.onTouchEnd){C.options.onTouchEnd.call(C,E)}},_resetPos:function(y){var m=this,z=m.x>=0?0:m.x<m.maxScrollX?m.maxScrollX:m.x,x=m.y>=m.minScrollY||m.maxScrollY>0?m.minScrollY:m.y<m.maxScrollY?m.maxScrollY:m.y;if(z==m.x&&x==m.y){if(m.moved){m.moved=false;if(m.options.onScrollEnd){m.options.onScrollEnd.call(m)}}if(m.hScrollbar&&m.options.hideScrollbar){m.hScrollbarWrapper.style.opacity="0"}if(m.vScrollbar&&m.options.hideScrollbar){m.vScrollbarWrapper.style.opacity="0"}return}m.scrollTo(z,x,y||0)},_wheel:function(B){var z=this,A,y,x,m,C;if("wheelDeltaX" in B){A=B.wheelDeltaX/12;y=B.wheelDeltaY/12}else{if("wheelDelta" in B){A=y=B.wheelDelta/12}else{if("detail" in B){A=y=-B.detail*3}else{return}}}if(z.options.wheelAction=="zoom"){C=z.scale*Math.pow(2,1/3*(y?y/Math.abs(y):0));if(C<z.options.zoomMin){C=z.options.zoomMin}if(C>z.options.zoomMax){C=z.options.zoomMax}if(C!=z.scale){if(!z.wheelZoomCount&&z.options.onZoomStart){z.options.onZoomStart.call(z,B)}z.wheelZoomCount++;z.zoom(B.pageX,B.pageY,C,400);setTimeout(function(){z.wheelZoomCount--;if(!z.wheelZoomCount&&z.options.onZoomEnd){z.options.onZoomEnd.call(z,B)}},400)}return}x=z.x+A;m=z.y+y;if(x>0){x=0}else{if(x<z.maxScrollX){x=z.maxScrollX}}if(m>z.minScrollY){m=z.minScrollY}else{if(m<z.maxScrollY){m=z.maxScrollY}}if(z.maxScrollY<0){z.scrollTo(x,m,0)}},_mouseout:function(x){var m=x.relatedTarget;if(!m){this._end(x);return}while(m=m.parentNode){if(m==this.wrapper){return}}this._end(x)},_transitionEnd:function(x){var m=this;if(x.target!=m.scroller){return}m._unbind("webkitTransitionEnd");m._startAni()},_startAni:function(){var C=this,x=C.x,m=C.y,A=Date.now(),B,z,y;if(C.animating){return}if(!C.steps.length){C._resetPos(400);return}B=C.steps.shift();if(B.x==x&&B.y==m){B.time=0}C.animating=true;C.moved=true;if(C.options.useTransition){C._transitionTime(B.time);C._pos(B.x,B.y);C.animating=false;if(B.time){C._bind("webkitTransitionEnd")}else{C._resetPos(0)}return}y=function(){var D=Date.now(),F,E;if(D>=A+B.time){C._pos(B.x,B.y);C.animating=false;if(C.options.onAnimationEnd){C.options.onAnimationEnd.call(C)}C._startAni();return}D=(D-A)/B.time-1;z=r.sqrt(1-D*D);F=(B.x-x)*z+x;E=(B.y-m)*z+m;C._pos(F,E);if(C.animating){C.aniTime=o(y)}};y()},_transitionTime:function(m){m+="ms";this.scroller.style[v+"TransitionDuration"]=m;if(this.hScrollbar){this.hScrollbarIndicator.style[v+"TransitionDuration"]=m}if(this.vScrollbar){this.vScrollbarIndicator.style[v+"TransitionDuration"]=m}},_momentum:function(D,x,B,m,F){var C=0.0006,y=r.abs(D)/x,z=(y*y)/(2*C),E=0,A=0;if(D>0&&z>B){A=F/(6/(z/y*C));B=B+A;y=y*B/z;z=B}else{if(D<0&&z>m){A=F/(6/(z/y*C));m=m+A;y=y*m/z;z=m}}z=z*(D<0?-1:1);E=y/C;return{dist:z,time:d(E)}},_offset:function(m){var y=-m.offsetLeft,x=-m.offsetTop;while(m=m.offsetParent){y-=m.offsetLeft;x-=m.offsetTop}if(m!=this.wrapper){y*=this.scale;x*=this.scale}return{left:y,top:x}},_snap:function(G,F){var D=this,C,B,E,A,z,m;E=D.pagesX.length-1;for(C=0,B=D.pagesX.length;C<B;C++){if(G>=D.pagesX[C]){E=C;break}}if(E==D.currPageX&&E>0&&D.dirX<0){E--}G=D.pagesX[E];z=r.abs(G-D.pagesX[D.currPageX]);z=z?r.abs(D.x-G)/z*500:0;D.currPageX=E;E=D.pagesY.length-1;for(C=0;C<E;C++){if(F>=D.pagesY[C]){E=C;break}}if(E==D.currPageY&&E>0&&D.dirY<0){E--}F=D.pagesY[E];m=r.abs(F-D.pagesY[D.currPageY]);m=m?r.abs(D.y-F)/m*500:0;D.currPageY=E;A=200;return{x:G,y:F,time:A}},_bind:function(y,x,m){(x||this.scroller).addEventListener(y,this,!!m)},_unbind:function(y,x,m){(x||this.scroller).removeEventListener(y,this,!!m)},resize:function(x,m){if(x){this.wrapperWidth=x}if(m){this.wrapperHeight=m}this.refresh()},destroy:function(){var m=this;m.scroller.style[v+"Transform"]="";m.hScrollbar=false;m.vScrollbar=false;m._scrollbar("h");m._scrollbar("v");m._unbind(h,window);m._unbind(b);m._unbind(p);m._unbind(e);m._unbind(t);if(!m.options.hasTouch){m._unbind("mouseout",m.wrapper);m._unbind(q)}if(m.options.useTransition){m._unbind("webkitTransitionEnd")}if(m.options.checkDOMChanges){clearInterval(m.checkDOMTime)}if(m.options.onDestroy){m.options.onDestroy.call(m)}},refresh:function(){var B=this,y,A,x,z,D=0,C=0;if(B.scale<B.options.zoomMin){B.scale=B.options.zoomMin}B.wrapperW=B.wrapperWidth||B.wrapper.clientWidth||1;B.wrapperH=B.wrapperHeight||B.wrapper.clientHeight||1;B.minScrollY=-B.options.topOffset||0;B.scrollerW=d(B.scroller.offsetWidth*B.scale);B.scrollerH=d((B.scroller.offsetHeight+B.minScrollY)*B.scale);B.maxScrollX=Math.min(0,B.wrapperW-B.scrollerW);B.maxScrollY=Math.min(0,B.wrapperH-B.scrollerH+B.minScrollY);B.dirX=0;B.dirY=0;if(B.options.onRefresh){B.options.onRefresh.call(B)}B.hScroll=B.options.hScroll;B.vScroll=B.options.vScroll&&(!B.options.bounceLock&&!B.hScroll||B.scrollerH>B.wrapperH);B.hScrollbar=B.hScroll&&B.options.hScrollbar&&B.maxScrollX<0;B.vScrollbar=B.vScroll&&B.options.vScrollbar&&B.maxScrollY<0;y=B._offset(B.wrapper);B.wrapperOffsetLeft=-y.left;B.wrapperOffsetTop=-y.top;var E=document.defaultView.getComputedStyle(B.scroller,null);B.wrapperOffsetTop+=parseInt(E["padding-top"]);if(typeof B.options.snap=="string"){B.pagesX=[];B.pagesY=[];z=B.scroller.querySelectorAll(B.options.snap);for(A=0,x=z.length;A<x;A++){var m=z[A];if(m.offsetParent){D=B._offset(m);D.left+=B.wrapperOffsetLeft;D.top+=B.wrapperOffsetTop;B.pagesX[A]=D.left<B.maxScrollX?B.maxScrollX:D.left*B.scale;B.pagesY[A]=D.top<B.maxScrollY?B.maxScrollY:D.top*B.scale}}}else{if(B.options.snap){B.pagesX=[];while(D>=B.maxScrollX){B.pagesX[C]=D;D=D-B.wrapperW;C++}if(B.maxScrollX%B.wrapperW){B.pagesX[B.pagesX.length]=B.maxScrollX-B.pagesX[B.pagesX.length-1]+B.pagesX[B.pagesX.length-1]}D=0;C=0;B.pagesY=[];while(D>=B.maxScrollY){B.pagesY[C]=D;D=D-B.wrapperH;C++}if(B.maxScrollY%B.wrapperH){B.pagesY[B.pagesY.length]=B.maxScrollY-B.pagesY[B.pagesY.length-1]+B.pagesY[B.pagesY.length-1]}}}B._scrollbar("h");B._scrollbar("v");if(!B.zoomed){B._resetPos(200)}},scrollTo:function(m,F,E,D){var C=this,B=m,A,z;if(!E){C._posImpl(m,F);return}C.stop();if(!B.length){B=[{x:m,y:F,time:E,relative:D}]}for(A=0,z=B.length;A<z;A++){if(B[A].relative){B[A].x=C.x-B[A].x;B[A].y=C.y-B[A].y}C.steps.push({x:B[A].x,y:B[A].y,time:B[A].time||0})}C._startAni()},scrollToElement:function(m,y){var x=this,z;m=m.nodeType?m:x.scroller.querySelector(m);if(!m){return}z=x._offset(m);z.left+=x.wrapperOffsetLeft;z.top+=x.wrapperOffsetTop;if(x.options.vScroll&&z.top<=x.y&&z.top-m.offsetHeight>=x.y-x.wrapper.clientHeight){return}else{if(z.top<x.y){z.top+=x.wrapper.clientHeight-m.offsetHeight}}if(x.options.hScroll&&z.left<x.x&&z.left-m.offsetWidth>x.x-x.wrapper.clientWidth){return}else{if(z.left<x.x){z.left+=x.wrapper.clientWidth-m.offsetWidth}}z.left=z.left>0?0:z.left<x.maxScrollX?x.maxScrollX:z.left;z.top=z.top>x.minScrollY?x.minScrollY:z.top<x.maxScrollY?x.maxScrollY:z.top;y=y===undefined?r.max(r.abs(z.left)*2,r.abs(z.top)*2):y;x.scrollTo(z.left,z.top,y)},scrollToPage:function(A,z,C){var B=this,m,D;C=C===undefined?400:C;if(B.options.onScrollStart){B.options.onScrollStart.call(B)}if(B.options.snap){A=A=="next"?B.currPageX+1:A=="prev"?B.currPageX-1:A;z=z=="next"?B.currPageY+1:z=="prev"?B.currPageY-1:z;A=A<0?0:A>B.pagesX.length-1?B.pagesX.length-1:A;z=z<0?0:z>B.pagesY.length-1?B.pagesY.length-1:z;B.currPageX=A;B.currPageY=z;m=B.pagesX[A];D=B.pagesY[z]}else{m=-B.wrapperW*A;D=-B.wrapperH*z;if(m<B.maxScrollX){m=B.maxScrollX}if(D<B.maxScrollY){D=B.maxScrollY}}B.scrollTo(m,D,C)},disable:function(){this.stop();this._resetPos(0);this.enabled=false;this._unbind(p);this._unbind(e);this._unbind(t)},enable:function(){this.enabled=true},stop:function(){if(this.options.useTransition){this._unbind("webkitTransitionEnd")}else{l(this.aniTime)}this.steps=[];this.moved=false;this.animating=false},zoom:function(m,D,C,B){var z=this,A=C/z.scale;if(!z.options.useTransform){return}z.zoomed=true;B=B===undefined?200:B;m=m-z.wrapperOffsetLeft-z.x;D=D-z.wrapperOffsetTop-z.y;z.x=m-m*A+z.x;z.y=D-D*A+z.y;z.scale=C;z.refresh();z.x=z.x>0?0:z.x<z.maxScrollX?z.maxScrollX:z.x;z.y=z.y>z.minScrollY?z.minScrollY:z.y<z.maxScrollY?z.maxScrollY:z.y;z.scroller.style[v+"TransitionDuration"]=B+"ms";z.scroller.style[v+"Transform"]=a+z.x+"px,"+z.y+"px"+j+" scale("+C+")";z.zoomed=false},isReady:function(){return !this.moved&&!this.zoomed&&!this.animating}};if(typeof exports!=="undefined"){exports.iScroll=s}else{window.iScroll=s}})();function RGBColor_(e){this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e=e.replace(/ /g,""),e=e.toLowerCase();var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};e in t&&(e=t[e]);var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}];for(var r=0;r<n.length;r++){var i=n[r].re,s=n[r].process,o=i.exec(e);if(o){var u=s(o);this.r=u[0],this.g=u[1],this.b=u[2],this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return e.length==1&&(e="0"+e),t.length==1&&(t="0"+t),n.length==1&&(n="0"+n),"#"+e+t+n},this.getHelpXML=function(){var e=new Array;for(var r=0;r<n.length;r++){var i=n[r].example;for(var s=0;s<i.length;s++)e[e.length]=i[s]}for(var o in t)e[e.length]=o;var u=document.createElement("ul");u.setAttribute("id","rgbcolor-examples");for(var r=0;r<e.length;r++)try{var a=document.createElement("li"),f=new RGBColor_(e[r]),l=document.createElement("div");l.style.cssText="margin: 3px; border: 1px solid black; background:"+f.toHex()+"; "+"color:"+f.toHex(),l.appendChild(document.createTextNode("test"));var c=document.createTextNode(" "+e[r]+" -> "+f.toRGB()+" -> "+f.toHex());a.appendChild(l),a.appendChild(c),u.appendChild(a)}catch(h){}return u}}canvg=function(){function t(){var e={};return e.FRAMERATE=30,e.MAX_VIRTUAL_PIXELS=3e4,e.init=function(t){e.Definitions={},e.Styles={},e.Animations=[],e.Images=[],e.ctx=t,e.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(e,t){this.viewPorts.push({width:e,height:t})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(e){return e!=null&&typeof e=="number"?e:e=="x"?this.width():e=="y"?this.height():Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},e.init(),e.ImagesLoaded=function(){for(var t=0;t<e.Images.length;t++)if(!e.Images[t].loaded)return!1;return!0},e.trim=function(e){return e.replace(/^\s+|\s+$/g,"")},e.compressSpaces=function(e){return e.replace(/[\s\r\t\n]+/gm," ")},e.ajax=function(e){var t;return window.XMLHttpRequest?t=new XMLHttpRequest:t=new ActiveXObject("Microsoft.XMLHTTP"),t?(t.open("GET",e,!1),t.send(null),t.responseText):null},e.parseXml=function(e){if(window.DOMParser){var t=new DOMParser;return t.parseFromString(e,"text/xml")}e=e.replace(/<!DOCTYPE svg[^>]*>/,"");var n=new ActiveXObject("Microsoft.XMLDOM");return n.async="false",n.loadXML(e),n},e.Property=function(t,n){this.name=t,this.value=n,this.hasValue=function(){return this.value!=null&&this.value!==""},this.numValue=function(){if(!this.hasValue())return 0;var e=parseFloat(this.value);return(this.value+"").match(/%$/)&&(e/=100),e},this.valueOrDefault=function(e){return this.hasValue()?this.value:e},this.numValueOrDefault=function(e){return this.hasValue()?this.numValue():e};var r=this;this.Color={addOpacity:function(t){var n=r.value;if(t!=null&&t!=""){var i=new RGBColor_(r.value);i.ok&&(n="rgba("+i.r+", "+i.g+", "+i.b+", "+t+")")}return new e.Property(r.name,n)}},this.Definition={getDefinition:function(){var t=r.value.replace(/^(url\()?#([^\)]+)\)?$/,"$2");return e.Definitions[t]},isUrl:function(){return r.value.indexOf("url(")==0},getFillStyle:function(t){var n=this.getDefinition();return n!=null&&n.createGradient?n.createGradient(e.ctx,t):n!=null&&n.createPattern?n.createPattern(e.ctx,t):null}},this.Length={DPI:function(e){return 96},EM:function(t){var n=12,r=new e.Property("fontSize",e.Font.Parse(e.ctx.font).fontSize);return r.hasValue()&&(n=r.Length.toPixels(t)),n},toPixels:function(t){if(!r.hasValue())return 0;var n=r.value+"";return n.match(/em$/)?r.numValue()*this.EM(t):n.match(/ex$/)?r.numValue()*this.EM(t)/2:n.match(/px$/)?r.numValue():n.match(/pt$/)?r.numValue()*1.25:n.match(/pc$/)?r.numValue()*15:n.match(/cm$/)?r.numValue()*this.DPI(t)/2.54:n.match(/mm$/)?r.numValue()*this.DPI(t)/25.4:n.match(/in$/)?r.numValue()*this.DPI(t):n.match(/%$/)?r.numValue()*e.ViewPort.ComputeSize(t):r.numValue()}},this.Time={toMilliseconds:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/s$/)?r.numValue()*1e3:e.match(/ms$/)?r.numValue():r.numValue()}},this.Angle={toRadians:function(){if(!r.hasValue())return 0;var e=r.value+"";return e.match(/deg$/)?r.numValue()*(Math.PI/180):e.match(/grad$/)?r.numValue()*(Math.PI/200):e.match(/rad$/)?r.numValue():r.numValue()*(Math.PI/180)}}},e.Font=new function(){this.Styles=["normal","italic","oblique","inherit"],this.Variants=["normal","small-caps","inherit"],this.Weights=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","inherit"],this.CreateFont=function(t,n,r,i,s,o){var u=o!=null?this.Parse(o):this.CreateFont("","","","","",e.ctx.font);return{fontFamily:s||u.fontFamily,fontSize:i||u.fontSize,fontStyle:t||u.fontStyle,fontWeight:r||u.fontWeight,fontVariant:n||u.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var t=this;this.Parse=function(n){var r={},i=e.trim(e.compressSpaces(n||"")).split(" "),s={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},o="";for(var u=0;u<i.length;u++)!s.fontStyle&&t.Styles.indexOf(i[u])!=-1?(i[u]!="inherit"&&(r.fontStyle=i[u]),s.fontStyle=!0):!s.fontVariant&&t.Variants.indexOf(i[u])!=-1?(i[u]!="inherit"&&(r.fontVariant=i[u]),s.fontStyle=s.fontVariant=!0):!s.fontWeight&&t.Weights.indexOf(i[u])!=-1?(i[u]!="inherit"&&(r.fontWeight=i[u]),s.fontStyle=s.fontVariant=s.fontWeight=!0):s.fontSize?i[u]!="inherit"&&(o+=i[u]):(i[u]!="inherit"&&(r.fontSize=i[u].split("/")[0]),s.fontStyle=s.fontVariant=s.fontWeight=s.fontSize=!0);return o!=""&&(r.fontFamily=o),r}},e.ToNumberArray=function(t){var n=e.trim(e.compressSpaces((t||"").replace(/,/g," "))).split(" ");for(var r=0;r<n.length;r++)n[r]=parseFloat(n[r]);return n},e.Point=function(e,t){this.x=e,this.y=t,this.angleTo=function(e){return Math.atan2(e.y-this.y,e.x-this.x)},this.applyTransform=function(e){var t=this.x*e[0]+this.y*e[2]+e[4],n=this.x*e[1]+this.y*e[3]+e[5];this.x=t,this.y=n}},e.CreatePoint=function(t){var n=e.ToNumberArray(t);return new e.Point(n[0],n[1])},e.CreatePath=function(t){var n=e.ToNumberArray(t),r=[];for(var i=0;i<n.length;i+=2)r.push(new e.Point(n[i],n[i+1]));return r},e.BoundingBox=function(e,t,n,r){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN,this.x=function(){return this.x1},this.y=function(){return this.y1},this.width=function(){return this.x2-this.x1},this.height=function(){return this.y2-this.y1},this.addPoint=function(e,t){if(e!=null){if(isNaN(this.x1)||isNaN(this.x2))this.x1=e,this.x2=e;e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)}if(t!=null){if(isNaN(this.y1)||isNaN(this.y2))this.y1=t,this.y2=t;t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t)}},this.addX=function(e){this.addPoint(e,null)},this.addY=function(e){this.addPoint(null,e)},this.addBoundingBox=function(e){this.addPoint(e.x1,e.y1),this.addPoint(e.x2,e.y2)},this.addQuadraticCurve=function(e,t,n,r,i,s){var o=e+2/3*(n-e),u=t+2/3*(r-t),a=o+1/3*(i-e),f=u+1/3*(s-t);this.addBezierCurve(e,t,o,a,u,f,i,s)},this.addBezierCurve=function(e,t,n,r,i,s,o,u){var a=[e,t],f=[n,r],l=[i,s],c=[o,u];this.addPoint(a[0],a[1]),this.addPoint(c[0],c[1]);for(var h=0;h<=1;h++){var p=function(e){return Math.pow(1-e,3)*a[h]+3*Math.pow(1-e,2)*e*f[h]+3*(1-e)*Math.pow(e,2)*l[h]+Math.pow(e,3)*c[h]},d=6*a[h]-12*f[h]+6*l[h],v=-3*a[h]+9*f[h]-9*l[h]+3*c[h],m=3*f[h]-3*a[h];if(v==0){if(d==0)continue;var g=-m/d;0<g&&g<1&&(h==0&&this.addX(p(g)),h==1&&this.addY(p(g)));continue}var y=Math.pow(d,2)-4*m*v;if(y<0)continue;var b=(-d+Math.sqrt(y))/(2*v);0<b&&b<1&&(h==0&&this.addX(p(b)),h==1&&this.addY(p(b)));var w=(-d-Math.sqrt(y))/(2*v);0<w&&w<1&&(h==0&&this.addX(p(w)),h==1&&this.addY(p(w)))}},this.isPointInBox=function(e,t){return this.x1<=e&&e<=this.x2&&this.y1<=t&&t<=this.y2},this.addPoint(e,t),this.addPoint(n,r)},e.Transform=function(t){var n=this;this.Type={},this.Type.translate=function(t){this.p=e.CreatePoint(t),this.apply=function(e){e.translate(this.p.x||0,this.p.y||0)},this.applyToPoint=function(e){e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0])}},this.Type.rotate=function(t){var n=e.ToNumberArray(t);this.angle=new e.Property("angle",n[0]),this.cx=n[1]||0,this.cy=n[2]||0,this.apply=function(e){e.translate(this.cx,this.cy),e.rotate(this.angle.Angle.toRadians()),e.translate(-this.cx,-this.cy)},this.applyToPoint=function(e){var t=this.angle.Angle.toRadians();e.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0]),e.applyTransform([Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0]),e.applyTransform([1,0,0,1,-this.p.x||0,-this.p.y||0])}},this.Type.scale=function(t){this.p=e.CreatePoint(t),this.apply=function(e){e.scale(this.p.x||1,this.p.y||this.p.x||1)},this.applyToPoint=function(e){e.applyTransform([this.p.x||0,0,0,this.p.y||0,0,0])}},this.Type.matrix=function(t){this.m=e.ToNumberArray(t),this.apply=function(e){e.transform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])},this.applyToPoint=function(e){e.applyTransform(this.m)}},this.Type.SkewBase=function(t){this.base=n.Type.matrix,this.base(t),this.angle=new e.Property("angle",t)},this.Type.SkewBase.prototype=new this.Type.matrix,this.Type.skewX=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,0,Math.tan(this.angle.Angle.toRadians()),1,0,0]},this.Type.skewX.prototype=new this.Type.SkewBase,this.Type.skewY=function(e){this.base=n.Type.SkewBase,this.base(e),this.m=[1,Math.tan(this.angle.Angle.toRadians()),0,1,0,0]},this.Type.skewY.prototype=new this.Type.SkewBase,this.transforms=[],this.apply=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].apply(e)},this.applyToPoint=function(e){for(var t=0;t<this.transforms.length;t++)this.transforms[t].applyToPoint(e)};var r=e.trim(e.compressSpaces(t)).split(/\s(?=[a-z])/);for(var i=0;i<r.length;i++){var s=r[i].split("(")[0],o=r[i].split("(")[1].replace(")",""),u=new this.Type[s](o);this.transforms.push(u)}},e.AspectRatio=function(t,n,r,i,s,o,u,a,f,l){n=e.compressSpaces(n),n=n.replace(/^defer\s/,"");var c=n.split(" ")[0]||"xMidYMid",h=n.split(" ")[1]||"meet",p=r/i,d=s/o,v=Math.min(p,d),m=Math.max(p,d);h=="meet"&&(i*=v,o*=v),h=="slice"&&(i*=m,o*=m),f=new e.Property("refX",f),l=new e.Property("refY",l),f.hasValue()&&l.hasValue()?t.translate(-v*f.Length.toPixels("x"),-v*l.Length.toPixels("y")):(c.match(/^xMid/)&&(h=="meet"&&v==d||h=="slice"&&m==d)&&t.translate(r/2-i/2,0),c.match(/YMid$/)&&(h=="meet"&&v==p||h=="slice"&&m==p)&&t.translate(0,s/2-o/2),c.match(/^xMax/)&&(h=="meet"&&v==d||h=="slice"&&m==d)&&t.translate(r-i,0),c.match(/YMax$/)&&(h=="meet"&&v==p||h=="slice"&&m==p)&&t.translate(0,s-o)),c=="none"?t.scale(p,d):h=="meet"?t.scale(v,v):h=="slice"&&t.scale(m,m),t.translate(u==null?0:-u,a==null?0:-a)},e.Element={},e.Element.ElementBase=function(t){this.attributes={},this.styles={},this.children=[],this.attribute=function(t,n){var r=this.attributes[t];return r!=null?r:(r=new e.Property(t,""),n==1&&(this.attributes[t]=r),r)},this.style=function(t,n){var r=this.styles[t];if(r!=null)return r;var i=this.attribute(t);if(i!=null&&i.hasValue())return i;var s=this.parent;if(s!=null){var o=s.style(t);if(o!=null&&o.hasValue())return o}return r=new e.Property(t,""),n==1&&(this.styles[t]=r),r},this.render=function(e){if(this.style("display").value=="none")return;if(this.attribute("visibility").value=="hidden")return;e.save(),this.setContext(e);if(this.attribute("mask").hasValue()){var t=this.attribute("mask").Definition.getDefinition();t!=null&&t.apply(e,this)}else if(this.style("filter").hasValue()){var n=this.style("filter").Definition.getDefinition();n!=null&&n.apply(e,this)}else this.renderChildren(e);this.clearContext(e),e.restore()},this.setContext=function(e){},this.clearContext=function(e){},this.renderChildren=function(e){for(var t=0;t<this.children.length;t++)this.children[t].render(e)},this.addChild=function(t,n){var r=t;n&&(r=e.CreateElement(t)),r.parent=this,this.children.push(r)};if(t!=null&&t.nodeType==1){for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];r.nodeType==1&&this.addChild(r,!0)}for(var n=0;n<t.attributes.length;n++){var i=t.attributes[n];this.attributes[i.nodeName]=new e.Property(i.nodeName,i.value)}var s=e.Styles[t.nodeName];if(s!=null)for(var o in s)this.styles[o]=s[o];if(this.attribute("class").hasValue()){var u=e.compressSpaces(this.attribute("class").value).split(" ");for(var a=0;a<u.length;a++){s=e.Styles["."+u[a]];if(s!=null)for(var o in s)this.styles[o]=s[o];s=e.Styles[t.nodeName+"."+u[a]];if(s!=null)for(var o in s)this.styles[o]=s[o]}}if(this.attribute("style").hasValue()){s=this.attribute("style").value.split(";");for(var n=0;n<s.length;n++)if(e.trim(s[n])!=""){var f=s[n].split(":"),o=e.trim(f[0]),l=e.trim(f[1]);this.styles[o]=new e.Property(o,l)}}this.attribute("id").hasValue()&&e.Definitions[this.attribute("id").value]==null&&(e.Definitions[this.attribute("id").value]=this)}},e.Element.RenderedElementBase=function(t){this.base=e.Element.ElementBase,this.base(t),this.setContext=function(t){if(this.style("fill").Definition.isUrl()){var n=this.style("fill").Definition.getFillStyle(this);n!=null&&(t.fillStyle=n)}else if(this.style("fill").hasValue()){var r=this.style("fill");this.style("fill-opacity").hasValue()&&(r=r.Color.addOpacity(this.style("fill-opacity").value)),t.fillStyle=r.value=="none"?"rgba(0,0,0,0)":r.value}if(this.style("stroke").Definition.isUrl()){var n=this.style("stroke").Definition.getFillStyle(this);n!=null&&(t.strokeStyle=n)}else if(this.style("stroke").hasValue()){var i=this.style("stroke");this.style("stroke-opacity").hasValue()&&(i=i.Color.addOpacity(this.style("stroke-opacity").value)),t.strokeStyle=i.value=="none"?"rgba(0,0,0,0)":i.value}this.style("stroke-width").hasValue()&&(t.lineWidth=this.style("stroke-width").Length.toPixels()),this.style("stroke-linecap").hasValue()&&(t.lineCap=this.style("stroke-linecap").value),this.style("stroke-linejoin").hasValue()&&(t.lineJoin=this.style("stroke-linejoin").value),this.style("stroke-miterlimit").hasValue()&&(t.miterLimit=this.style("stroke-miterlimit").value),typeof t.font!="undefined"&&(t.font=e.Font.CreateFont(this.style("font-style").value,this.style("font-variant").value,this.style("font-weight").value,this.style("font-size").hasValue()?this.style("font-size").Length.toPixels()+"px":"",this.style("font-family").value).toString());if(this.attribute("transform").hasValue()){var s=new e.Transform(this.attribute("transform").value);s.apply(t)}if(this.attribute("clip-path").hasValue()){var o=this.attribute("clip-path").Definition.getDefinition();o!=null&&o.apply(t)}this.style("opacity").hasValue()&&(t.globalAlpha=this.style("opacity").numValue())}},e.Element.RenderedElementBase.prototype=new e.Element.ElementBase,e.Element.PathElementBase=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.path=function(t){return t!=null&&t.beginPath(),new e.BoundingBox},this.renderChildren=function(t){this.path(t),e.Mouse.checkPath(this,t),t.fillStyle!=""&&t.fill(),t.strokeStyle!=""&&t.stroke();var n=this.getMarkers();if(n!=null){if(this.style("marker-start").Definition.isUrl()){var r=this.style("marker-start").Definition.getDefinition();r.render(t,n[0][0],n[0][1])}if(this.style("marker-mid").Definition.isUrl()){var r=this.style("marker-mid").Definition.getDefinition();for(var i=1;i<n.length-1;i++)r.render(t,n[i][0],n[i][1])}if(this.style("marker-end").Definition.isUrl()){var r=this.style("marker-end").Definition.getDefinition();r.render(t,n[n.length-1][0],n[n.length-1][1])}}},this.getBoundingBox=function(){return this.path()},this.getMarkers=function(){return null}},e.Element.PathElementBase.prototype=new e.Element.RenderedElementBase,e.Element.svg=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.baseClearContext=this.clearContext,this.clearContext=function(t){this.baseClearContext(t),e.ViewPort.RemoveCurrent()},this.baseSetContext=this.setContext,this.setContext=function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4,this.baseSetContext(t),this.attribute("x").hasValue()&&this.attribute("y").hasValue()&&t.translate(this.attribute("x").Length.toPixels("x"),this.attribute("y").Length.toPixels("y"));var n=e.ViewPort.width(),r=e.ViewPort.height();if(typeof this.root=="undefined"&&this.attribute("width").hasValue()&&this.attribute("height").hasValue()){n=this.attribute("width").Length.toPixels("x"),r=this.attribute("height").Length.toPixels("y");var i=0,s=0;this.attribute("refX").hasValue()&&this.attribute("refY").hasValue()&&(i=-this.attribute("refX").Length.toPixels("x"),s=-this.attribute("refY").Length.toPixels("y")),t.beginPath(),t.moveTo(i,s),t.lineTo(n,s),t.lineTo(n,r),t.lineTo(i,r),t.closePath(),t.clip()}e.ViewPort.SetCurrent(n,r);if(this.attribute("viewBox").hasValue()){var o=e.ToNumberArray(this.attribute("viewBox").value),u=o[0],a=o[1];n=o[2],r=o[3],e.AspectRatio(t,this.attribute("preserveAspectRatio").value,e.ViewPort.width(),n,e.ViewPort.height(),r,u,a,this.attribute("refX").value,this.attribute("refY").value),e.ViewPort.RemoveCurrent(),e.ViewPort.SetCurrent(o[2],o[3])}}},e.Element.svg.prototype=new e.Element.RenderedElementBase,e.Element.svg=e.Element.svg,e.Element.rect=function(t){this.base=e.Element.PathElementBase,this.base(t),this.path=function(t){var n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y"),i=this.attribute("width").Length.toPixels("x"),s=this.attribute("height").Length.toPixels("y"),o=this.attribute("rx").Length.toPixels("x"),u=this.attribute("ry").Length.toPixels("y");return this.attribute("rx").hasValue()&&!this.attribute("ry").hasValue()&&(u=o),this.attribute("ry").hasValue()&&!this.attribute("rx").hasValue()&&(o=u),t!=null&&(t.beginPath(),t.moveTo(n+o,r),t.lineTo(n+i-o,r),t.quadraticCurveTo(n+i,r,n+i,r+u),t.lineTo(n+i,r+s-u),t.quadraticCurveTo(n+i,r+s,n+i-o,r+s),t.lineTo(n+o,r+s),t.quadraticCurveTo(n,r+s,n,r+s-u),t.lineTo(n,r+u),t.quadraticCurveTo(n,r,n+o,r),t.closePath()),new e.BoundingBox(n,r,n+i,r+s)}},e.Element.rect.prototype=new e.Element.PathElementBase,e.Element.rect=e.Element.rect,e.Element.circle=function(t){this.base=e.Element.PathElementBase,this.base(t),this.path=function(t){var n=this.attribute("cx").Length.toPixels("x"),r=this.attribute("cy").Length.toPixels("y"),i=this.attribute("r").Length.toPixels();return t!=null&&(t.beginPath(),t.arc(n,r,i,0,Math.PI*2,!0),t.closePath()),new e.BoundingBox(n-i,r-i,n+i,r+i)}},e.Element.circle.prototype=new e.Element.PathElementBase,e.Element.circle=e.Element.circle,e.Element.ellipse=function(t){this.base=e.Element.PathElementBase,this.base(t),this.path=function(t){var n=4*((Math.sqrt(2)-1)/3),r=this.attribute("rx").Length.toPixels("x"),i=this.attribute("ry").Length.toPixels("y"),s=this.attribute("cx").Length.toPixels("x"),o=this.attribute("cy").Length.toPixels("y");return t!=null&&(t.beginPath(),t.moveTo(s,o-i),t.bezierCurveTo(s+n*r,o-i,s+r,o-n*i,s+r,o),t.bezierCurveTo(s+r,o+n*i,s+n*r,o+i,s,o+i),t.bezierCurveTo(s-n*r,o+i,s-r,o+n*i,s-r,o),t.bezierCurveTo(s-r,o-n*i,s-n*r,o-i,s,o-i),t.closePath()),new e.BoundingBox(s-r,o-i,s+r,o+i)}},e.Element.ellipse.prototype=new e.Element.PathElementBase,e.Element.ellipse=e.Element.ellipse,e.Element.line=function(t){this.base=e.Element.PathElementBase,this.base(t),this.getPoints=function(){return[new e.Point(this.attribute("x1").Length.toPixels("x"),this.attribute("y1").Length.toPixels("y")),new e.Point(this.attribute("x2").Length.toPixels("x"),this.attribute("y2").Length.toPixels("y"))]},this.path=function(t){var n=this.getPoints();return t!=null&&(t.beginPath(),t.moveTo(n[0].x,n[0].y),t.lineTo(n[1].x,n[1].y)),new e.BoundingBox(n[0].x,n[0].y,n[1].x,n[1].y)},this.getMarkers=function(){var e=this.getPoints(),t=e[0].angleTo(e[1]);return[[e[0],t],[e[1],t]]}},e.Element.line.prototype=new e.Element.PathElementBase,e.Element.line=e.Element.line,e.Element.polyline=function(t){this.base=e.Element.PathElementBase,this.base(t),this.points=e.CreatePath(this.attribute("points").value),this.path=function(t){var n=new e.BoundingBox(this.points[0].x,this.points[0].y);t!=null&&(t.beginPath(),t.moveTo(this.points[0].x,this.points[0].y));for(var r=1;r<this.points.length;r++)n.addPoint(this.points[r].x,this.points[r].y),t!=null&&t.lineTo(this.points[r].x,this.points[r].y);return n},this.getMarkers=function(){var e=[];for(var t=0;t<this.points.length-1;t++)e.push([this.points[t],this.points[t].angleTo(this.points[t+1])]);return e.push([this.points[this.points.length-1],e[e.length-1][1]]),e}},e.Element.polyline.prototype=new e.Element.PathElementBase,e.Element.polyline=e.Element.polyline,e.Element.polygon=function(t){this.base=e.Element.polyline,this.base(t),this.basePath=this.path,this.path=function(e){var t=this.basePath(e);return e!=null&&(e.lineTo(this.points[0].x,this.points[0].y),e.closePath()),t}},e.Element.polygon.prototype=new e.Element.polyline,e.Element.polygon=e.Element.polygon,e.Element.path=function(t){this.base=e.Element.PathElementBase,this.base(t);var n=this.attribute("d").value;n=n.replace(/,/gm," "),n=n.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),n=n.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),n=n.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2"),n=n.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2"),n=n.replace(/([0-9])([+\-])/gm,"$1 $2"),n=n.replace(/(\.[0-9]*)(\.)/gm,"$1 $2"),n=n.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),n=e.compressSpaces(n),n=e.trim(n),this.PathParser=new function(t){this.tokens=t.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new e.Point(0,0),this.control=new e.Point(0,0),this.current=new e.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){return this.isEnd()?!0:this.tokens[this.i+1].match(/^[A-Za-z]$/)!=null},this.isRelativeCommand=function(){return this.command==this.command.toLowerCase()},this.getToken=function(){return this.i=this.i+1,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var t=new e.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(t)},this.getAsControlPoint=function(){var e=this.getPoint();return this.control=e,e},this.getAsCurrentPoint=function(){var e=this.getPoint();return this.current=e,e},this.getReflectedControlPoint=function(){if(this.previousCommand.toLowerCase()!="c"&&this.previousCommand.toLowerCase()!="s")return this.current;var t=new e.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y);return t},this.makeAbsolute=function(e){return this.isRelativeCommand()&&(e.x=this.current.x+e.x,e.y=this.current.y+e.y),e},this.addMarker=function(e,t,n){n!=null&&this.angles.length>0&&this.angles[this.angles.length-1]==null&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(n)),this.addMarkerAngle(e,t==null?null:t.angleTo(e))},this.addMarkerAngle=function(e,t){this.points.push(e),this.angles.push(t)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var e=0;e<this.angles.length;e++)if(this.angles[e]==null)for(var t=e+1;t<this.angles.length;t++)if(this.angles[t]!=null){this.angles[e]=this.angles[t];break}return this.angles}}(n),this.path=function(t){var n=this.PathParser;n.reset();var r=new e.BoundingBox;t!=null&&t.beginPath();while(!n.isEnd()){n.nextCommand();switch(n.command.toUpperCase()){case"M":var i=n.getAsCurrentPoint();n.addMarker(i),r.addPoint(i.x,i.y),t!=null&&t.moveTo(i.x,i.y),n.start=n.current;while(!n.isCommandOrEnd())i=n.getAsCurrentPoint(),n.addMarker(i,n.start),r.addPoint(i.x,i.y),t!=null&&t.lineTo(i.x,i.y);break;case"L":while(!n.isCommandOrEnd()){var s=n.current;i=n.getAsCurrentPoint(),n.addMarker(i,s),r.addPoint(i.x,i.y),t!=null&&t.lineTo(i.x,i.y)}break;case"H":while(!n.isCommandOrEnd()){var o=new e.Point((n.isRelativeCommand()?n.current.x:0)+n.getScalar(),n.current.y);n.addMarker(o,n.current),n.current=o,r.addPoint(n.current.x,n.current.y),t!=null&&t.lineTo(n.current.x,n.current.y)}break;case"V":while(!n.isCommandOrEnd())o=new e.Point(n.current.x,(n.isRelativeCommand()?n.current.y:0)+n.getScalar()),n.addMarker(o,n.current),n.current=o,r.addPoint(n.current.x,n.current.y),t!=null&&t.lineTo(n.current.x,n.current.y);break;case"C":while(!n.isCommandOrEnd()){var u=n.current,a=n.getPoint(),f=n.getAsControlPoint(),l=n.getAsCurrentPoint();n.addMarker(l,f,a),r.addBezierCurve(u.x,u.y,a.x,a.y,f.x,f.y,l.x,l.y),t!=null&&t.bezierCurveTo(a.x,a.y,f.x,f.y,l.x,l.y)}break;case"S":while(!n.isCommandOrEnd())u=n.current,a=n.getReflectedControlPoint(),f=n.getAsControlPoint(),l=n.getAsCurrentPoint(),n.addMarker(l,f,a),r.addBezierCurve(u.x,u.y,a.x,a.y,f.x,f.y,l.x,l.y),t!=null&&t.bezierCurveTo(a.x,a.y,f.x,f.y,l.x,l.y);break;case"Q":while(!n.isCommandOrEnd())u=n.current,f=n.getAsControlPoint(),l=n.getAsCurrentPoint(),n.addMarker(l,f,f),r.addQuadraticCurve(u.x,u.y,f.x,f.y,l.x,l.y),t!=null&&t.quadraticCurveTo(f.x,f.y,l.x,l.y);break;case"T":while(!n.isCommandOrEnd())u=n.current,f=n.getReflectedControlPoint(),n.control=f,l=n.getAsCurrentPoint(),n.addMarker(l,f,f),r.addQuadraticCurve(u.x,u.y,f.x,f.y,l.x,l.y),t!=null&&t.quadraticCurveTo(f.x,f.y,l.x,l.y);break;case"A":while(!n.isCommandOrEnd()){u=n.current;var c=n.getScalar(),h=n.getScalar(),p=n.getScalar()*(Math.PI/180),d=n.getScalar(),v=n.getScalar();l=n.getAsCurrentPoint();var m=new e.Point(Math.cos(p)*(u.x-l.x)/2+Math.sin(p)*(u.y-l.y)/2,-Math.sin(p)*(u.x-l.x)/2+Math.cos(p)*(u.y-l.y)/2),g=Math.pow(m.x,2)/Math.pow(c,2)+Math.pow(m.y,2)/Math.pow(h,2);g>1&&(c*=Math.sqrt(g),h*=Math.sqrt(g));var y=(d==v?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(h,2)-Math.pow(c,2)*Math.pow(m.y,2)-Math.pow(h,2)*Math.pow(m.x,2))/(Math.pow(c,2)*Math.pow(m.y,2)+Math.pow(h,2)*Math.pow(m.x,2)));isNaN(y)&&(y=0);var b=new e.Point(y*c*m.y/h,y*-h*m.x/c),w=new e.Point((u.x+l.x)/2+Math.cos(p)*b.x-Math.sin(p)*b.y,(u.y+l.y)/2+Math.sin(p)*b.x+Math.cos(p)*b.y),E=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2))},S=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(E(e)*E(t))},x=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(S(e,t))},T=x([1,0],[(m.x-b.x)/c,(m.y-b.y)/h]),N=[(m.x-b.x)/c,(m.y-b.y)/h],C=[(-m.x-b.x)/c,(-m.y-b.y)/h],k=x(N,C);S(N,C)<=-1&&(k=Math.PI),S(N,C)>=1&&(k=0),v==0&&k>0&&(k-=2*Math.PI),v==1&&k<0&&(k+=2*Math.PI);var L=new e.Point(w.x-c*Math.cos((T+k)/2),w.y-h*Math.sin((T+k)/2));n.addMarkerAngle(L,(T+k)/2+(v==0?1:-1)*Math.PI/2),n.addMarkerAngle(l,k+(v==0?1:-1)*Math.PI/2),r.addPoint(l.x,l.y);if(t!=null){S=c>h?c:h;var A=c>h?1:c/h,O=c>h?h/c:1;t.translate(w.x,w.y),t.rotate(p),t.scale(A,O),t.arc(0,0,S,T,T+k,1-v),t.scale(1/A,1/O),t.rotate(-p),t.translate(-w.x,-w.y)}}break;case"Z":t!=null&&t.closePath(),n.current=n.start}}return r},this.getMarkers=function(){var e=this.PathParser.getMarkerPoints(),t=this.PathParser.getMarkerAngles(),n=[];for(var r=0;r<e.length;r++)n.push([e[r],t[r]]);return n}},e.Element.path.prototype=new e.Element.PathElementBase,e.Element.path=e.Element.path,e.Element.pattern=function(t){this.base=e.Element.ElementBase,this.base(t),this.createPattern=function(t,n){var r=new e.Element.svg;r.attributes.viewBox=new e.Property("viewBox",this.attribute("viewBox").value),r.attributes.x=new e.Property("x",this.attribute("x").value),r.attributes.y=new e.Property("y",this.attribute("y").value),r.attributes.width=new e.Property("width",this.attribute("width").value),r.attributes.height=new e.Property("height",this.attribute("height").value),r.children=this.children;var i=document.createElement("canvas");return i.width=this.attribute("width").Length.toPixels("x"),i.height=this.attribute("height").Length.toPixels("y"),r.render(i.getContext("2d")),t.createPattern(i,"repeat")}},e.Element.pattern.prototype=new e.Element.ElementBase,e.Element.pattern=e.Element.pattern,e.Element.marker=function(t){this.base=e.Element.ElementBase,this.base(t),this.baseRender=this.render,this.render=function(t,n,r){t.translate(n.x,n.y),this.attribute("orient").valueOrDefault("auto")=="auto"&&t.rotate(r),this.attribute("markerUnits").valueOrDefault("strokeWidth")=="strokeWidth"&&t.scale(t.lineWidth,t.lineWidth),t.save();var i=new e.Element.svg;i.attributes.viewBox=new e.Property("viewBox",this.attribute("viewBox").value),i.attributes.refX=new e.Property("refX",this.attribute("refX").value),i.attributes.refY=new e.Property("refY",this.attribute("refY").value),i.attributes.width=new e.Property("width",this.attribute("markerWidth").value),i.attributes.height=new e.Property("height",this.attribute("markerHeight").value),i.attributes.fill=new e.Property("fill",this.attribute("fill").valueOrDefault("black")),i.attributes.stroke=new e.Property("stroke",this.attribute("stroke").valueOrDefault("none")),i.children=this.children,i.render(t),t.restore(),this.attribute("markerUnits").valueOrDefault("strokeWidth")=="strokeWidth"&&t.scale(1/t.lineWidth,1/t.lineWidth),this.attribute("orient").valueOrDefault
("auto")=="auto"&&t.rotate(-r),t.translate(-n.x,-n.y)}},e.Element.marker.prototype=new e.Element.ElementBase,e.Element.marker=e.Element.marker,e.Element.defs=function(t){this.base=e.Element.ElementBase,this.base(t),this.render=function(e){}},e.Element.defs.prototype=new e.Element.ElementBase,e.Element.defs=e.Element.defs,e.Element.GradientBase=function(t){this.base=e.Element.ElementBase,this.base(t),this.gradientUnits=this.attribute("gradientUnits").valueOrDefault("objectBoundingBox"),this.stops=[];for(var n=0;n<this.children.length;n++){var r=this.children[n];this.stops.push(r)}this.getGradient=function(){},this.createGradient=function(t,n){var r=this;this.attribute("xlink:href").hasValue()&&(r=this.attribute("xlink:href").Definition.getDefinition());var i=this.getGradient(t,n);for(var s=0;s<r.stops.length;s++)i.addColorStop(r.stops[s].offset,r.stops[s].color);if(this.attribute("gradientTransform").hasValue()){var o=e.ViewPort.viewPorts[0],u=new e.Element.rect;u.attributes.x=new e.Property("x",-e.MAX_VIRTUAL_PIXELS/3),u.attributes.y=new e.Property("y",-e.MAX_VIRTUAL_PIXELS/3),u.attributes.width=new e.Property("width",e.MAX_VIRTUAL_PIXELS),u.attributes.height=new e.Property("height",e.MAX_VIRTUAL_PIXELS);var a=new e.Element.g;a.attributes.transform=new e.Property("transform",this.attribute("gradientTransform").value),a.children=[u];var f=new e.Element.svg;f.attributes.x=new e.Property("x",0),f.attributes.y=new e.Property("y",0),f.attributes.width=new e.Property("width",o.width),f.attributes.height=new e.Property("height",o.height),f.children=[a];var l=document.createElement("canvas");l.width=o.width,l.height=o.height;var c=l.getContext("2d");return c.fillStyle=i,f.render(c),c.createPattern(l,"no-repeat")}return i}},e.Element.GradientBase.prototype=new e.Element.ElementBase,e.Element.linearGradient=function(t){this.base=e.Element.GradientBase,this.base(t),this.getGradient=function(e,t){var n=t.getBoundingBox(),r=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("x1").numValue():this.attribute("x1").Length.toPixels("x"),i=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("y1").numValue():this.attribute("y1").Length.toPixels("y"),s=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("x2").numValue():this.attribute("x2").Length.toPixels("x"),o=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("y2").numValue():this.attribute("y2").Length.toPixels("y");return e.createLinearGradient(r,i,s,o)}},e.Element.linearGradient.prototype=new e.Element.GradientBase,e.Element.linearGradient=e.Element.linearGradient,e.Element.radialGradient=function(t){this.base=e.Element.GradientBase,this.base(t),this.getGradient=function(e,t){var n=t.getBoundingBox(),r=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("cx").numValue():this.attribute("cx").Length.toPixels("x"),i=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("cy").numValue():this.attribute("cy").Length.toPixels("y"),s=r,o=i;this.attribute("fx").hasValue()&&(s=this.gradientUnits=="objectBoundingBox"?n.x()+n.width()*this.attribute("fx").numValue():this.attribute("fx").Length.toPixels("x")),this.attribute("fy").hasValue()&&(o=this.gradientUnits=="objectBoundingBox"?n.y()+n.height()*this.attribute("fy").numValue():this.attribute("fy").Length.toPixels("y"));var u=this.gradientUnits=="objectBoundingBox"?(n.width()+n.height())/2*this.attribute("r").numValue():this.attribute("r").Length.toPixels();return e.createRadialGradient(s,o,0,r,i,u)}},e.Element.radialGradient.prototype=new e.Element.GradientBase,e.Element.radialGradient=e.Element.radialGradient,e.Element.stop=function(t){this.base=e.Element.ElementBase,this.base(t),this.offset=this.attribute("offset").numValue();var n=this.style("stop-color");this.style("stop-opacity").hasValue()&&(n=n.Color.addOpacity(this.style("stop-opacity").value)),this.color=n.value},e.Element.stop.prototype=new e.Element.ElementBase,e.Element.stop=e.Element.stop,e.Element.AnimateBase=function(t){this.base=e.Element.ElementBase,this.base(t),e.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").Time.toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").Time.toMilliseconds(),this.getProperty=function(){var e=this.attribute("attributeType").value,t=this.attribute("attributeName").value;return e=="CSS"?this.parent.style(t,!0):this.parent.attribute(t,!0)},this.initialValue=null,this.removed=!1,this.calcValue=function(){return""},this.update=function(e){this.initialValue==null&&(this.initialValue=this.getProperty().value);if(this.duration>this.maxDuration){if(this.attribute("repeatCount").value!="indefinite")return this.attribute("fill").valueOrDefault("remove")=="remove"&&!this.removed?(this.removed=!0,this.getProperty().value=this.initialValue,!0):!1;this.duration=0}this.duration=this.duration+e;var t=!1;if(this.begin<this.duration){var n=this.calcValue();if(this.attribute("type").hasValue()){var r=this.attribute("type").value;n=r+"("+n+")"}this.getProperty().value=n,t=!0}return t},this.progress=function(){return(this.duration-this.begin)/(this.maxDuration-this.begin)}},e.Element.AnimateBase.prototype=new e.Element.ElementBase,e.Element.animate=function(t){this.base=e.Element.AnimateBase,this.base(t),this.calcValue=function(){var e=this.attribute("from").numValue(),t=this.attribute("to").numValue();return e+(t-e)*this.progress()}},e.Element.animate.prototype=new e.Element.AnimateBase,e.Element.animate=e.Element.animate,e.Element.animateColor=function(t){this.base=e.Element.AnimateBase,this.base(t),this.calcValue=function(){var e=new RGBColor_(this.attribute("from").value),t=new RGBColor_(this.attribute("to").value);if(e.ok&&t.ok){var n=e.r+(t.r-e.r)*this.progress(),r=e.g+(t.g-e.g)*this.progress(),i=e.b+(t.b-e.b)*this.progress();return"rgb("+parseInt(n,10)+","+parseInt(r,10)+","+parseInt(i,10)+")"}return this.attribute("from").value}},e.Element.animateColor.prototype=new e.Element.AnimateBase,e.Element.animateColor=e.Element.animateColor,e.Element.animateTransform=function(t){this.base=e.Element.animate,this.base(t)},e.Element.animateTransform.prototype=new e.Element.animate,e.Element.animateTransform=e.Element.animateTransform,e.Element.font=function(t){this.base=e.Element.ElementBase,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.isRTL=!1,this.isArabic=!1,this.fontFace=null,this.missingGlyph=null,this.glyphs=[];for(var n=0;n<this.children.length;n++){var r=this.children[n];r.type=="font-face"?(this.fontFace=r,r.style("font-family").hasValue()&&(e.Definitions[r.style("font-family").value]=this)):r.type=="missing-glyph"?this.missingGlyph=r:r.type=="glyph"&&(r.arabicForm!=""?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[r.unicode]=="undefined"&&(this.glyphs[r.unicode]=[]),this.glyphs[r.unicode][r.arabicForm]=r):this.glyphs[r.unicode]=r)}},e.Element.font.prototype=new e.Element.ElementBase,e.Element.font=e.Element.font,e.Element.fontface=function(t){this.base=e.Element.ElementBase,this.base(t),this.ascent=this.attribute("ascent").value,this.descent=this.attribute("descent").value,this.unitsPerEm=this.attribute("units-per-em").numValue()},e.Element.fontface.prototype=new e.Element.ElementBase,e.Element.fontface=e.Element.fontface,e.Element.missingglyph=function(t){this.base=e.Element.path,this.base(t),this.horizAdvX=0},e.Element.missingglyph.prototype=new e.Element.path,e.Element.missingglyph=e.Element.missingglyph,e.Element.glyph=function(t){this.base=e.Element.path,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.unicode=this.attribute("unicode").value,this.arabicForm=this.attribute("arabic-form").value},e.Element.glyph.prototype=new e.Element.path,e.Element.glyph=e.Element.glyph,e.Element.text=function(t){this.base=e.Element.RenderedElementBase,this.base(t);if(t!=null){this.children=[];for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];r.nodeType==1?this.addChild(r,!0):r.nodeType==3&&this.addChild(new e.Element.tspan(r),!1)}}this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),this.style("dominant-baseline").hasValue()&&(e.textBaseline=this.style("dominant-baseline").value),this.style("alignment-baseline").hasValue()&&(e.textBaseline=this.style("alignment-baseline").value)},this.renderChildren=function(e){var t=this.style("text-anchor").valueOrDefault("start"),n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y");for(var i=0;i<this.children.length;i++){var s=this.children[i];s.attribute("x").hasValue()?s.x=s.attribute("x").Length.toPixels("x"):(s.attribute("dx").hasValue()&&(n+=s.attribute("dx").Length.toPixels("x")),s.x=n);var o=s.measureText(e);if(t!="start"&&(i==0||s.attribute("x").hasValue())){var u=o;for(var a=i+1;a<this.children.length;a++){var f=this.children[a];if(f.attribute("x").hasValue())break;u+=f.measureText(e)}s.x-=t=="end"?u:u/2}n=s.x+o,s.attribute("y").hasValue()?s.y=s.attribute("y").Length.toPixels("y"):(s.attribute("dy").hasValue()&&(r+=s.attribute("dy").Length.toPixels("y")),s.y=r),r=s.y,s.render(e)}}},e.Element.text.prototype=new e.Element.RenderedElementBase,e.Element.text=e.Element.text,e.Element.TextElementBase=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.getGlyph=function(e,t,n){var r=t[n],i=null;if(e.isArabic){var s="isolated";(n==0||t[n-1]==" ")&&n<t.length-2&&t[n+1]!=" "&&(s="terminal"),n>0&&t[n-1]!=" "&&n<t.length-2&&t[n+1]!=" "&&(s="medial"),n>0&&t[n-1]!=" "&&(n==t.length-1||t[n+1]==" ")&&(s="initial"),typeof e.glyphs[r]!="undefined"&&(i=e.glyphs[r][s],i==null&&e.glyphs[r].type=="glyph"&&(i=e.glyphs[r]))}else i=e.glyphs[r];return i==null&&(i=e.missingGlyph),i},this.renderChildren=function(t){var n=this.parent.style("font-family").Definition.getDefinition();if(n!=null){var r=this.parent.style("font-size").numValueOrDefault(e.Font.Parse(e.ctx.font).fontSize),i=this.parent.style("font-style").valueOrDefault(e.Font.Parse(e.ctx.font).fontStyle),s=this.getText();n.isRTL&&(s=s.split("").reverse().join(""));var o=e.ToNumberArray(this.parent.attribute("dx").value);for(var u=0;u<s.length;u++){var a=this.getGlyph(n,s,u),f=r/n.fontFace.unitsPerEm;t.translate(this.x,this.y),t.scale(f,-f);var l=t.lineWidth;t.lineWidth=t.lineWidth*n.fontFace.unitsPerEm/r,i=="italic"&&t.transform(1,0,.4,1,0,0),a.render(t),i=="italic"&&t.transform(1,0,-0.4,1,0,0),t.lineWidth=l,t.scale(1/f,-1/f),t.translate(-this.x,-this.y),this.x+=r*(a.horizAdvX||n.horizAdvX)/n.fontFace.unitsPerEm,typeof o[u]!="undefined"&&!isNaN(o[u])&&(this.x+=o[u])}return}t.strokeStyle!=""&&t.strokeText(e.compressSpaces(this.getText()),this.x,this.y),t.fillStyle!=""&&t.fillText(e.compressSpaces(this.getText()),this.x,this.y)},this.getText=function(){},this.measureText=function(t){var n=this.parent.style("font-family").Definition.getDefinition();if(n!=null){var r=this.parent.style("font-size").numValueOrDefault(e.Font.Parse(e.ctx.font).fontSize),i=0,s=this.getText();n.isRTL&&(s=s.split("").reverse().join(""));var o=e.ToNumberArray(this.parent.attribute("dx").value);for(var u=0;u<s.length;u++){var a=this.getGlyph(n,s,u);i+=(a.horizAdvX||n.horizAdvX)*r/n.fontFace.unitsPerEm,typeof o[u]!="undefined"&&!isNaN(o[u])&&(i+=o[u])}return i}var f=e.compressSpaces(this.getText());if(!t.measureText)return f.length*10;t.save(),this.setContext(t);var l=t.measureText(f).width;return t.restore(),l}},e.Element.TextElementBase.prototype=new e.Element.RenderedElementBase,e.Element.tspan=function(t){this.base=e.Element.TextElementBase,this.base(t),this.text=t.nodeType==3?t.value:t.childNodes.length>0?t.childNodes[0].value:t.text,this.getText=function(){return this.text}},e.Element.tspan.prototype=new e.Element.TextElementBase,e.Element.tspan=e.Element.tspan,e.Element.tref=function(t){this.base=e.Element.TextElementBase,this.base(t),this.getText=function(){var e=this.attribute("xlink:href").Definition.getDefinition();if(e!=null)return e.children[0].getText()}},e.Element.tref.prototype=new e.Element.TextElementBase,e.Element.tref=e.Element.tref,e.Element.a=function(t){this.base=e.Element.TextElementBase,this.base(t),this.hasText=!0;for(var n=0;n<t.childNodes.length;n++)t.childNodes[n].nodeType!=3&&(this.hasText=!1);this.text=this.hasText?t.childNodes[0].value:"",this.getText=function(){return this.text},this.baseRenderChildren=this.renderChildren,this.renderChildren=function(t){if(this.hasText){this.baseRenderChildren(t);var n=new e.Property("fontSize",e.Font.Parse(e.ctx.font).fontSize);e.Mouse.checkBoundingBox(this,new e.BoundingBox(this.x,this.y-n.Length.toPixels("y"),this.x+this.measureText(t),this.y))}else{var r=new e.Element.g;r.children=this.children,r.parent=this,r.render(t)}},this.onclick=function(){window.open(this.attribute("xlink:href").value)},this.onmousemove=function(){e.ctx.canvas.style.cursor="pointer"}},e.Element.a.prototype=new e.Element.TextElementBase,e.Element.a=e.Element.a,e.Element.image=function(t){this.base=e.Element.RenderedElementBase,this.base(t),e.Images.push(this),this.img=document.createElement("img"),this.loaded=!1;var n=this;this.img.onload=function(){n.loaded=!0},this.img.src=this.attribute("xlink:href").value,this.renderChildren=function(t){var n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y"),i=this.attribute("width").Length.toPixels("x"),s=this.attribute("height").Length.toPixels("y");if(i==0||s==0)return;t.save(),t.translate(n,r),e.AspectRatio(t,this.attribute("preserveAspectRatio").value,i,this.img.width,s,this.img.height,0,0),t.drawImage(this.img,0,0),t.restore()}},e.Element.image.prototype=new e.Element.RenderedElementBase,e.Element.image=e.Element.image,e.Element.g=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.getBoundingBox=function(){var t=new e.BoundingBox;for(var n=0;n<this.children.length;n++)t.addBoundingBox(this.children[n].getBoundingBox());return t}},e.Element.g.prototype=new e.Element.RenderedElementBase,e.Element.g=e.Element.g,e.Element.symbol=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t);if(this.attribute("viewBox").hasValue()){var n=e.ToNumberArray(this.attribute("viewBox").value),r=n[0],i=n[1],s=n[2],o=n[3];e.AspectRatio(t,this.attribute("preserveAspectRatio").value,this.attribute("width").Length.toPixels("x"),s,this.attribute("height").Length.toPixels("y"),o,r,i),e.ViewPort.SetCurrent(n[2],n[3])}}},e.Element.symbol.prototype=new e.Element.RenderedElementBase,e.Element.symbol=e.Element.symbol,e.Element.style=function(t){this.base=e.Element.ElementBase,this.base(t);var n="";for(var r=0;r<t.childNodes.length;r++)n+=t.childNodes[r].data;n=n.replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,""),n=e.compressSpaces(n);var i=n.split("}");for(var r=0;r<i.length;r++)if(e.trim(i[r])!=""){var s=i[r].split("{"),o=s[0].split(","),u=s[1].split(";");for(var a=0;a<o.length;a++){var f=e.trim(o[a]);if(f!=""){var l={};for(var c=0;c<u.length;c++){var h=u[c].indexOf(":"),p=u[c].substr(0,h),d=u[c].substr(h+1,u[c].length-h);p!=null&&d!=null&&(l[e.trim(p)]=new e.Property(e.trim(p),e.trim(d)))}e.Styles[f]=l;if(f=="@font-face"){var v=l["font-family"].value.replace(/"/g,""),m=l.src.value.split(",");for(var g=0;g<m.length;g++)if(m[g].indexOf('format("svg")')>0){var y=m[g].indexOf("url"),b=m[g].indexOf(")",y),w=m[g].substr(y+5,b-y-6),E=e.parseXml(e.ajax(w)),S=E.getElementsByTagName("font");for(var x=0;x<S.length;x++){var T=e.CreateElement(S[x]);e.Definitions[v]=T}}}}}}},e.Element.style.prototype=new e.Element.ElementBase,e.Element.style=e.Element.style,e.Element.use=function(t){this.base=e.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(e){this.baseSetContext(e),this.attribute("x").hasValue()&&e.translate(this.attribute("x").Length.toPixels("x"),0),this.attribute("y").hasValue()&&e.translate(0,this.attribute("y").Length.toPixels("y"))},this.getDefinition=function(){var e=this.attribute("xlink:href").Definition.getDefinition();return this.attribute("width").hasValue()&&(e.attribute("width",!0).value=this.attribute("width").value),this.attribute("height").hasValue()&&(e.attribute("height",!0).value=this.attribute("height").value),e},this.path=function(e){var t=this.getDefinition();t!=null&&t.path(e)},this.renderChildren=function(e){var t=this.getDefinition();t!=null&&t.render(e)}},e.Element.use.prototype=new e.Element.RenderedElementBase,e.Element.use=e.Element.use,e.Element.mask=function(t){this.base=e.Element.ElementBase,this.base(t),this.apply=function(e,t){var n=this.attribute("x").Length.toPixels("x"),r=this.attribute("y").Length.toPixels("y"),i=this.attribute("width").Length.toPixels("x"),s=this.attribute("height").Length.toPixels("y"),o=t.attribute("mask").value;t.attribute("mask").value="";var u=document.createElement("canvas");u.width=n+i,u.height=r+s;var a=u.getContext("2d");this.renderChildren(a);var f=document.createElement("canvas");f.width=n+i,f.height=r+s;var l=f.getContext("2d");t.render(l),l.globalCompositeOperation="destination-in",l.fillStyle=a.createPattern(u,"no-repeat"),l.fillRect(0,0,n+i,r+s),e.fillStyle=l.createPattern(f,"no-repeat"),e.fillRect(0,0,n+i,r+s),t.attribute("mask").value=o},this.render=function(e){}},e.Element.mask.prototype=new e.Element.ElementBase,e.Element.mask=e.Element.mask,e.Element.clipPath=function(t){this.base=e.Element.ElementBase,this.base(t),this.apply=function(e){for(var t=0;t<this.children.length;t++)this.children[t].path&&(this.children[t].path(e),e.clip())},this.render=function(e){}},e.Element.clipPath.prototype=new e.Element.ElementBase,e.Element.clipPath=e.Element.clipPath,e.Element.filter=function(t){this.base=e.Element.ElementBase,this.base(t),this.apply=function(e,t){var n=t.getBoundingBox(),r=this.attribute("x").Length.toPixels("x"),i=this.attribute("y").Length.toPixels("y");if(r==0||i==0)r=n.x1,i=n.y1;var s=this.attribute("width").Length.toPixels("x"),o=this.attribute("height").Length.toPixels("y");if(s==0||o==0)s=n.width(),o=n.height();var u=t.style("filter").value;t.style("filter").value="";var a=.2,f=a*s,l=a*o,c=document.createElement("canvas");c.width=s+2*f,c.height=o+2*l;var h=c.getContext("2d");h.translate(-r+f,-i+l),t.render(h);for(var p=0;p<this.children.length;p++)this.children[p].apply(h,0,0,s+2*f,o+2*l);e.drawImage(c,0,0,s+2*f,o+2*l,r-f,i-l,s+2*f,o+2*l),t.style("filter",!0).value=u},this.render=function(e){}},e.Element.filter.prototype=new e.Element.ElementBase,e.Element.filter=e.Element.filter,e.Element.feGaussianBlur=function(t){function n(e){e=Math.max(e,.01);var t=Math.ceil(e*4)+1,n=[];for(var r=0;r<t;r++)n[r]=Math.exp(-0.5*(r/e)*(r/e));return n}function r(e){var t=0;for(var n=1;n<e.length;n++)t+=Math.abs(e[n]);t=2*t+Math.abs(e[0]);for(var n=0;n<e.length;n++)e[n]/=t;return e}function i(e,t,n,r,i){for(var u=0;u<i;u++)for(var a=0;a<r;a++){var f=s(e,a,u,r,i,3)/255;for(var l=0;l<4;l++){var c=n[0]*(f==0?255:s(e,a,u,r,i,l))*(f==0||l==3?1:f);for(var h=1;h<n.length;h++){var p=s(e,Math.max(a-h,0),u,r,i,3)/255,d=s(e,Math.min(a+h,r-1),u,r,i,3)/255;c+=n[h]*((p==0?255:s(e,Math.max(a-h,0),u,r,i,l))*(p==0||l==3?1:p)+(d==0?255:s(e,Math.min(a+h,r-1),u,r,i,l))*(d==0||l==3?1:d))}o(t,u,a,i,r,l,c)}}}function s(e,t,n,r,i,s){return e[n*r*4+t*4+s]}function o(e,t,n,r,i,s,o){e[n*r*4+t*4+s]=o}function u(e,t,s,o){var u=e.getImageData(0,0,t,s),a=n(o);a=r(a);var f=[];i(u.data,f,a,t,s),i(f,u.data,a,s,t),e.clearRect(0,0,t,s),e.putImageData(u,0,0)}this.base=e.Element.ElementBase,this.base(t),this.apply=function(e,t,n,r,i){u(e,r,i,this.attribute("stdDeviation").numValue())}},e.Element.filter.prototype=new e.Element.feGaussianBlur,e.Element.title=function(e){},e.Element.title.prototype=new e.Element.ElementBase,e.Element.title=e.Element.title,e.Element.desc=function(e){},e.Element.desc.prototype=new e.Element.ElementBase,e.Element.desc=e.Element.desc,e.Element.MISSING=function(e){},e.Element.MISSING.prototype=new e.Element.ElementBase,e.CreateElement=function(t){var n=t.nodeName.replace(/^[^:]+:/,"");n=n.replace(/\-/g,"");var r=null;return typeof e.Element[n]!="undefined"?r=new e.Element[n](t):r=new e.Element.MISSING(t),r.type=t.nodeName,r},e.load=function(t,n){e.loadXml(t,e.ajax(n))},e.loadXml=function(t,n){e.loadXmlDoc(t,e.parseXml(n))},e.loadXmlDoc=function(t,n){e.init(t);var r=function(e){var n=t.canvas;while(n)e.x-=n.offsetLeft,e.y-=n.offsetTop,n=n.offsetParent;return window.scrollX&&(e.x+=window.scrollX),window.scrollY&&(e.y+=window.scrollY),e};e.opts["ignoreMouse"]!=1&&(t.canvas.onclick=function(t){var n=r(new e.Point(t!=null?t.clientX:window.event.clientX,t!=null?t.clientY:window.event.clientY));e.Mouse.onclick(n.x,n.y)},t.canvas.onmousemove=function(t){var n=r(new e.Point(t!=null?t.clientX:window.event.clientX,t!=null?t.clientY:window.event.clientY));e.Mouse.onmousemove(n.x,n.y)});var i=e.CreateElement(n.documentElement);i.root=!0;var s=!0,o=function(){e.ViewPort.Clear(),t.canvas.parentNode&&e.ViewPort.SetCurrent(t.canvas.parentNode.clientWidth,t.canvas.parentNode.clientHeight),e.opts["ignoreDimensions"]!=1&&(i.style("width").hasValue()&&(t.canvas.width=i.style("width").Length.toPixels("x"),t.canvas.style.width=t.canvas.width+"px"),i.style("height").hasValue()&&(t.canvas.height=i.style("height").Length.toPixels("y"),t.canvas.style.height=t.canvas.height+"px"));var n=t.canvas.clientWidth||t.canvas.width,r=t.canvas.clientHeight||t.canvas.height;e.ViewPort.SetCurrent(n,r),e.opts!=null&&e.opts["offsetX"]!=null&&(i.attribute("x",!0).value=e.opts.offsetX),e.opts!=null&&e.opts["offsetY"]!=null&&(i.attribute("y",!0).value=e.opts.offsetY);if(e.opts!=null&&e.opts["scaleWidth"]!=null&&e.opts["scaleHeight"]!=null){var o=1,u=1;i.attribute("width").hasValue()&&(o=i.attribute("width").Length.toPixels("x")/e.opts.scaleWidth),i.attribute("height").hasValue()&&(u=i.attribute("height").Length.toPixels("y")/e.opts.scaleHeight),i.attribute("width",!0).value=e.opts.scaleWidth,i.attribute("height",!0).value=e.opts.scaleHeight,i.attribute("viewBox",!0).value="0 0 "+n*o+" "+r*u,i.attribute("preserveAspectRatio",!0).value="none"}e.opts["ignoreClear"]!=1&&t.clearRect(0,0,n,r),i.render(t),s&&(s=!1,e.opts!=null&&typeof e.opts["renderCallback"]=="function"&&e.opts.renderCallback())},u=!0;e.ImagesLoaded()&&(u=!1,o()),e.intervalID=setInterval(function(){var t=!1;u&&e.ImagesLoaded()&&(u=!1,t=!0),e.opts["ignoreMouse"]!=1&&(t|=e.Mouse.hasEvents());if(e.opts["ignoreAnimation"]!=1)for(var n=0;n<e.Animations.length;n++)t|=e.Animations[n].update(1e3/e.FRAMERATE);e.opts!=null&&typeof e.opts["forceRedraw"]=="function"&&e.opts["forceRedraw"]()==1&&(t=!0),t&&(o(),e.Mouse.runEvents())},1e3/e.FRAMERATE)},e.stop=function(){e.intervalID&&clearInterval(e.intervalID)},e.Mouse=new function(){this.events=[],this.hasEvents=function(){return this.events.length!=0},this.onclick=function(e,t){this.events.push({type:"onclick",x:e,y:t,run:function(e){e.onclick&&e.onclick()}})},this.onmousemove=function(e,t){this.events.push({type:"onmousemove",x:e,y:t,run:function(e){e.onmousemove&&e.onmousemove()}})},this.eventElements=[],this.checkPath=function(e,t){for(var n=0;n<this.events.length;n++){var r=this.events[n];t.isPointInPath&&t.isPointInPath(r.x,r.y)&&(this.eventElements[n]=e)}},this.checkBoundingBox=function(e,t){for(var n=0;n<this.events.length;n++){var r=this.events[n];t.isPointInBox(r.x,r.y)&&(this.eventElements[n]=e)}},this.runEvents=function(){e.ctx.canvas.style.cursor="";for(var t=0;t<this.events.length;t++){var n=this.events[t],r=this.eventElements[t];while(r)n.run(r),r=r.parent}this.events=[],this.eventElements=[]}},e}var e=function(e,n,r){r=r||{},typeof e=="string"&&(e=document.getElementById(e));var i;e.svg==null?(i=t(),e.svg=i):(i=e.svg,i.stop()),i.opts=r;var s=e.getContext("2d");typeof n.documentElement!="undefined"?i.loadXmlDoc(s,n):n.substr(0,1)=="<"?i.loadXml(s,n):i.load(s,n)};return e}();
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ResizeObserver=e()}(this,function(){"use strict";function t(t){return window.getComputedStyle(t)}function e(t){return parseFloat(t)||0}function n(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce(function(n,r){var i=t["border-"+r+"-width"];return n+e(i)},0)}function r(t){for(var n=["top","right","bottom","left"],r={},i=n,o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var a;if(o){if(s>=i.length)break;a=i[s++]}else{if(s=i.next(),s.done)break;a=s.value}var u=a,c=t["padding-"+u];r[u]=e(c)}return r}function i(t,e,n,r){return{width:t,height:e,top:n,right:t+r,bottom:e+n,left:r}}function o(t){var e=t.getBBox();return i(e.width,e.height,0,0)}function s(){var n=t(document.documentElement),r=e(n.width),o=e(n.height);return i(r,o,0,0)}function a(o){var s=o.clientWidth,a=o.clientHeight;if(!s&&!a)return O;var u=t(o),c=r(u),h=c.left+c.right,f=c.top+c.bottom,l=e(u.width),p=e(u.height);"border-box"===u.boxSizing&&(Math.round(l+h)!==s&&(l-=n(u,"left","right")+h),Math.round(p+f)!==a&&(p-=n(u,"top","bottom")+f));var d=Math.round(l+h)-s,_=Math.round(p+f)-a;return 1!==Math.abs(d)&&(l-=d),1!==Math.abs(_)&&(p-=_),i(l,p,c.top,c.left)}function u(t){return t instanceof window.SVGElement}function c(t){return t===document.documentElement}function h(t){return u(t)?o(t):c(t)?s():a(t)}function f(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={configurable:n.configurable||!1,writable:n.writable||!1,enumerable:n.enumerable||!1},i=Object.keys(e),o=Array.isArray(i),s=0,i=o?i:i[Symbol.iterator]();;){var a;if(o){if(s>=i.length)break;a=i[s++]}else{if(s=i.next(),s.done)break;a=s.value}var u=a;r.value=e[u],Object.defineProperty(t,u,r)}return t}var l=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},_=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},b="function"==typeof window.WeakMap&&"function"==typeof window.Map,v=function(){function t(t,e){var n=-1;return t.some(function(t,r){var i=t[0]===e;return i&&(n=r),i}),n}return b?window.WeakMap:function(){function e(){l(this,e),this.__entries__=[]}return e.prototype.get=function(e){var n=t(this.__entries__,e);return this.__entries__[n][1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e}()}(),y=function(){return b?window.Map:function(t){function e(){return l(this,e),_(this,t.apply(this,arguments))}return d(e,t),e.prototype.clear=function(){this.__entries__.splice(0,this.__entries__.length)},e.prototype.entries=function(){return this.__entries__.slice()},e.prototype.keys=function(){return this.__entries__.map(function(t){return t[0]})},e.prototype.values=function(){return this.__entries__.map(function(t){return t[1]})},e.prototype.forEach=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.__entries__,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var s=o;t.call(e,s[1],s[0])}},p(e,[{key:"size",get:function(){return this.__entries__.length}}]),e}(v)}(),w=function(){return"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame:function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),g=function(t){function e(){t.apply.apply(t,s),s=null,a&&(r.apply.apply(r,a),a=null)}function n(){o?w(e):e()}function r(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=[this,e];s?a=o:(s=o,setTimeout(n,i))}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=null,a=null;return r},m="function"==typeof window.MutationObserver,E=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];l(this,t),this._isCycleContinuous=!m||e,this._listenersEnabled=!1,this._mutationsObserver=null,this._observers=[],this.refresh=g(this.refresh.bind(this),30,!0),this._continuousUpdateHandler=g(this.refresh,70)}return t.prototype.connect=function(t){this.isConnected(t)||this._observers.push(t),this._listenersEnabled||this._addListeners()},t.prototype.disconnect=function(t){var e=this._observers,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this._listenersEnabled&&this._removeListeners()},t.prototype.isConnected=function(t){return!!~this._observers.indexOf(t)},t.prototype.refresh=function(){var t=this._updateObservers();t?this.refresh():this._isCycleContinuous&&this._listenersEnabled&&this._continuousUpdateHandler()},t.prototype._updateObservers=function(){for(var t=!1,e=this._observers,n=Array.isArray(e),r=0,e=n?e:e[Symbol.iterator]();;){var i;if(n){if(r>=e.length)break;i=e[r++]}else{if(r=e.next(),r.done)break;i=r.value}var o=i;o.gatherActive(),o.hasActive()&&(t=!0,o.broadcastActive())}return t},t.prototype._addListeners=function(){this._listenersEnabled||(window.addEventListener("resize",this.refresh),m&&(this._mutationsObserver=new MutationObserver(this.refresh),this._mutationsObserver.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._listenersEnabled=!0,this._isCycleContinuous&&this.refresh())},t.prototype._removeListeners=function(){this._listenersEnabled&&(window.removeEventListener("resize",this.refresh),this._mutationsObserver&&this._mutationsObserver.disconnect(),this._mutationsObserver=null,this._listenersEnabled=!1)},p(t,[{key:"continuousUpdates",get:function(){return this._isCycleContinuous},set:function(t){m&&(this._isCycleContinuous=t,this._listenersEnabled&&t&&this.refresh())}}]),t}(),O=i(0,0,0,0),A=function(){function t(e){l(this,t),this.target=e,this._contentRect=O,this.broadcastWidth=0,this.broadcastHeight=0}return t.prototype.broadcastRect=function(){var t=this._contentRect;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t.prototype.isActive=function(){var t=h(this.target);return this._contentRect=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t}(),ResizeObserverEntry=function ResizeObserverEntry(t,e){l(this,ResizeObserverEntry);var n=window.ClientRect||Object,r=Object.create(n.prototype);f(r,e,{configurable:!0}),f(this,{target:t,contentRect:r},{configurable:!0})},k=function(){function ResizeObserver(t,e,n){if(l(this,ResizeObserver),"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this._callback=t,this._targets=new y,this._activeTargets=[],this._controller=e,this._publicObserver=n}return ResizeObserver.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this._targets;e.has(t)||(e.set(t,new A(t)),this._controller.isConnected(this)||this._controller.connect(this),this._controller.refresh())},ResizeObserver.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(t instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this._targets;e.has(t)&&(e.delete(t),e.size||this.disconnect())},ResizeObserver.prototype.disconnect=function(){this.clearActive(),this._targets.clear(),this._controller.disconnect(this)},ResizeObserver.prototype.gatherActive=function(){this.clearActive();var t=this._activeTargets;this._targets.forEach(function(e){e.isActive()&&t.push(e)})},ResizeObserver.prototype.broadcastActive=function(){if(this.hasActive()){var t=this._publicObserver,e=this._activeTargets.map(function(t){return new ResizeObserverEntry(t.target,t.broadcastRect())});this.clearActive(),this._callback.call(t,e,t)}},ResizeObserver.prototype.clearActive=function(){this._activeTargets.splice(0)},ResizeObserver.prototype.hasActive=function(){return!!this._activeTargets.length},ResizeObserver}(),T=new E,C=new v,ResizeObserver=function(){function ResizeObserver(t){if(l(this,ResizeObserver),!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=new k(t,T,this);C.set(this,e)}return p(ResizeObserver,null,[{key:"continuousUpdates",get:function(){return T.continuousUpdates},set:function(t){if("boolean"!=typeof t)throw new TypeError('type of "continuousUpdates" value must be boolean.');T.continuousUpdates=t}}]),ResizeObserver}();["observe","unobserve","disconnect"].forEach(function(t){ResizeObserver.prototype[t]=function(){var e;return(e=C.get(this))[t].apply(e,arguments)}}),"function"!=typeof window.ResizeObserver&&Object.defineProperty(window,"ResizeObserver",{value:ResizeObserver,writable:!0,configurable:!0});var x=window.ResizeObserver;return x});

